========== build_clang - FAILED 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: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[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: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 ../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/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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 ../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 make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 make[4]: *** Waiting for unfinished jobs.... 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/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 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[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: block] 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: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 ../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 ../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/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 ../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 ../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 ../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 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 ../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[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 make[3]: *** [../scripts/Makefile.build:485: security] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 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 ../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 ../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 make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 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 ../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/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 ../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.... make[3]: *** [../scripts/Makefile.build:485: fs] 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 ../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 ../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 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 make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 make[5]: *** Waiting for unfinished jobs.... 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 ../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 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 '_DECmake[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 LARE_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 ../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/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 ../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 ../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/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 ../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/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 ../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 ../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/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 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 mamake[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 cro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/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/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/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 ../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 ../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 ../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 ../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 ../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 ../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 ../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/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/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/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 ../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 ../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/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 ../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 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 make[4]: *** [../scripts/Makefile.build:485: drivers/block] 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 make[3]: *** [../scripts/Makefile.build:485: kernel] 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 ../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 ../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/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/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 ../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 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:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/firewire] 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 ../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[3]: *** [../scripts/Makefile.build:485: mm] Error 2 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 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 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/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 make[8]: *** Waiting for unfinished jobs.... 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/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/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/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/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/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/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/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/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 make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] 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: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 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[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/virtio] 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 ../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/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 ../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/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/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/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 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[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/scheduler] Error 2 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/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 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 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 ../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 ../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 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 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.... 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/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/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:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../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/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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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)(); \ | ^ 18 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] 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: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 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/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 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/intel/e1000e] Error 2 make[7]: *** Waiting for unfinished jobs.... 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/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/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 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/i40e] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] 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 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/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/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 make[7]: *** Waiting for unfinished jobs.... 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 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_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/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_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/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/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/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/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/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/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/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/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/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 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/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/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 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/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/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/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 ../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[4]: *** 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 ../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 ../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: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/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 ../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/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 ../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 make[4]: *** Waiting for unfinished jobs.... 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 ../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/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/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 ../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 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: drivers/dma] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/core] 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 ../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 ../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: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 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 ../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 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/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 ../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 ../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 ../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 ../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 ../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 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 make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 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 ../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 ../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/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 ../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 ../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 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.... make[3]: *** [../scripts/Makefile.build:485: fs] 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 ../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 ../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/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/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 ../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 ../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 ../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/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 ../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 ../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/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/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 ../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 ../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/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 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[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: net/ipv6] 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: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/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 ../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 ../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/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 ../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 ../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 ../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 ../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/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 ../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 ../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 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 ../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 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 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[3]: *** [../scripts/Makefile.build:485: mm] Error 2 In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-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 | DECLARE_EVENT_CLASS(xhci_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/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-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 | DECLARE_EVENT_CLASS(xhci_log_ctx, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.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 | DECLARE_EVENT_CLASS(xhci_log_trb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:110:1: error: 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/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/host/xhci-trace.c:12: In file included from ../drivers/usb/host/xhci-trace.h:626: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/host/xhci-trace.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 | DECLARE_EVENT_CLASS(xhci_log_free_virt_dev, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/host/xhci-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/host] Error 2 make[5]: *** Waiting for unfinished jobs.... 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[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 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/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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(dwc3_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/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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 ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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 ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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 ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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 ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.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 ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_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/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_log_ctrl, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/dwc3/trace.c:11: In file included from ../drivers/usb/dwc3/trace.h:348: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_log_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); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/usb/dwc3/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/dwc3] 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 ../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/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 make[4]: *** [../scripts/Makefile.build:485: drivers/block] 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:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/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/firewire/ohci.c:51: In file included from ../include/trace/events/firewire_ohci.h:101: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/firewire/ohci.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/firewire] Error 2 In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 | TRACE_EVENT(cdns3_halt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-trace.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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-trace.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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-trace.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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-trace.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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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(cdns3_wa1, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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(cdns3_wa2, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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/usb/cdns3/cdns3-trace.c:11: In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdns3-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 | DECLARE_EVENT_CLASS(cdns3_log_doorbell, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/cdns3/cdns3-trace.o] Error 1 make[6]: *** 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[8]: *** 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[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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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(mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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(mtu3_u3_ltssm_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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(mtu3_u2_common_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/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_trace.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 ../drivers/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_trace.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 ../drivers/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_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:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_trace.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 ../drivers/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_trace.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 ../drivers/usb/mtu3/mtu3_trace.c:12: In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/mtu3/mtu3_trace.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(mtu3_qmu_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); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/usb/mtu3/mtu3_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/mtu3] Error 2 In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/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 | DECLARE_EVENT_CLASS(udc_log_gadget, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | DECLARE_EVENT_CLASS(udc_log_ep, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: 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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | DECLARE_EVENT_CLASS(udc_log_req, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: 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/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/trace.c:10: In file included from ../drivers/usb/gadget/udc/trace.h:294: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/gadget/udc/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 | DECLARE_EVENT_CLASS(udc_log_gadget, | ^ ../include/trace/perf.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/usb/gadget/udc/trace.o] Error 1 make[7]: *** 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: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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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(ci_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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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 | DECLARE_EVENT_CLASS(ci_log_trb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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(ci_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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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/perf.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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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/perf.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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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/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/usb/chipidea/trace.c:11: In file included from ../drivers/usb/chipidea/trace.h:92: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/chipidea/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 | DECLARE_EVENT_CLASS(ci_log_trb, | ^ ../include/trace/perf.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/usb/chipidea/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/chipidea] Error 2 In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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(ucsi_log_command, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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(ucsi_log_connector_status, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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 | DECLARE_EVENT_CLASS(ucsi_log_register_altmode, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/ucsi/trace.c:4: In file included from ../drivers/usb/typec/ucsi/trace.h:120: In file included from ../include/trace/define_trace.h:109: In file included from ../include/trace/perf.h:93: ../drivers/usb/typec/ucsi/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(ucsi_log_command, | ^ ../include/trace/perf.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/usb/typec/ucsi/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/usb/typec/ucsi] 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/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 233 | TRACE_EVENT(tps6598x_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/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.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 | TRACE_EVENT(cd321x_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/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.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:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | TRACE_EVENT(tps25750_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/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/typec/tipd/trace.c:9: In file included from ../drivers/usb/typec/tipd/trace.h:398: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/typec/tipd/trace.h:284:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 284 | TRACE_EVENT(tps6598x_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); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/usb/typec/tipd/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/usb/typec/tipd] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/typec] Error 2 In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-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 | DECLARE_EVENT_CLASS(cdnsp_log_ep, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.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 ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.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 ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.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 ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.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 ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-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 | DECLARE_EVENT_CLASS(cdnsp_log_enable_disable, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | DECLARE_EVENT_CLASS(cdnsp_log_simple, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: 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/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/cdns3/cdnsp-trace.h:191:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | TRACE_EVENT(cdnsp_looking_trb_in_td, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/cdns3/cdnsp-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/cdns3] 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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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(musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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(musb_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/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 | DECLARE_EVENT_CLASS(musb_regb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/musb/musb_trace.c:11: In file included from ../drivers/usb/musb/musb_trace.h:389: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/musb/musb_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 | DECLARE_EVENT_CLASS(musb_regw, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/musb/musb_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/musb] 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 make[8]: *** Waiting for unfinished jobs.... 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/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/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/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/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/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 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] 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/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/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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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 | DECLARE_EVENT_CLASS(cdns2_log_enable_disable, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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 | DECLARE_EVENT_CLASS(cdns2_log_simple, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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(cdns2_ep_halt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/usb/gadget/udc/cdns2/cdns2-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 | TRACE_EVENT(cdns2_wa1, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/gadget/udc/cdns2/cdns2-trace.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/usb/gadget/udc/cdns2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/usb/gadget/udc] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/usb/gadget] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/usb] 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/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/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 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/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[7]: *** 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: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/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 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 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlxsw] Error 2 make[7]: *** Waiting for unfinished jobs.... 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/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:109: In file included from ../include/trace/perf.h:93: ../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/perf.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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../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/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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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:109: In file included from ../include/trace/perf.h:93: ../drivers/gpu/drm/lima/lima_trace.h:13: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/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)(); \ | ^ 18 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] 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/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/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 ../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[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 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 ../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/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/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 make[8]: *** Waiting for unfinished jobs.... 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/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/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/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/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/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/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 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/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 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/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 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/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/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 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/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 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 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]: *** [../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/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/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/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.KNn42SUv62 2024-08-28 09:27:00.867330590 -0700 +++ /tmp/tmp.DjQ4UMnQf8 2024-08-28 09:27:20.063743489 -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,2 +76,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: @@ -98,2 +80,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, @@ -101,3 +82,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -110,2 +89,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: @@ -114,4 +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, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -124,2 +100,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: @@ -128,4 +104 @@ -../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' @@ -138,2 +111,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: @@ -142,4 +115 @@ -../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] @@ -152,2 +122,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: @@ -156,4 +126 @@ -../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' @@ -166,2 +133,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: @@ -170,4 +137 @@ -../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' @@ -180,2 +144,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: @@ -184,2 +148,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, @@ -187,3 +150,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -196,2 +157,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: @@ -200,4 +161 @@ -../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' @@ -210,2 +168,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: @@ -214,4 +172 @@ -../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, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -224,2 +179,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: @@ -228,4 +183 @@ -../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] @@ -238,2 +190,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: @@ -242,4 +194 @@ -../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' @@ -252,2 +201,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: @@ -256,4 +205 @@ -../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, \ - | ^ +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -267,5 +213,5 @@ -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: +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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -274,2 +220,2 @@ -../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, +../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, @@ -276,0 +223,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -283,2 +232,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -287 +236,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -294,2 +246,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -298 +250,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -305,2 +260,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -309 +264,4 @@ -../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] +../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, \ + | ^ @@ -316,2 +274,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -320 +278,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -327,2 +288,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -331 +292,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -338,2 +302,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -342,2 +306,2 @@ -../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, +../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, @@ -344,0 +309,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -351,2 +318,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -355 +322,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -362,2 +332,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -366 +336,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -373,2 +346,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -377 +350,4 @@ -../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] +../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, \ + | ^ @@ -384,2 +360,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -388 +364,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -395,2 +374,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -399 +378,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -406,2 +388,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -410,2 +392,2 @@ -../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, +../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, @@ -412,0 +395,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -419,2 +404,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -423 +408,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -430,2 +418,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -434 +422,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -441,2 +432,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -445 +436,4 @@ -../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] +../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, \ + | ^ @@ -452,2 +446,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -456 +450,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -463,2 +460,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -467 +464,4 @@ -../arch/x86/include/asm/msr-trace.h:21: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, \ + | ^ @@ -475,3 +475,3 @@ -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.... +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.... @@ -741,2 +741,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -745,2 +745,2 @@ -../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, +../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, @@ -757,2 +757,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -761 +761 @@ -../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -771,2 +771,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -775 +775 @@ -../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -785,2 +785,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -789 +789 @@ -../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] +../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] @@ -799,2 +799,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -803 +803 @@ -../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -813,2 +813,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 ../sound/firewire/amdtp-stream.c:27: +In file included from ../sound/firewire/amdtp-stream-trace.h:81: @@ -817 +817 @@ -../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -827,6 +827,6 @@ -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, +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, @@ -837,2 +837,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), \ @@ -840,2 +840,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); \ @@ -843,5 +843,5 @@ -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' +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' @@ -851,2 +851,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), \ @@ -854,2 +854,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); \ @@ -857,5 +857,5 @@ -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' +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' @@ -865,2 +865,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), \ @@ -868,2 +868,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); \ @@ -871,5 +871,5 @@ -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] +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] @@ -879,2 +879,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), \ @@ -882,2 +882,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)(); \ @@ -885,5 +885,5 @@ -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' +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' @@ -893,2 +893,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), \ @@ -896,2 +896,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)(); \ @@ -899,5 +899,5 @@ -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' +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' @@ -907,2 +907,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), \ @@ -910,2 +910,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)(); \ @@ -913,6 +913,6 @@ -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, +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, @@ -923,2 +923,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) @@ -926,2 +926,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); \ @@ -929,5 +929,5 @@ -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' +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' @@ -937,2 +937,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) @@ -940,2 +940,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); \ @@ -943,5 +943,5 @@ -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' +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' @@ -951,2 +951,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) @@ -954,2 +954,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); \ @@ -957,5 +957,5 @@ -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] +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] @@ -965,2 +965,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) @@ -968,2 +968,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)(); \ @@ -971,5 +971,5 @@ -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' +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' @@ -979,2 +979,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) @@ -982,2 +982,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)(); \ @@ -985,5 +985,5 @@ -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' +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' @@ -993,2 +993,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) @@ -996,2 +996,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)(); \ @@ -999,20 +999,3 @@ -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 +18 errors generated. +make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -1331,263 +1314,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 ../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 ../sound/core/pcm_lib.c:25: -In file included from ../sound/core/pcm_trace.h:149: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1596,2 +1318,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, +../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, @@ -1608,2 +1330,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1612 +1334 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -1622,2 +1344,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1626 +1348 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -1636,2 +1358,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1640 +1362 @@ -../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] +../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] @@ -1650,2 +1372,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1654 +1376 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -1664,2 +1386,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1668 +1390 @@ -../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -1678,2 +1400,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1682,2 +1404,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, +../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, @@ -1694,2 +1416,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1698 +1420 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' @@ -1708,2 +1430,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1712 +1434 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' @@ -1722,2 +1444,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1726 +1448 @@ -../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] +../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] @@ -1736,2 +1458,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1740 +1462 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' @@ -1750,2 +1472,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1754 +1476 @@ -../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' @@ -1764,2 +1486,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1768,2 +1490,2 @@ -../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, +../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, @@ -1780,2 +1502,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1784 +1506 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -1794,2 +1516,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1798 +1520 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' @@ -1808,2 +1530,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1812 +1534 @@ -../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] +../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] @@ -1822,2 +1544,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1826 +1548 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -1836,2 +1558,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1840 +1562 @@ -../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' @@ -1850,2 +1572,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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1854,2 +1576,2 @@ -../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, +../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, @@ -1868,2 +1590,2 @@ -make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:244: arch/x86/hyperv/mmu.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/hyperv] Error 2 @@ -2078,2 +1800,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 ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: @@ -2082,2 +1804,209 @@ -../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, +../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/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, @@ -2094,2 +2023,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: @@ -2098 +2027 @@ -../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' @@ -2108,2 +2037,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: @@ -2112 +2041 @@ -../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' @@ -2122,2 +2051,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: @@ -2126 +2055 @@ -../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] @@ -2136,2 +2065,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: @@ -2140 +2069 @@ -../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' @@ -2150,2 +2079,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: @@ -2154 +2083 @@ -../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' @@ -2164,2 +2093,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: @@ -2168,2 +2097,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, @@ -2180,2 +2109,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: @@ -2184 +2113 @@ -../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' @@ -2194,2 +2123,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: @@ -2198 +2127 @@ -../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' @@ -2208,2 +2137,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: @@ -2212 +2141 @@ -../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] @@ -2222,2 +2151,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: @@ -2226 +2155 @@ -../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' @@ -2236,2 +2165,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: @@ -2240 +2169 @@ -../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' @@ -2250,6 +2179,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: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, +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, @@ -2260,2 +2189,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2263,2 +2192,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -2266,5 +2195,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: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' +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' @@ -2274,2 +2203,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2277,2 +2206,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -2280,5 +2209,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: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' +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' @@ -2288,2 +2217,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2291,2 +2220,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -2294,5 +2223,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: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] +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] @@ -2302,2 +2231,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2305,2 +2234,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -2308,5 +2237,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: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' +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' @@ -2316,2 +2245,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2319,2 +2248,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -2322,5 +2251,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: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' +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' @@ -2330,2 +2259,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2333,2 +2262,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -2336,6 +2265,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: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, +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, @@ -2346,2 +2275,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -2349,2 +2278,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -2354,3 +2283,2 @@ -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.... +make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -2619,207 +2546,0 @@ -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 @@ -3103,2 +2824,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3107,2 +2828,2 @@ -../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, +../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, @@ -3109,0 +2831,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3116,2 +2840,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3120 +2844,4 @@ -../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -3127,2 +2854,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3131 +2858,4 @@ -../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -3138,2 +2868,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3142 +2872,4 @@ -../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] +../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, \ + | ^ @@ -3149,2 +2882,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3153 +2886,4 @@ -../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -3160,2 +2896,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3164 +2900,4 @@ -../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -3171,2 +2910,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3175,2 +2914,2 @@ -../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, +../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, @@ -3187,2 +2926,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3191 +2930 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -3201,2 +2940,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3205 +2944 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -3215,2 +2954,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3219 +2958 @@ -../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] +../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] @@ -3229,2 +2968,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3233 +2972 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -3243,2 +2982,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3247 +2986 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -3257,2 +2996,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3261,2 +3000,2 @@ -../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, +../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, @@ -3273,2 +3012,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3277 +3016 @@ -../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3287,2 +3026,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3291 +3030 @@ -../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3301,2 +3040,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3305 +3044 @@ -../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] +../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] @@ -3315,2 +3054,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3319 +3058 @@ -../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3329,2 +3068,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3333 +3072 @@ -../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3343,2 +3082,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 ../sound/hda/trace.c:6: +In file included from ../sound/hda/trace.h:101: @@ -3347,2 +3086,20 @@ -../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, +../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 +make[4]: *** Waiting for unfinished jobs.... +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, @@ -3359,6 +3116,2 @@ -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 ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3367,2 +3120,72 @@ -../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, +../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, @@ -3379,2 +3202,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3383 +3206 @@ -../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -3393,2 +3216,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3397 +3220 @@ -../sound/hda/trace.h:19: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' @@ -3407,2 +3230,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3411 +3234 @@ -../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] +../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] @@ -3421,2 +3244,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3425 +3248 @@ -../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -3435,2 +3258,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -3439 +3262 @@ -../sound/hda/trace.h:19: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' @@ -3449,2 +3272,109 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3453,2 +3383,70 @@ -../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/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, @@ -3465,2 +3463,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3469 +3467 @@ -../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -3479,2 +3477,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3483 +3481 @@ -../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' @@ -3493,2 +3491,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3497 +3495 @@ -../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/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] @@ -3507,2 +3505,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3511 +3509 @@ -../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -3521,2 +3519,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3525 +3523 @@ -../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' @@ -3535,2 +3533,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3539,2 +3537,2 @@ -../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/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, @@ -3551,2 +3549,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3555 +3553 @@ -../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -3565,2 +3563,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3569 +3567 @@ -../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -3579,2 +3577,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3583 +3581 @@ -../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/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] @@ -3593,2 +3591,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3597 +3595 @@ -../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -3607,2 +3605,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3611 +3609 @@ -../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -3621,2 +3619,2 @@ -In file included from ../sound/hda/trace.c:6: -In file included from ../sound/hda/trace.h:101: +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -3625,2 +3623,2 @@ -../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/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, @@ -3627,0 +3626,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3636,2 +3637,2 @@ -make[5]: *** [../scripts/Makefile.build:244: sound/hda/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: sound/hda] Error 2 +make[5]: *** [../scripts/Makefile.build:244: arch/x86/xen/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/xen] Error 2 @@ -3898,2 +3899,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3902,2 +3903,2 @@ -../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/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, @@ -3905,3 +3905,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -3914,2 +3912,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3918,4 +3916 @@ -../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/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -3928,2 +3923,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3932,4 +3927 @@ -../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/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -3942,2 +3934,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3946,4 +3938 @@ -../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/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] @@ -3956,2 +3945,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3960,4 +3949 @@ -../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/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -3970,2 +3956,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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -3974,4 +3960 @@ -../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/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -3984,92 +3967,6 @@ -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, +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, @@ -4077,8 +3974,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), \ @@ -4086,7 +3977,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: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/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -4094,2 +3980,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/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), \ @@ -4097,2 +3988,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); \ @@ -4100,10 +3991,7 @@ -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) +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), \ @@ -4111,2 +3999,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); \ @@ -4114,10 +4002,7 @@ -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) +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), \ @@ -4125,2 +4010,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)(); \ @@ -4128,10 +4013,7 @@ -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) +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), \ @@ -4139,2 +4021,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)(); \ @@ -4142,10 +4024,7 @@ -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) +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), \ @@ -4153,2 +4032,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)(); \ @@ -4156,6 +4035,2 @@ -18 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 ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4164,2 +4039,2 @@ -../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/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, @@ -4176,2 +4051,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4180 +4055 @@ -../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -4190,2 +4065,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4194 +4069 @@ -../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -4204,2 +4079,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4208 +4083 @@ -../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/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] @@ -4218,2 +4093,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4222 +4097 @@ -../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -4232,2 +4107,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4236 +4111 @@ -../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -4246,2 +4121,2 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -4250,2 +4125,2 @@ -../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/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, @@ -4262,2 +4137,7 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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 ../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: @@ -4266,3 +4146,8 @@ -../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, \ +../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); \ @@ -4269,0 +4155,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: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' @@ -4276,2 +4167,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4280,4 +4172 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -4290,2 +4179,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4294,4 +4184 @@ -../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, \ - | ^ +../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] @@ -4304,2 +4191,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4308,4 +4196 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -4318,2 +4203,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4322,4 +4208 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -4332,2 +4215,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4336,2 +4220,2 @@ -../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, +../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, @@ -4339,3 +4222,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -4348,2 +4229,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4352,4 +4234 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -4362,2 +4241,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4366,4 +4246 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -4376,2 +4253,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4380,4 +4258 @@ -../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, \ - | ^ +../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] @@ -4390,2 +4265,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4394,4 +4270 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -4404,2 +4277,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4408,4 +4282 @@ -../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, \ - | ^ +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -4418,2 +4289,3 @@ -In file included from ../init/main.c:113: -In file included from ../include/trace/events/initcall.h:74: +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: @@ -4422,2 +4294,2 @@ -../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, +../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, @@ -4425,2 +4297,62 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/perf.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), \ @@ -4427,0 +4360,11 @@ +../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, + | ^ @@ -4436,4 +4379,3 @@ -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/iommu/intel/trace.c:14: -In file included from ../drivers/iommu/intel/trace.h:196: +make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4442,2 +4384,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, +../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, @@ -4454,2 +4396,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4458 +4400 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -4468,2 +4410,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4472 +4414 @@ -../drivers/iommu/intel/trace.h:21: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' @@ -4482,2 +4424,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4486 +4428 @@ -../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] +../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] @@ -4496,2 +4438,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4500 +4442 @@ -../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -4510,2 +4452,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4514 +4456 @@ -../drivers/iommu/intel/trace.h:21: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' @@ -4524,2 +4466,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4528,2 +4470,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, +../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, @@ -4540,2 +4482,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4544 +4486 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' @@ -4554,2 +4496,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4558 +4500 @@ -../drivers/iommu/intel/trace.h:58: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' @@ -4568,2 +4510,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4572 +4514 @@ -../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] +../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] @@ -4582,2 +4524,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4586 +4528 @@ -../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' @@ -4596,2 +4538,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -4600 +4542 @@ -../drivers/iommu/intel/trace.h:58: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' @@ -4610,6 +4552,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 ../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, @@ -4617,2 +4559,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, \ @@ -4620,2 +4562,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), \ @@ -4623,7 +4565,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); \ @@ -4631,2 +4568,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 ../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); \ @@ -4634,7 +4582,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 ../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, \ @@ -4642,2 +4590,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); \ @@ -4645,7 +4596,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 ../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, \ @@ -4653,2 +4604,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)(); \ @@ -4656,7 +4610,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 ../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, \ @@ -4664,2 +4618,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)(); \ @@ -4667,7 +4624,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 ../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, \ @@ -4675,2 +4632,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)(); \ @@ -4678,6 +4638,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 ../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, @@ -4685,2 +4645,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, \ @@ -4688,2 +4648,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); \ @@ -4693,3 +4656,5 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/iommu/intel/trace.o] Error 1 -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 +make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 +In file included from ../drivers/clk/clk.c:100: +In file included from ../include/trace/events/clk.h:313: @@ -4698,2 +4663,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, @@ -4707,2 +4672,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: @@ -4711 +4676 @@ -../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' @@ -4718,2 +4683,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: @@ -4722 +4687 @@ -../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' @@ -4729,2 +4694,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: @@ -4733 +4698 @@ -../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] @@ -4740,2 +4705,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: @@ -4744 +4709 @@ -../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' @@ -4751,2 +4716,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: @@ -4755 +4720 @@ -../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' @@ -4762,2 +4727,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: @@ -4766,2 +4731,2 @@ -../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, @@ -4769,3 +4733,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -4778,2 +4740,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: @@ -4782,4 +4744 @@ -../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/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' @@ -4792,2 +4751,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: @@ -4796,4 +4755 @@ -../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/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' @@ -4806,2 +4762,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: @@ -4810,4 +4766 @@ -../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/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] @@ -4820,2 +4773,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: @@ -4824,4 +4777 @@ -../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/events/clk.h:88:1: error: use of undeclared identifier 'preempt_notrace' @@ -4834,2 +4784,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: @@ -4838,4 +4788 @@ -../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/events/clk.h:88:1: error: use of undeclared identifier 'trace_event_guard' @@ -4848,2 +4795,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: @@ -4852,2 +4799,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, +../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, @@ -4861,2 +4808,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: @@ -4865 +4812 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' @@ -4872,2 +4819,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: @@ -4876 +4823 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' @@ -4883,2 +4830,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: @@ -4887 +4834 @@ -../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/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] @@ -4894,2 +4841,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: @@ -4898 +4845 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' @@ -4905,2 +4852,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: @@ -4909 +4856 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' @@ -4916,2 +4863,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: @@ -4920,2 +4867,2 @@ -../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/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, @@ -4931,6 +4878,4 @@ -make[4]: *** [../scripts/Makefile.build:244: block/blk-core.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: block] Error 2 -In file included from ../drivers/soc/qcom/qcom_aoss.c:18: -In file included from ../drivers/soc/qcom/trace-aoss.h:48: +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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -4939,2 +4884,2 @@ -../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/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, @@ -4951,2 +4896,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -4955 +4900 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -4965,2 +4910,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -4969 +4914 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -4979,2 +4924,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -4983 +4928 @@ -../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/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] @@ -4993,2 +4938,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -4997 +4942 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -5007,2 +4952,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5011 +4956 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -5021,2 +4966,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5025,2 +4970,2 @@ -../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/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, @@ -5037,2 +4982,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5041 +4986 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -5051,2 +4996,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5055 +5000 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -5065,2 +5010,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5069 +5014 @@ -../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/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] @@ -5079,2 +5024,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5083 +5028 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -5093,2 +5038,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5097 +5042 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -5107,6 +5052,6 @@ -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, +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, @@ -5117,2 +5062,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5120,2 +5065,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5123,5 +5068,5 @@ -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' +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' @@ -5131,2 +5076,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5134,2 +5079,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5137,5 +5082,5 @@ -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' +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' @@ -5145,2 +5090,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5148,2 +5093,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -5151,5 +5096,5 @@ -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] +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] @@ -5159,2 +5104,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5162,2 +5107,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5165,5 +5110,5 @@ -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' +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' @@ -5173,2 +5118,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5176,2 +5121,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5179,5 +5124,5 @@ -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' +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' @@ -5187,2 +5132,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -5190,2 +5135,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -5193,2 +5138,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 ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: @@ -5197,2 +5142,2 @@ -../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/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, @@ -5211,4 +5156,4 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 -make[6]: *** Waiting for unfinished jobs.... -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +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: @@ -5217,2 +5162,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/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, @@ -5226,2 +5171,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5230 +5175 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -5237,2 +5182,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5241 +5186 @@ -../include/trace/events/clk.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' @@ -5248,2 +5193,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5252 +5197 @@ -../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/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5259,2 +5204,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5263 +5208 @@ -../include/trace/events/clk.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -5270,2 +5215,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5274 +5219 @@ -../include/trace/events/clk.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' @@ -5281,2 +5226,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5285,2 +5230,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/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, @@ -5287,0 +5233,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5294,2 +5242,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5298 +5246,4 @@ -../include/trace/events/clk.h:88: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, \ + | ^ @@ -5305,2 +5256,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5309 +5260,4 @@ -../include/trace/events/clk.h:88: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, \ + | ^ @@ -5316,2 +5270,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5320 +5274,4 @@ -../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/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, \ + | ^ @@ -5327,2 +5284,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5331 +5288,4 @@ -../include/trace/events/clk.h:88: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, \ + | ^ @@ -5338,2 +5298,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5342 +5302,4 @@ -../include/trace/events/clk.h:88: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, \ + | ^ @@ -5349,2 +5312,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5353,2 +5316,2 @@ -../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/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, @@ -5362,2 +5325,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5366 +5329 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -5373,2 +5336,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5377 +5340 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -5384,2 +5347,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5388 +5351 @@ -../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/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5395,2 +5358,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5399 +5362 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -5406,2 +5369,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5410 +5373 @@ -../include/trace/events/clk.h:135:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -5417,2 +5380,2 @@ -In file included from ../drivers/clk/clk.c:100: -In file included from ../include/trace/events/clk.h:313: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -5421,2 +5384,2 @@ -../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/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, @@ -5432,5 +5395,4 @@ -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 ../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: 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: @@ -5439,2 +5401,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/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, @@ -5442,62 +5404,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/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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -5505,11 +5406,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/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, - | ^ @@ -5522,3 +5413,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5527 +5417,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -5534,3 +5427,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5539 +5431,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -5546,3 +5441,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5551 +5445,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/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, \ + | ^ @@ -5558,3 +5455,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5563 +5459,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -5570,3 +5469,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5575 +5473,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -5582,3 +5483,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5587,2 +5487,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/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, @@ -5589,0 +5490,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5596,3 +5499,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5601 +5503,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -5608,3 +5513,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5613 +5517,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -5620,3 +5527,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5625 +5531,4 @@ -../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/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, \ + | ^ @@ -5632,3 +5541,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5637 +5545,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -5644,3 +5555,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -5649 +5559,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -5656,7 +5569,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: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, +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, @@ -5664,2 +5576,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _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, \ @@ -5667,2 +5579,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_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) @@ -5670,4 +5582,77 @@ -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.... +../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 +make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -5881,2 +5866,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5885,2 +5870,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, +../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, @@ -5897,2 +5882,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5901 +5886 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -5911,2 +5896,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5915 +5900 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -5925,2 +5910,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5929 +5914 @@ -../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] +../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] @@ -5939,2 +5924,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5943 +5928 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -5953,2 +5938,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5957 +5942 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -5967,2 +5952,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5971,2 +5956,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, +../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, @@ -5983,2 +5968,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -5987 +5972 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -5997,2 +5982,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6001 +5986 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -6011,2 +5996,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6015 +6000 @@ -../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] +../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] @@ -6025,2 +6010,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6029 +6014 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -6039,2 +6024,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6043 +6028 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -6053,2 +6038,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6057,2 +6042,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, +../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, @@ -6066,2 +6051,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6070 +6055 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' @@ -6077,2 +6062,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6081 +6066 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' @@ -6088,2 +6073,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6092 +6077 @@ -../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] +../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] @@ -6099,2 +6084,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6103 +6088 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'preempt_notrace' @@ -6110,2 +6095,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6114 +6099 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/iommu/intel/trace.h:93:1: error: use of undeclared identifier 'trace_event_guard' @@ -6121,2 +6106,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../drivers/iommu/intel/trace.c:14: +In file included from ../drivers/iommu/intel/trace.h:196: @@ -6125,2 +6110,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, +../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, @@ -6136,140 +6121,5 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.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: +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 +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6278,2 +6128,2 @@ -../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, +../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, @@ -6290,2 +6140,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6294 +6144 @@ -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -6304,2 +6154,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6308 +6158 @@ -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -6318,2 +6168,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6322 +6172 @@ -../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] +../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] @@ -6332,2 +6182,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6336 +6186 @@ -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -6346,2 +6196,2 @@ -In file included from ../fs/fs-writeback.c:81: -In file included from ../include/trace/events/writeback.h:861: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6350 +6200 @@ -../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -6360,22 +6210,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: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 ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6384,2 +6214,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, +../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, @@ -6396,2 +6226,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6400 +6230 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -6410,2 +6240,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6414 +6244 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -6424,2 +6254,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6428 +6258 @@ -../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] +../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] @@ -6438,2 +6268,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6442 +6272 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -6452,2 +6282,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6456 +6286 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -6466,2 +6296,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6470,2 +6300,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, +../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, @@ -6482,2 +6312,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6486 +6316 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -6496,2 +6326,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6500 +6330 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -6510,2 +6340,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6514 +6344 @@ -../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] +../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] @@ -6524,2 +6354,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6528 +6358 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -6538,2 +6368,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -6542 +6372 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -6552,6 +6382,6 @@ -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, +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, @@ -6562,199 +6392,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 ../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 -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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -6762,10 +6395,2 @@ -../include/trace/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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -6773,5 +6398,6 @@ -../include/trace/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: +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/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6780,2 +6406,2 @@ -../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/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, @@ -6789,2 +6415,2 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6793 +6419 @@ -../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -6800,2 +6426,2 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6804 +6430 @@ -../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -6811,2 +6437,2 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6815 +6441 @@ -../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/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] @@ -6822,2 +6448,2 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6826 +6452 @@ -../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -6833,2 +6459,2 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6837 +6463 @@ -../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -6844,22 +6470,2 @@ -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 ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6868,2 +6474,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/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, @@ -6880,2 +6486,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6884 +6490 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -6894,2 +6500,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6898 +6504 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -6908,2 +6514,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6912 +6518 @@ -../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/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6922,2 +6528,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6926 +6532 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -6936,2 +6542,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6940 +6546 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -6950,2 +6556,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6954,2 +6560,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/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, @@ -6966,2 +6572,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6970 +6576 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -6980,2 +6586,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6984 +6590 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -6994,2 +6600,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -6998 +6604 @@ -../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/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7008,2 +6614,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -7012 +6618 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -7022,2 +6628,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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -7026 +6632 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -7036,88 +6642,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: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 ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -7126,2 +6646,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/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, @@ -7129,3 +6648,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -7140,7 +6657,4 @@ -make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 -make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 -make[3]: *** [../scripts/Makefile.build:485: security] Error 2 -make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7149,2 +6663,2 @@ -../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/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, @@ -7151,0 +6666,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -7158,2 +6675,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7162 +6679,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7169,2 +6689,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7173 +6693,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7180,2 +6703,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7184 +6707,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] +../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, \ + | ^ @@ -7191,2 +6717,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7195 +6721,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7202,2 +6731,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7206 +6735,4 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7213,2 +6745,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7217,2 +6749,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, +../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, @@ -7219,0 +6752,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -7226,2 +6761,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7230 +6765,4 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7237,2 +6775,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7241 +6779,4 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7248,2 +6789,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7252 +6793,4 @@ -../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/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, \ + | ^ @@ -7259,2 +6803,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7263 +6807,4 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7270,2 +6817,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7274 +6821,4 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7281,2 +6831,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7285,2 +6835,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, +../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, @@ -7297,2 +6847,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7301 +6851 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -7311,2 +6861,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7315 +6865 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -7325,2 +6875,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7329 +6879 @@ -../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/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] @@ -7339,2 +6889,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7343 +6893 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -7353,2 +6903,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7357 +6907 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -7367,2 +6917,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -7371,2 +6921,2 @@ -../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/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, @@ -7385,4 +6935,3 @@ -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 ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7391,2 +6940,2 @@ -../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/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, @@ -7403,2 +6952,2 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7407 +6956 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -7417,2 +6966,2 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7421 +6970 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -7431,2 +6980,2 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7435 +6984 @@ -../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/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] @@ -7445,2 +6994,2 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7449 +6998 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -7459,2 +7008,2 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -7463 +7012 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -7473,6 +7022,6 @@ -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, +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, @@ -7483,2 +7032,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), \ @@ -7486,2 +7035,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); \ @@ -7489,5 +7038,5 @@ -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' +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' @@ -7497,2 +7046,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), \ @@ -7500,2 +7049,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); \ @@ -7503,5 +7052,5 @@ -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' +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' @@ -7511,2 +7060,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), \ @@ -7514,2 +7063,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); \ @@ -7517,5 +7066,5 @@ -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] +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] @@ -7525,2 +7074,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), \ @@ -7528,2 +7077,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)(); \ @@ -7531,5 +7080,5 @@ -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' +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' @@ -7539,2 +7088,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), \ @@ -7542,2 +7091,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)(); \ @@ -7545,5 +7094,5 @@ -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' +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' @@ -7553,2 +7102,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), \ @@ -7556,2 +7105,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)(); \ @@ -7559,6 +7108,6 @@ -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, +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, @@ -7569,2 +7118,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) @@ -7572,2 +7121,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); \ @@ -7575,5 +7124,5 @@ -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' +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' @@ -7583,2 +7132,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) @@ -7586,2 +7135,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); \ @@ -7589,5 +7138,5 @@ -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' +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' @@ -7597,2 +7146,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) @@ -7600,2 +7149,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); \ @@ -7603,5 +7152,5 @@ -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] +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] @@ -7611,2 +7160,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) @@ -7614,2 +7163,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)(); \ @@ -7617,5 +7166,5 @@ -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' +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' @@ -7625,2 +7174,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) @@ -7628,2 +7177,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)(); \ @@ -7631,5 +7180,5 @@ -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' +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' @@ -7639,2 +7188,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) @@ -7642,2 +7191,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)(); \ @@ -7645,22 +7194,6 @@ -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 -make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +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 ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7669,2 +7202,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, +../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, @@ -7678,2 +7211,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7682 +7215 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -7689,2 +7222,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7693 +7226 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -7700,2 +7233,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7704 +7237 @@ -../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/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] @@ -7711,2 +7244,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7715 +7248 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -7722,2 +7255,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7726 +7259 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -7733,2 +7266,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7737,2 +7270,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, +../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, @@ -7740,3 +7272,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -7749,2 +7279,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7753,4 +7283 @@ -../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/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -7763,2 +7290,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7767,4 +7294 @@ -../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/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -7777,2 +7301,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7781,4 +7305 @@ -../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/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] @@ -7791,2 +7312,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7795,4 +7316 @@ -../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/events/writeback.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -7805,2 +7323,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7809,4 +7327 @@ -../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/events/writeback.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -7819,2 +7334,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7823,2 +7338,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, +../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, @@ -7835,2 +7350,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7839 +7354 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' @@ -7849,2 +7364,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7853 +7368 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' @@ -7863,2 +7378,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7867 +7382 @@ -../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/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] @@ -7877,2 +7392,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7881 +7396 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'preempt_notrace' @@ -7891,2 +7406,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../fs/fs-writeback.c:81: +In file included from ../include/trace/events/writeback.h:861: @@ -7895 +7410 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/writeback.h:179:1: error: use of undeclared identifier 'trace_event_guard' @@ -7905,6 +7420,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: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, +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, @@ -7912,2 +7427,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _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, \ @@ -7915,2 +7430,5 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -7920 +7438 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 +make[4]: *** [../scripts/Makefile.build:244: fs/fs-writeback.o] Error 1 @@ -8183,2 +7701,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: @@ -8187,2 +7705,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, @@ -8199,2 +7717,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: @@ -8203 +7721 @@ -../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' @@ -8213,2 +7731,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: @@ -8217 +7735 @@ -../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' @@ -8227,2 +7745,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: @@ -8231 +7749 @@ -../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] @@ -8241,2 +7759,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: @@ -8245 +7763 @@ -../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' @@ -8255,2 +7773,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: @@ -8259 +7777 @@ -../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' @@ -8269,2 +7787,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: @@ -8273,2 +7791,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, @@ -8285,2 +7803,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: @@ -8289 +7807 @@ -../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' @@ -8299,2 +7817,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: @@ -8303 +7821 @@ -../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' @@ -8313,2 +7831,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: @@ -8317 +7835 @@ -../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] @@ -8327,2 +7845,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: @@ -8331 +7849 @@ -../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' @@ -8341,2 +7859,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: @@ -8345 +7863 @@ -../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' @@ -8355,2 +7873,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: @@ -8359,2 +7877,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, @@ -8371,2 +7889,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: @@ -8375 +7893 @@ -../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' @@ -8385,2 +7903,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: @@ -8389 +7907 @@ -../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' @@ -8399,2 +7917,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: @@ -8403 +7921 @@ -../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] @@ -8413,2 +7931,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: @@ -8417 +7935 @@ -../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' @@ -8427,2 +7945,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: @@ -8431 +7949 @@ -../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' @@ -8441,6 +7959,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, @@ -8451,2 +7969,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), \ @@ -8454,2 +7972,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); \ @@ -8459,3 +7977,4 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/oom_kill.o] Error 1 -In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: -In file included from ../include/trace/events/kvm.h:495: +make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.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: @@ -8464,2 +7983,2 @@ -../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/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, @@ -8476,2 +7995,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8480 +7999 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -8490,2 +8009,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8494 +8013 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -8504,2 +8023,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8508 +8027 @@ -../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/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] @@ -8518,2 +8037,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8522 +8041 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -8532,2 +8051,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8536 +8055 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -8546,2 +8065,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8550,2 +8069,2 @@ -../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/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, @@ -8562,2 +8081,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8566 +8085 @@ -../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' @@ -8576,2 +8095,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8580 +8099 @@ -../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' @@ -8590,2 +8109,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8594 +8113 @@ -../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/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] @@ -8604,2 +8123,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8608 +8127 @@ -../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' @@ -8618,2 +8137,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8622 +8141 @@ -../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' @@ -8632,2 +8151,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8636,2 +8155,2 @@ -../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/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, @@ -8648,2 +8167,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8652 +8171 @@ -../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' @@ -8662,2 +8181,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8666 +8185 @@ -../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' @@ -8676,2 +8195,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8680 +8199 @@ -../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/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] @@ -8690,2 +8209,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8694 +8213 @@ -../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' @@ -8704,2 +8223,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 ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -8708 +8227 @@ -../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' @@ -8718,6 +8237,6 @@ -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, +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, @@ -8728,2 +8247,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), \ @@ -8731,2 +8250,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); \ @@ -8736,5 +8255,4 @@ -make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/../../../virt/kvm/kvm_main.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: fs] 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: +make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8743,2 +8261,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, +../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, @@ -8746,3 +8263,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8755,2 +8270,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 ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8759,4 +8274 @@ -../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/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -8769,2 +8281,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 ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8773,4 +8285 @@ -../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/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -8783,2 +8292,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 ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8787,4 +8296 @@ -../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/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] @@ -8797,2 +8303,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 ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8801,4 +8307 @@ -../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/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -8811,2 +8314,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 ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -8815,4 +8318 @@ -../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/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -8825,6 +8325,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: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, +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, @@ -8832,8 +8332,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), \ - | ^ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -8841,7 +8335,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: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/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -8849,2 +8338,7 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +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), \ @@ -8852,2 +8346,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -8855,10 +8349,7 @@ -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), \ +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), \ @@ -8866,2 +8357,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -8869,10 +8360,7 @@ -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), \ +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), \ @@ -8880,2 +8368,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -8883,10 +8371,7 @@ -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), \ +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), \ @@ -8894,2 +8379,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -8897,10 +8382,7 @@ -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), \ +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), \ @@ -8908,2 +8390,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -8911,6 +8393,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 ../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, @@ -8918,8 +8400,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), \ @@ -8927,7 +8403,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: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/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -8935,2 +8406,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 ../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), \ @@ -8938,2 +8414,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); \ @@ -8941,10 +8417,7 @@ -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) +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), \ @@ -8952,2 +8425,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); \ @@ -8955,10 +8428,7 @@ -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) +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), \ @@ -8966,2 +8436,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)(); \ @@ -8969,10 +8439,7 @@ -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) +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), \ @@ -8980,2 +8447,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)(); \ @@ -8983,5 +8450,18 @@ -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 ../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, + | ^ @@ -8991,2 +8471,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), \ @@ -8994,5 +8474,7 @@ -../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 +../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.... @@ -9237,0 +8720,278 @@ +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.... @@ -9516,2 +9276,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9520,2 +9280,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/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, @@ -9522,0 +9283,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -9529,2 +9292,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9533 +9296,4 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -9540,2 +9306,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9544 +9310,4 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -9551,2 +9320,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9555 +9324,4 @@ -../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/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, \ + | ^ @@ -9562,2 +9334,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9566 +9338,4 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -9573,2 +9348,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9577 +9352,4 @@ -../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -9584,2 +9362,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9588,2 +9366,2 @@ -../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/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, @@ -9597,2 +9375,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9601 +9379 @@ -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -9608,2 +9386,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9612 +9390 @@ -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -9619,2 +9397,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9623 +9401 @@ -../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/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] @@ -9630,2 +9408,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9634 +9412 @@ -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -9641,2 +9419,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -9645 +9423 @@ -../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -9652,6 +9430,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: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, +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, @@ -9659,2 +9437,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, \ @@ -9662,2 +9440,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), \ @@ -9665,7 +9443,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: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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -9673,2 +9446,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 ../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); \ @@ -9676,7 +9460,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: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), \ +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, \ @@ -9684,2 +9468,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); \ @@ -9687,7 +9474,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: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), \ +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, \ @@ -9695,2 +9482,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)(); \ @@ -9698,7 +9488,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: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), \ +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, \ @@ -9706,10 +9496,2 @@ -../include/trace/trace_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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -9717,10 +9499,8 @@ -../include/trace/trace_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/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' @@ -9730,2 +9510,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), \ @@ -9733,2 +9513,15 @@ -../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: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); \ @@ -9738,3 +9531,4 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9743,2 +9537,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, +../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, @@ -9755,2 +9549,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9759 +9553 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -9769,2 +9563,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9773 +9567 @@ -../include/trace/events/cpuhp.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' @@ -9783,2 +9577,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9787 +9581 @@ -../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/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] @@ -9797,2 +9591,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9801 +9595 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -9811,2 +9605,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9815 +9609 @@ -../include/trace/events/cpuhp.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' @@ -9825,2 +9619,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9829,2 +9623,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, +../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, @@ -9841,2 +9635,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9845 +9639 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -9855,2 +9649,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9859 +9653 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -9869,2 +9663,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9873 +9667 @@ -../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/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] @@ -9883,2 +9677,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9887 +9681 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -9897,2 +9691,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9901 +9695 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -9911,2 +9705,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9915,2 +9709,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, +../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, @@ -9918,3 +9711,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -9927,2 +9718,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9931,4 +9722 @@ -../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/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -9941,2 +9729,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9945,4 +9733 @@ -../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/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -9955,2 +9740,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9959,4 +9744 @@ -../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/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] @@ -9969,2 +9751,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9973,4 +9755 @@ -../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/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -9983,2 +9762,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -9987,4 +9766 @@ -../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/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -9997,6 +9773,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: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, +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, @@ -10004,5 +9780,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), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -10010,2 +9783,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -10015,5 +9788,3 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../net/bpf/test_run.c:29: -In file included from ../include/trace/events/bpf_test_run.h:67: +make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10022,2 +9793,2 @@ -../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/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, @@ -10025,3 +9795,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10034,2 +9802,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10038,4 +9806 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10048,2 +9813,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10052,4 +9817 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -10062,2 +9824,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10066,4 +9828 @@ -../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/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] @@ -10076,2 +9835,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10080,4 +9839 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10090,2 +9846,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10094,4 +9850 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -10104,2 +9857,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10108,2 +9861,2 @@ -../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/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, @@ -10117,2 +9870,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10121 +9874 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -10128,2 +9881,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10132 +9885 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -10139,2 +9892,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10143 +9896 @@ -../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/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] @@ -10150,2 +9903,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10154 +9907 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -10161,2 +9914,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10165 +9918 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -10172,2 +9925,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10176,2 +9929,2 @@ -../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/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, @@ -10179,3 +9931,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10188,2 +9938,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10192,4 +9942 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10202,2 +9949,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10206,4 +9953 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -10216,2 +9960,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10220,4 +9964 @@ -../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/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] @@ -10230,2 +9971,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10234,4 +9975 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10244,2 +9982,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10248,4 +9986 @@ -../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/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -10258,2 +9993,2 @@ -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 ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10262,2 +9997,2 @@ -../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/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, @@ -10273,4 +10008,5 @@ -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 ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +make[3]: *** [../scripts/Makefile.build:485: fs] Error 2 +In file included from ../drivers/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10279,2 +10015,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/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, @@ -10282,3 +10017,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10291,2 +10024,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10295,4 +10028 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -10305,2 +10035,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10309,4 +10039 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -10319,2 +10046,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10323,4 +10050 @@ -../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, \ - | ^ +../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] @@ -10333,2 +10057,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10337,4 +10061 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -10347,2 +10068,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10351,4 +10072 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -10361,2 +10079,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10365,2 +10083,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/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, @@ -10368,3 +10085,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10377,2 +10092,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10381,4 +10096 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -10391,2 +10103,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10395,4 +10107 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -10405,2 +10114,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10409,4 +10118 @@ -../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, \ - | ^ +../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] @@ -10419,2 +10125,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10423,4 +10129 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -10433,2 +10136,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10437,4 +10140 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -10447,2 +10147,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10451,2 +10151,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/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, @@ -10454,3 +10153,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10463,2 +10160,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10467,4 +10164 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -10477,2 +10171,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10481,4 +10175 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -10491,2 +10182,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10495,4 +10186 @@ -../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, \ - | ^ +../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] @@ -10505,2 +10193,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10509,4 +10197 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -10519,2 +10204,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10523,4 +10208 @@ -../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, \ - | ^ +../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -10533,2 +10215,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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -10537,2 +10219,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/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, @@ -10551,4 +10233,5 @@ -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: +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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10557,2 +10240,2 @@ -../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/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, @@ -10569,2 +10252,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10573 +10256 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -10583,2 +10266,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10587 +10270 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -10597,2 +10280,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10601 +10284 @@ -../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/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] @@ -10611,2 +10294,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10615 +10298 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -10625,2 +10308,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10629 +10312 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -10639,2 +10322,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10643,2 +10326,2 @@ -../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/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, @@ -10655,2 +10338,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10659 +10342 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -10669,2 +10352,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10673 +10356 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -10683,2 +10366,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10687 +10370 @@ -../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/devlink.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10697,2 +10380,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10701 +10384 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -10711,2 +10394,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10715 +10398 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -10725,2 +10408,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10729,2 +10412,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/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, @@ -10741,2 +10424,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10745 +10428 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -10755,2 +10438,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10759 +10442 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -10769,2 +10452,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10773 +10456 @@ -../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/devlink.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10783,2 +10466,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10787 +10470 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -10797,2 +10480,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10801 +10484 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -10811,2 +10494,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 ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -10815,2 +10498,2 @@ -../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/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, @@ -10829,224 +10512,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 -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 '_DECmake[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 -LARE_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.... +make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 @@ -11574,2 +11035,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11578,2 +11039,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/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, @@ -11580,0 +11042,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11587,2 +11051,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11591 +11055,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11598,2 +11065,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11602 +11069,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11609,2 +11079,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11613 +11083,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/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, \ + | ^ @@ -11620,2 +11093,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11624 +11097,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11631,2 +11107,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11635 +11111,4 @@ -../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11642,2 +11121,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11646,2 +11125,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/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, @@ -11648,0 +11128,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11655,2 +11137,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11659 +11141,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11666,2 +11151,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11670 +11155,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11677,2 +11165,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11681 +11169,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/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, \ + | ^ @@ -11688,2 +11179,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11692 +11183,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11699,2 +11193,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11703 +11197,4 @@ -../net/dsa/trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11710,2 +11207,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11714,2 +11211,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/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, @@ -11716,0 +11214,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11723,2 +11223,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11727 +11227,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11734,2 +11237,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11738 +11241,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11745,2 +11251,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11749 +11255,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/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, \ + | ^ @@ -11756,2 +11265,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11760 +11269,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11767,2 +11279,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11771 +11283,4 @@ -../net/dsa/trace.h:143:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11778,2 +11293,2 @@ -In file included from ../net/dsa/trace.c:6: -In file included from ../net/dsa/trace.h:447: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -11782,2 +11297,2 @@ -../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, +../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, @@ -11796,2 +11311,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/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 @@ -12075,2 +11591,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12079,2 +11595,2 @@ -../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, +../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, @@ -12091,2 +11607,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12095 +11611 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -12105,2 +11621,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12109 +11625 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -12119,2 +11635,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12123 +11639 @@ -../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] +../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] @@ -12133,2 +11649,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12137 +11653 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -12147,2 +11663,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12151 +11667 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -12161,2 +11677,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12165,2 +11681,2 @@ -../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, +../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, @@ -12177,2 +11693,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12181 +11697 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -12191,2 +11707,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12195 +11711 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -12205,2 +11721,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12209 +11725 @@ -../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] +../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] @@ -12219,2 +11735,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12223 +11739 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -12233,2 +11749,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12237 +11753 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -12247,6 +11763,6 @@ -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, +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, @@ -12257,2 +11773,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12260,2 +11776,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12263,5 +11779,5 @@ -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' +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' @@ -12271,2 +11787,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12274,2 +11790,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12277,5 +11793,5 @@ -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' +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' @@ -12285,2 +11801,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12288,2 +11804,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -12291,5 +11807,5 @@ -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] +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] @@ -12299,2 +11815,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12302,2 +11818,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12305,5 +11821,5 @@ -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' +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' @@ -12313,2 +11829,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12316,2 +11832,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12319,5 +11835,5 @@ -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' +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' @@ -12327,2 +11843,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -12330,2 +11846,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -12333,2 +11849,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -12337,2 +11853,2 @@ -../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, +../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, @@ -12351,3 +11867,5 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 -In file included from ../io_uring/io_uring.c:76: -In file included from ../include/trace/events/io_uring.h:683: +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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12356,2 +11874,2 @@ -../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/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, @@ -12368,2 +11886,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12372 +11890 @@ -../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -12382,2 +11900,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12386 +11904 @@ -../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -12396,2 +11914,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12400 +11918 @@ -../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/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] @@ -12410,2 +11928,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12414 +11932 @@ -../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -12424,2 +11942,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12428 +11946 @@ -../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -12438,2 +11956,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12442,2 +11960,2 @@ -../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/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, @@ -12454,2 +11972,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12458 +11976 @@ -../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -12468,2 +11986,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12472 +11990 @@ -../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -12482,2 +12000,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12486 +12004 @@ -../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/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] @@ -12496,2 +12014,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12500 +12018 @@ -../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -12510,2 +12028,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -12514 +12032 @@ -../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -12524,6 +12042,6 @@ -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, +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, @@ -12534,2 +12052,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), \ @@ -12537,2 +12055,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); \ @@ -12540,5 +12058,5 @@ -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' +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' @@ -12548,2 +12066,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), \ @@ -12551,2 +12069,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); \ @@ -12554,5 +12072,5 @@ -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' +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' @@ -12562,2 +12080,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), \ @@ -12565,2 +12083,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); \ @@ -12568,5 +12086,5 @@ -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] +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] @@ -12576,2 +12094,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), \ @@ -12579,2 +12097,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)(); \ @@ -12582,5 +12100,5 @@ -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' +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' @@ -12590,2 +12108,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), \ @@ -12593,2 +12111,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)(); \ @@ -12596,5 +12114,5 @@ -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' +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' @@ -12604,2 +12122,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), \ @@ -12607,2 +12125,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)(); \ @@ -12610,6 +12128,6 @@ -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, +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, @@ -12620,2 +12138,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), \ @@ -12623,2 +12141,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); \ @@ -12628,2 +12146 @@ -make[4]: *** [../scripts/Makefile.build:244: io_uring/io_uring.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 +make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 @@ -12851,2 +12368,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12855,2 +12372,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/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, @@ -12867,2 +12384,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12871 +12388 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -12881,2 +12398,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12885 +12402 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -12895,2 +12412,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12899 +12416 @@ -../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/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] @@ -12909,2 +12426,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12913 +12430 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -12923,2 +12440,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12927 +12444 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -12937,2 +12454,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12941,2 +12458,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/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, @@ -12953,2 +12470,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12957 +12474 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -12967,2 +12484,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12971 +12488 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -12981,2 +12498,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12985 +12502 @@ -../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/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] @@ -12995,2 +12512,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -12999 +12516 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -13009,2 +12526,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13013 +12530 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -13023,2 +12540,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13027,2 +12544,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/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, @@ -13039,2 +12556,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13043 +12560 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -13053,2 +12570,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13057 +12574 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -13067,2 +12584,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13071 +12588 @@ -../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/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] @@ -13081,2 +12598,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13085 +12602 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -13095,2 +12612,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 ../io_uring/io_uring.c:76: +In file included from ../include/trace/events/io_uring.h:683: @@ -13099 +12616 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/io_uring.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -13109,6 +12626,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: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, +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, @@ -13119,2 +12636,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -13122,2 +12639,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -13127,5 +12644,4 @@ -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 ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +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: @@ -13134,2 +12650,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, +../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, @@ -13137,3 +12652,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -13146,2 +12659,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 ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -13150,4 +12663 @@ -../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, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -13160,2 +12670,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 ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -13164,4 +12674 @@ -../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, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -13174,2 +12681,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 ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -13178,4 +12685 @@ -../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, \ - | ^ +../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] @@ -13188,2 +12692,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 ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -13192,4 +12696 @@ -../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, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -13202,2 +12703,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 ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -13206,4 +12707 @@ -../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, \ - | ^ +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -13216,2 +12714,141 @@ -In file included from ../drivers/nvme/target/core.c:16: -In file included from ../drivers/nvme/target/trace.h:170: +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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13220,2 +12857,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, +../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, @@ -13232,2 +12869,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13236 +12873 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -13246,2 +12883,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13250 +12887 @@ -../drivers/nvme/target/trace.h:108: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' @@ -13260,2 +12897,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13264 +12901 @@ -../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] +../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] @@ -13274,2 +12911,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13278 +12915 @@ -../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -13288,2 +12925,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13292 +12929 @@ -../drivers/nvme/target/trace.h:108: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' @@ -13302,2 +12939,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13306,2 +12943,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, +../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, @@ -13318,2 +12955,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13322 +12959 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -13332,2 +12969,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13336 +12973 @@ -../drivers/nvme/target/trace.h:136: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' @@ -13346,2 +12983,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13350 +12987 @@ -../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] +../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] @@ -13360,2 +12997,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13364 +13001 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -13374,2 +13011,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13378 +13015 @@ -../drivers/nvme/target/trace.h:136: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' @@ -13388,6 +13025,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: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, +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, @@ -13398,23 +13035,2 @@ -../include/trace/perf.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/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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -13425,2 +13041,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/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13429 +13045 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -13439,2 +13055,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/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13443 +13059 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -13453,2 +13069,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/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13457 +13073 @@ -../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] +../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] @@ -13467,2 +13083,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/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13471 +13087 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -13481,2 +13097,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/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -13485 +13101 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -13495,6 +13111,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/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, @@ -13504,0 +13121,18 @@ +../include/trace/perf.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 ../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, + | ^ @@ -13511,2 +13145,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 ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -13515,4 +13149 @@ -../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, \ - | ^ +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -13525,2 +13156,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 ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -13529,4 +13160 @@ -../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, \ - | ^ +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -13539,2 +13167,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 ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -13543,4 +13171 @@ -../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, \ - | ^ +../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] @@ -13553,2 +13178,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 ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -13557,4 +13182 @@ -../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, \ - | ^ +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -13567,2 +13189,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 ../net/dsa/trace.c:6: +In file included from ../net/dsa/trace.h:447: @@ -13571,4 +13193 @@ -../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, \ - | ^ +../net/dsa/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -13581,6 +13200,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: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, +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, @@ -13588,2 +13207,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), \ @@ -13591,2 +13210,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -13594,2 +13213,7 @@ -../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/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), \ @@ -13597,7 +13221,10 @@ -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/trace_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), \ @@ -13605,2 +13232,10 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_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), \ @@ -13608,10 +13243,10 @@ -../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/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), \ @@ -13619,2 +13254,10 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/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), \ @@ -13622,10 +13265,12 @@ -../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/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), \ @@ -13633,2 +13278,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -13636,10 +13281,7 @@ -../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, \ +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), \ @@ -13647,2 +13289,10 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_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), \ @@ -13650,10 +13300,10 @@ -../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/trace_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), \ @@ -13661,2 +13311,10 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/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), \ @@ -13664,2 +13322,13 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/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)(); \ @@ -13667,6 +13336,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: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, +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, @@ -13677,2 +13346,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -13680,2 +13349,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -13685 +13354,2 @@ -make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 +make[5]: *** [../scripts/Makefile.build:244: net/dsa/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/dsa] Error 2 @@ -13936,2 +13606 @@ -../include/trace/trace_events.h:457:2: note: expanded from mamake[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 -cro 'DECLARE_EVENT_CLASS' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' @@ -13947,209 +13616,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/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14158,2 +13620,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, +../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, @@ -14170,2 +13632,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14174 +13636 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' @@ -14184,2 +13646,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14188 +13650 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' @@ -14198,2 +13660,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14202 +13664 @@ -../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] +../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] @@ -14212,2 +13674,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14216 +13678 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' @@ -14226,2 +13688,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14230 +13692 @@ -../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' @@ -14240,2 +13702,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14244,2 +13706,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, +../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, @@ -14256,2 +13718,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14260 +13722 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -14270,2 +13732,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14274 +13736 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -14284,2 +13746,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14288 +13750 @@ -../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] +../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] @@ -14298,2 +13760,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14302 +13764 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -14312,2 +13774,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14316 +13778 @@ -../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -14326,2 +13788,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14330,2 +13792,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, +../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, @@ -14342,2 +13804,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14346 +13808 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' @@ -14356,2 +13818,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14360 +13822 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' @@ -14370,2 +13832,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14374 +13836 @@ -../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] +../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] @@ -14384,2 +13846,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14388 +13850 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' @@ -14398,2 +13860,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14402 +13864 @@ -../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' @@ -14412,2 +13874,2 @@ -In file included from ../net/tls/trace.c:8: -In file included from ../net/tls/trace.h:202: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -14416,2 +13878,2 @@ -../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, +../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, @@ -14430,2 +13892,3 @@ -make[5]: *** [../scripts/Makefile.build:244: net/tls/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/tls] Error 2 +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 @@ -14693,2 +14156,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14697,2 +14160,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, +../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, @@ -14699,0 +14163,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14706,2 +14172,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14710 +14176,4 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -14717,2 +14186,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14721 +14190,4 @@ -../include/trace/events/handshake.h:90: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14728,2 +14200,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14732 +14204,4 @@ -../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] +../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, \ + | ^ @@ -14739,2 +14214,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14743 +14218,4 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -14750,2 +14228,2 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -14754 +14232,4 @@ -../include/trace/events/handshake.h:90: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14761,6 +14242,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 ../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, @@ -14768,2 +14249,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, \ @@ -14771,2 +14252,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), \ @@ -14774,7 +14255,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: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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -14782,2 +14258,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/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); \ @@ -14785,7 +14272,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 ../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, \ @@ -14793,2 +14280,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); \ @@ -14796,7 +14286,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 ../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, \ @@ -14804,2 +14294,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)(); \ @@ -14807,7 +14300,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 ../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, \ @@ -14815,2 +14308,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)(); \ @@ -14818,7 +14314,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 ../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, \ @@ -14826,2 +14322,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)(); \ @@ -14829,6 +14328,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 ../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, @@ -14836,2 +14335,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, \ @@ -14839,2 +14338,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:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -14842,7 +14341,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: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/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -14850,2 +14344,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/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); \ @@ -14853,7 +14358,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 ../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, \ @@ -14861,2 +14366,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/bpf_probe.h:61: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); \ @@ -14864,7 +14372,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 ../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, \ @@ -14872,2 +14380,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/bpf_probe.h:61: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)(); \ @@ -14875,7 +14386,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 ../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, \ @@ -14883,2 +14394,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/bpf_probe.h:61: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)(); \ @@ -14886,7 +14400,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 ../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, \ @@ -14894,2 +14408,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/bpf_probe.h:61: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)(); \ @@ -14897,2 +14414,5 @@ -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +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/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14901,2 +14421,2 @@ -../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/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, @@ -14904,5 +14424,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/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ @@ -14910,11 +14426,0 @@ -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 ../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, - | ^ @@ -14930,2 +14436,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 ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14934 +14440,4 @@ -../drivers/nvme/host/trace.h:47: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, \ + | ^ @@ -14944,2 +14453,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 ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14948 +14457,4 @@ -../drivers/nvme/host/trace.h:47: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, \ + | ^ @@ -14958,2 +14470,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 ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14962 +14474,4 @@ -../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/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, \ + | ^ @@ -14972,2 +14487,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 ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14976 +14491,4 @@ -../drivers/nvme/host/trace.h:47: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, \ + | ^ @@ -14986,2 +14504,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 ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -14990 +14508,4 @@ -../drivers/nvme/host/trace.h:47: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, \ + | ^ @@ -15000,6 +14521,6 @@ -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, +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, @@ -15006,0 +14528,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -15010,2 +14534,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), \ @@ -15013,2 +14537,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, \ @@ -15016,5 +14547,0 @@ -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' @@ -15024,2 +14551,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), \ @@ -15027,2 +14554,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); \ @@ -15030,5 +14557,8 @@ -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' +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, \ + | ^ @@ -15038,2 +14568,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), \ @@ -15041,2 +14571,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); \ @@ -15044,5 +14574,8 @@ -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] +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, \ + | ^ @@ -15052,2 +14585,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), \ @@ -15055,2 +14588,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)(); \ @@ -15058,5 +14591,8 @@ -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' +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, \ + | ^ @@ -15066,2 +14602,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), \ @@ -15069,2 +14605,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)(); \ @@ -15072,5 +14608,8 @@ -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' +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, \ + | ^ @@ -15080,2 +14619,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), \ @@ -15083,2 +14622,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)(); \ @@ -15086,6 +14625,6 @@ -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, +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, @@ -15092,0 +14632,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -15096,2 +14638,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) @@ -15099,2 +14641,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/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, \ @@ -15102,5 +14651,0 @@ -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' @@ -15110,2 +14655,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) @@ -15113,2 +14658,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); \ @@ -15116,5 +14661,8 @@ -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' +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, \ + | ^ @@ -15124,2 +14672,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) @@ -15127,2 +14675,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); \ @@ -15130,5 +14678,8 @@ -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] +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, \ + | ^ @@ -15138,2 +14689,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) @@ -15141,2 +14692,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)(); \ @@ -15144,5 +14695,8 @@ -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' +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, \ + | ^ @@ -15152,2 +14706,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) @@ -15155,2 +14709,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)(); \ @@ -15158,10 +14712,7 @@ -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), \ +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, \ @@ -15169,10 +14719,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/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, - | ^ @@ -15182,5 +14723,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/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -15188,5 +14726,5 @@ -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 +../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 @@ -15452,0 +14991,2 @@ +make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... @@ -15454,174 +14994,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15630,2 +14998,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/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, @@ -15642,2 +15010,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15646 +15014 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -15656,2 +15024,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15660 +15028 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -15670,2 +15038,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15674 +15042 @@ -../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/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15684,2 +15052,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15688 +15056 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -15698,2 +15066,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15702 +15070 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -15712,18 +15080,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: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 ../drivers/net/phy/mdio_bus.c:38: -In file included from ../include/trace/events/mdio.h:43: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15732,2 +15084,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, +../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, @@ -15735,3 +15086,0 @@ -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ @@ -15747,2 +15096,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15751,4 +15100 @@ -../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/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' @@ -15764,2 +15110,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15768,4 +15114 @@ -../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/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' @@ -15781,2 +15124,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15785,4 +15128 @@ -../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/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] @@ -15798,2 +15138,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15802,4 +15142 @@ -../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/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' @@ -15815,2 +15152,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15819,4 +15156 @@ -../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/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' @@ -15832,2 +15166,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15836,2 +15170,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, +../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, @@ -15839,3 +15172,0 @@ -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ @@ -15851,2 +15182,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15855,4 +15186 @@ -../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/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -15868,2 +15196,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15872,4 +15200 @@ -../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/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -15885,2 +15210,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15889,4 +15214 @@ -../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/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] @@ -15902,2 +15224,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15906,4 +15228 @@ -../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/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -15919,2 +15238,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -15923,4 +15242 @@ -../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/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -15936,6 +15252,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/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, @@ -15943,37 +15258,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, \ - | ^ @@ -15983,50 +15262,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: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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -16034,2 +15265,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); \ @@ -16037,7 +15268,4 @@ -../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.... +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 @@ -16301,88 +15529,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16391,2 +15533,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/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, @@ -16403,2 +15545,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16407 +15549 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -16417,2 +15559,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16421 +15563 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -16431,2 +15573,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16435 +15577 @@ -../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/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16445,2 +15587,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16449 +15591 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -16459,2 +15601,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16463 +15605 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -16473,107 +15615,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: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/dma/tegra20-apb-dma.c:31: -In file included from ../include/trace/events/tegra_apb_dma.h:61: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16582,2 +15619,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/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, @@ -16594,2 +15631,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16598 +15635 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -16608,2 +15645,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16612 +15649 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -16622,2 +15659,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16626 +15663 @@ -../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/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16636,2 +15673,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16640 +15677 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -16650,2 +15687,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16654 +15691 @@ -../include/trace/events/tegra_apb_dma.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -16664,2 +15701,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16668,2 +15705,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/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, @@ -16680,2 +15717,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16684 +15721 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -16694,2 +15731,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16698 +15735 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -16708,2 +15745,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16712 +15749 @@ -../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/vmscan.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -16722,2 +15759,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16726 +15763 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -16736,2 +15773,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16740 +15777 @@ -../include/trace/events/tegra_apb_dma.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -16750,2 +15787,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/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -16754,2 +15791,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/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, @@ -16757,3 +15793,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -16766,86 +15799,0 @@ -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); \ - | ^ @@ -16854,4 +15802,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/soc/qcom/rpmh-rsc.c:38: -In file included from ../drivers/soc/qcom/trace-rpmh.h:87: +make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16860,2 +15807,2 @@ -../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/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, @@ -16872,2 +15819,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16876 +15823 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -16886,2 +15833,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16890 +15837 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -16900,2 +15847,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16904 +15851 @@ -../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/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] @@ -16914,2 +15861,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16918 +15865 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -16928,2 +15875,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16932 +15879 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -16942,2 +15889,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16946,2 +15893,2 @@ -../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/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, @@ -16958,2 +15905,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16962 +15909 @@ -../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -16972,2 +15919,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16976 +15923 @@ -../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -16986,2 +15933,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -16990 +15937 @@ -../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/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] @@ -17000,2 +15947,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17004 +15951 @@ -../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -17014,2 +15961,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17018 +15965 @@ -../drivers/soc/qcom/trace-rpmh.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -17028,2 +15975,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17032,2 +15979,2 @@ -../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/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, @@ -17044,2 +15991,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17048 +15995 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -17058,2 +16005,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17062 +16009 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -17072,2 +16019,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17076 +16023 @@ -../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/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] @@ -17086,2 +16033,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17090 +16037 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -17100,2 +16047,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17104 +16051 @@ -../drivers/soc/qcom/trace-rpmh.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -17114,2 +16061,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 ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -17118,2 +16065,2 @@ -../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/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, @@ -17132,3 +16079 @@ -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 +make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 @@ -17359,2 +16304,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17363,2 +16308,2 @@ -../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, +../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, @@ -17375,2 +16320,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17379 +16324 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -17389,2 +16334,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17393 +16338 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -17403,2 +16348,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17407 +16352 @@ -../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] +../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] @@ -17417,2 +16362,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17421 +16366 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -17431,2 +16376,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17435 +16380 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -17445,2 +16390,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17449,2 +16394,2 @@ -../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, +../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, @@ -17461,2 +16406,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17465 +16410 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -17475,2 +16420,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17479 +16424 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -17489,2 +16434,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17493 +16438 @@ -../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] +../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] @@ -17503,2 +16448,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17507 +16452 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' @@ -17517,2 +16462,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17521 +16466 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:44:1: error: use of undeclared identifier 'trace_event_guard' @@ -17531,2 +16476,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17535,2 +16480,2 @@ -../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, +../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, @@ -17547,2 +16492,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17551 +16496 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -17561,2 +16506,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17565 +16510 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -17575,2 +16520,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17579 +16524 @@ -../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] +../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] @@ -17589,2 +16534,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17593 +16538 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../net/tls/trace.h:77:1: error: use of undeclared identifier 'preempt_notrace' @@ -17603,2 +16548,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 ../net/tls/trace.c:8: +In file included from ../net/tls/trace.h:202: @@ -17607 +16552 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../net/tls/trace.h:77:1: error: use of undeclared identifier 'trace_event_guard' @@ -17617,6 +16562,6 @@ -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, +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, @@ -17627,2 +16572,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -17630,2 +16575,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -17635,4 +16580,4 @@ -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 ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +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 ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17641,2 +16586,2 @@ -../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/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, @@ -17653,2 +16598,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17657 +16602 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -17667,2 +16612,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17671 +16616 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -17681,2 +16626,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17685 +16630 @@ -../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/percpu.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17695,2 +16640,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17699 +16644 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -17709,2 +16654,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17713 +16658 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -17723,2 +16668,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17727,2 +16672,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/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, @@ -17729,0 +16675,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17736,2 +16684,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17740 +16688,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -17747,2 +16698,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17751 +16702,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -17758,2 +16712,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17762 +16716,4 @@ -../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/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, \ + | ^ @@ -17769,2 +16726,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17773 +16730,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -17780,2 +16740,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17784 +16744,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -17791,2 +16754,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17795,2 +16758,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/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, @@ -17807,2 +16770,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17811 +16774 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -17821,2 +16784,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17825 +16788 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -17835,2 +16798,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17839 +16802 @@ -../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/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -17849,2 +16812,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17853 +16816 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -17863,2 +16826,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17867 +16830 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -17877,2 +16840,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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -17881,2 +16844,2 @@ -../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/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, @@ -17895,4 +16858,3 @@ -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/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17901,2 +16863,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, +../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, @@ -17913,2 +16875,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17917 +16879 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -17927,2 +16889,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17931 +16893 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -17941,2 +16903,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17945 +16907 @@ -../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/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] @@ -17955,2 +16917,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17959 +16921 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -17969,2 +16931,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17973 +16935 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -17983,177 +16945,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: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 ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18162,2 +16949,2 @@ -../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/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, @@ -18171,2 +16958,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18175 +16962 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -18182,2 +16969,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18186 +16973 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -18193,2 +16980,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18197 +16984 @@ -../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/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] @@ -18204,2 +16991,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18208 +16995 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -18215,2 +17002,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18219 +17006 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -18226,140 +17013,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: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 -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18368,2 +17017,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/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, @@ -18380,2 +17029,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18384 +17033 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' @@ -18394,2 +17043,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18398 +17047 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' @@ -18408,2 +17057,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18412 +17061 @@ -../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/mptcp.h:128:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18422,2 +17071,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18426 +17075 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' @@ -18436,2 +17085,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18440 +17089 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'trace_event_guard' @@ -18450,2 +17099,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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -18454,2 +17103,2 @@ -../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/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, @@ -18466,172 +17114,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' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.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); \ - | ^ @@ -18640,5 +17117,4 @@ -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 -make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18647,2 +17123,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/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, @@ -18650,3 +17125,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18659,2 +17132,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18663,4 +17136 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -18673,2 +17143,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18677,4 +17147 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -18687,2 +17154,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18691,4 +17158 @@ -../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/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] @@ -18701,2 +17165,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18705,4 +17169 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -18715,2 +17176,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18719,4 +17180 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -18729,2 +17187,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18733,2 +17191,2 @@ -../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/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, @@ -18736,3 +17193,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18745,2 +17200,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18749,4 +17204 @@ -../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/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -18759,2 +17211,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18763,4 +17215 @@ -../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/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -18773,2 +17222,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18777,4 +17226 @@ -../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/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] @@ -18787,2 +17233,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18791,4 +17237 @@ -../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/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -18801,2 +17244,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18805,4 +17248 @@ -../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/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -18815,2 +17255,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18819,2 +17259,2 @@ -../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/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, @@ -18822,3 +17261,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18831,2 +17268,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18835,4 +17272 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -18845,2 +17279,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18849,4 +17283 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -18859,2 +17290,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18863,4 +17294 @@ -../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/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] @@ -18873,2 +17301,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18877,4 +17305 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -18887,2 +17312,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18891,4 +17316 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -18901,2 +17323,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -18905,2 +17327,2 @@ -../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/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, @@ -18908,3 +17329,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18919,4 +17338,4 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/workqueue.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: kernel] 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[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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18925,2 +17344,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/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, @@ -18937,2 +17356,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18941 +17360 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -18951,2 +17370,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18955 +17374 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -18965,2 +17384,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18969 +17388 @@ -../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/skb.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -18979,2 +17398,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18983 +17402 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -18993,2 +17412,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -18997 +17416 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -19007,2 +17426,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19011,2 +17430,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/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, @@ -19023,2 +17442,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19027 +17446 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -19037,2 +17456,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19041 +17460 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -19051,2 +17470,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19055 +17474 @@ -../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/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] @@ -19065,2 +17484,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19069 +17488 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -19079,2 +17498,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19083 +17502 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -19093,2 +17512,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19097,2 +17516,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/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, @@ -19109,2 +17528,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19113 +17532 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -19123,2 +17542,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19127 +17546 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -19137,2 +17556,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19141 +17560 @@ -../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/skb.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -19151,2 +17570,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19155 +17574 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -19165,2 +17584,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19169 +17588 @@ -../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -19179,2 +17598,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/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -19183,2 +17602,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/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, @@ -19197,2 +17616,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/core/net-traces.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 @@ -19421,2 +17840,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19425,2 +17844,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, +../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, @@ -19437,2 +17856,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19441 +17860 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -19451,2 +17870,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19455 +17874 @@ -../arch/x86/kvm/trace.h:17: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' @@ -19465,2 +17884,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19469 +17888 @@ -../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] +../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] @@ -19479,2 +17898,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19483 +17902 @@ -../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -19493,2 +17912,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 ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -19497 +17916 @@ -../arch/x86/kvm/trace.h:17: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' @@ -19507,6 +17926,6 @@ -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, +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, @@ -19517,2 +17936,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), \ @@ -19520,2 +17939,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); \ @@ -19523,5 +17942,5 @@ -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' +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' @@ -19531,2 +17950,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), \ @@ -19534,2 +17953,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); \ @@ -19537,5 +17956,5 @@ -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' +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' @@ -19545,2 +17964,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), \ @@ -19548,2 +17967,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); \ @@ -19551,5 +17970,5 @@ -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] +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] @@ -19559,2 +17978,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), \ @@ -19562,2 +17981,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)(); \ @@ -19565,5 +17984,5 @@ -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' +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' @@ -19573,2 +17992,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), \ @@ -19576,2 +17995,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)(); \ @@ -19579,5 +17998,5 @@ -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' +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' @@ -19587,2 +18006,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), \ @@ -19590,2 +18009,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)(); \ @@ -19593,6 +18012,6 @@ -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, +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, @@ -19603,2 +18022,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) @@ -19606,2 +18025,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); \ @@ -19609,5 +18028,5 @@ -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' +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' @@ -19617,2 +18036,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) @@ -19620,2 +18039,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); \ @@ -19623,5 +18042,5 @@ -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' +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' @@ -19631,2 +18050,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) @@ -19634,2 +18053,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); \ @@ -19637,5 +18056,5 @@ -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] +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] @@ -19645,2 +18064,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) @@ -19648,2 +18067,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)(); \ @@ -19651,5 +18070,5 @@ -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' +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' @@ -19659,2 +18078,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) @@ -19662,2 +18081,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)(); \ @@ -19665,5 +18084,5 @@ -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' +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' @@ -19673,2 +18092,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) @@ -19676,2 +18095,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)(); \ @@ -19679,21 +18098,6 @@ -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/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +18 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19702,2 +18106,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, +../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, @@ -19705,3 +18108,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19714,2 +18115,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19718,4 +18119 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -19728,2 +18126,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19732,4 +18130 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -19742,2 +18137,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19746,4 +18141 @@ -../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/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] @@ -19756,2 +18148,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19760,4 +18152 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -19770,2 +18159,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19774,4 +18163 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -19784,2 +18170,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19788,2 +18174,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, +../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, @@ -19800,2 +18186,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19804 +18190 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -19814,2 +18200,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19818 +18204 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -19828,2 +18214,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19832 +18218 @@ -../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/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] @@ -19842,2 +18228,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19846 +18232 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -19856,2 +18242,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19860 +18246 @@ -../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -19870,2 +18256,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19874,2 +18260,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, +../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, @@ -19886,2 +18272,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19890 +18276 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -19900,2 +18286,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19904 +18290 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -19914,2 +18300,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19918 +18304 @@ -../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/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] @@ -19928,2 +18314,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19932 +18318 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -19942,2 +18328,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19946 +18332 @@ -../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -19956,2 +18342,2 @@ -In file included from ../mm/percpu.c:97: -In file included from ../include/trace/events/percpu.h:137: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -19960,2 +18346,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, +../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, @@ -19974,3 +18360,3 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 -In file included from ../drivers/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 +In file included from ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -19979,2 +18365,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/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, @@ -19982,3 +18367,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19991,2 +18374,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -19995,4 +18378 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20005,2 +18385,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20009,4 +18389 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -20019,2 +18396,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20023,4 +18400 @@ -../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/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] @@ -20033,2 +18407,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20037,4 +18411 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20047,2 +18418,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20051,4 +18422 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -20061,2 +18429,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20065,2 +18433,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/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, @@ -20068,3 +18435,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20077,2 +18442,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20081,4 +18446 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20091,2 +18453,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20095,4 +18457 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -20105,2 +18464,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20109,4 +18468 @@ -../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/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] @@ -20119,2 +18475,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20123,4 +18479 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20133,2 +18486,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20137,4 +18490 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -20147,2 +18497,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20151,2 +18501,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/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, @@ -20154,3 +18503,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20163,2 +18510,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20167,4 +18514 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20177,2 +18521,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20181,4 +18525 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -20191,2 +18532,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20195,4 +18536 @@ -../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/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] @@ -20205,2 +18543,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20209,4 +18547 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -20219,2 +18554,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 ../kernel/notifier.c:11: +In file included from ../include/trace/events/notifier.h:69: @@ -20223,4 +18558 @@ -../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/events/notifier.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -20234,4 +18566,3 @@ -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/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +make[4]: *** [../scripts/Makefile.build:244: kernel/notifier.o] Error 1 +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20240,2 +18571,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, +../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, @@ -20242,0 +18574,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20249,2 +18583,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20253 +18587,4 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -20260,2 +18597,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20264 +18601,4 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -20271,2 +18611,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20275 +18615,4 @@ -../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/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, \ + | ^ @@ -20282,2 +18625,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20286 +18629,4 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -20293,2 +18639,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20297 +18643,4 @@ -../include/trace/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -20304,2 +18653,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20308,2 +18657,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, +../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, @@ -20320,2 +18669,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20324 +18673 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -20334,2 +18683,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20338 +18687 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -20348,2 +18697,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20352 +18701 @@ -../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/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] @@ -20362,2 +18711,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20366 +18715 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -20376,2 +18725,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20380 +18729 @@ -../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -20390,2 +18739,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20394,2 +18743,2 @@ -../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/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, @@ -20406,2 +18755,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20410 +18759 @@ -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -20420,2 +18769,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20424 +18773 @@ -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -20434,2 +18783,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20438 +18787 @@ -../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/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] @@ -20448,2 +18797,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20452 +18801 @@ -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -20462,2 +18811,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20466 +18815 @@ -../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -20476,2 +18825,2 @@ -In file included from ../mm/compaction.c:64: -In file included from ../include/trace/events/compaction.h:356: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -20480,2 +18829,2 @@ -../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/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, @@ -20494,3 +18843,4 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/compaction.o] Error 1 -In file included from ../drivers/firewire/ohci.c:51: -In file included from ../include/trace/events/firewire_ohci.h:101: +make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20499,2 +18849,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/usb/host/xhci-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 | DECLARE_EVENT_CLASS(xhci_log_msg, @@ -20502,3 +18851,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20511,2 +18858,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20515,4 +18862 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -20525,2 +18869,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20529,4 +18873 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -20539,2 +18880,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20543,4 +18884 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20553,2 +18891,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20557,4 +18895 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -20567,2 +18902,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20571,4 +18906 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -20581,2 +18913,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20585,2 +18917,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/usb/host/xhci-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 | DECLARE_EVENT_CLASS(xhci_log_ctx, @@ -20588,3 +18919,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20597,2 +18926,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20601,4 +18930 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' @@ -20611,2 +18937,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20615,4 +18941 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' @@ -20625,2 +18948,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20629,4 +18952 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -20639,2 +18959,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20643,4 +18963 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' @@ -20653,2 +18970,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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: @@ -20657,4 +18974 @@ -../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, \ - | ^ +../drivers/usb/host/xhci-trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' @@ -20667,6 +18981,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:109: -In file included from ../include/trace/perf.h:93: -../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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.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 | DECLARE_EVENT_CLASS(xhci_log_trb, @@ -20674,8 +18988,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), \ - | ^ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20683,7 +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 ../include/trace/define_trace.h:109: -In file included from ../include/trace/perf.h:93: -../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:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20691,2 +18994,7 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20694,2 +19002,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20697,10 +19005,7 @@ -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:109: -In file included from ../include/trace/perf.h:93: -../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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20708,2 +19013,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20711,10 +19016,7 @@ -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:109: -In file included from ../include/trace/perf.h:93: -../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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.h:110:1: error: 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), \ @@ -20722,2 +19024,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20725,10 +19027,7 @@ -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:109: -In file included from ../include/trace/perf.h:93: -../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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20736,2 +19035,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20739,10 +19038,7 @@ -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:109: -In file included from ../include/trace/perf.h:93: -../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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +In file included from ../drivers/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20750,2 +19046,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -20753,6 +19049,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:109: -In file included from ../include/trace/perf.h:93: -../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/usb/host/xhci-trace.c:12: +In file included from ../drivers/usb/host/xhci-trace.h:626: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/host/xhci-trace.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 | DECLARE_EVENT_CLASS(xhci_log_free_virt_dev, @@ -20760,5 +19056,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), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -20766,2 +19059,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -20771,4 +19064,5 @@ -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 ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/host/xhci-trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/host] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20777,2 +19071,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/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, @@ -20789,2 +19083,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20793 +19087 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -20803,2 +19097,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20807 +19101 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -20817,2 +19111,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20821 +19115 @@ -../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/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] @@ -20831,2 +19125,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20835 +19129 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -20845,2 +19139,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20849 +19143 @@ -../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -20859,2 +19153,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20863,2 +19157,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/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, @@ -20875,2 +19169,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20879 +19173 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -20889,2 +19183,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20893 +19187 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -20903,2 +19197,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20907 +19201 @@ -../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/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] @@ -20917,2 +19211,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20921 +19215 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -20931,2 +19225,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20935 +19229 @@ -../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -20945,2 +19239,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20949,2 +19243,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/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, @@ -20961,2 +19255,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20965 +19259 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -20975,2 +19269,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20979 +19273 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -20989,2 +19283,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -20993 +19287 @@ -../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/workqueue.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21003,2 +19297,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -21007 +19301 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -21017,2 +19311,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -21021 +19315 @@ -../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -21031,2 +19325,2 @@ -In file included from ../mm/slab_common.c:36: -In file included from ../include/trace/events/kmem.h:415: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -21035,2 +19329,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/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, @@ -21049,3 +19343,4 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 -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: kernel/workqueue.o] Error 1 +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: @@ -21054,2 +19349,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, +../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, @@ -21066,2 +19361,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21070 +19365 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -21080,2 +19375,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21084 +19379 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -21094,2 +19389,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21098 +19393 @@ -../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] +../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] @@ -21108,2 +19403,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21112 +19407 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -21122,2 +19417,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21126 +19421 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -21136,2 +19431,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21140,2 +19435,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, +../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, @@ -21152,2 +19447,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21156 +19451 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -21166,2 +19461,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21170 +19465 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -21180,2 +19475,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21184 +19479 @@ -../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] +../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] @@ -21194,2 +19489,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21198 +19493 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -21208,2 +19503,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21212 +19507 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -21222,2 +19517,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21226,2 +19521,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, +../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, @@ -21238,2 +19533,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21242 +19537 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -21252,2 +19547,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21256 +19551 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -21266,2 +19561,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21270 +19565 @@ -../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] +../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] @@ -21280,2 +19575,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21284 +19579 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -21294,2 +19589,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21298 +19593 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -21308,2 +19603,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 ../arch/x86/kvm/x86.c:90: +In file included from ../arch/x86/kvm/trace.h:1882: @@ -21312,2 +19607,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, +../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, @@ -21326,7 +19621,5 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 -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: +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.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/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21335,2 +19628,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, +../drivers/usb/dwc3/trace.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(dwc3_log_io, @@ -21338,3 +19630,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21347,3 +19637,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21352,4 +19641 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -21362,3 +19648,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21367,4 +19652 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -21377,3 +19659,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21382,4 +19663 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21392,3 +19670,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21397,4 +19674 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -21407,3 +19681,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21412,4 +19685 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -21422,3 +19692,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21427,2 +19696,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, +../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_log_event, @@ -21430,3 +19698,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21439,3 +19705,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21444,4 +19709 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -21454,3 +19716,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21459,4 +19720 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -21469,3 +19727,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21474,4 +19731 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21484,3 +19738,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21489,4 +19742 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -21499,3 +19749,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21504,4 +19753 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -21514,3 +19760,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21519,2 +19764,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, +../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_log_ctrl, @@ -21522,3 +19766,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21531,3 +19773,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21536,4 +19777 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -21546,3 +19784,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21551,4 +19788 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -21561,3 +19795,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21566,4 +19799 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -21576,3 +19806,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21581,4 +19810 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -21591,3 +19817,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 ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: @@ -21596,4 +19821 @@ -../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, \ - | ^ +../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -21606,7 +19828,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: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, +In file included from ../drivers/usb/dwc3/trace.c:11: +In file included from ../drivers/usb/dwc3/trace.h:348: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/dwc3/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 | DECLARE_EVENT_CLASS(dwc3_log_request, @@ -21614,5 +19835,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), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -21620,2 +19838,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -21625,3 +19843,4 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 -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[6]: *** [../scripts/Makefile.build:244: drivers/usb/dwc3/trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/dwc3] 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: @@ -21630,2 +19849,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, +../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, @@ -21642,2 +19861,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21646 +19865 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -21656,2 +19875,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21660 +19879 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21: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' @@ -21670,2 +19889,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21674 +19893 @@ -../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] +../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] @@ -21684,2 +19903,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21688 +19907 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -21698,2 +19917,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21702 +19921 @@ -../drivers/net/wireless/ath/ath5k/trace.h:21: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' @@ -21712,2 +19931,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21716,2 +19935,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, +../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, @@ -21728,2 +19947,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21732 +19951 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -21742,2 +19961,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21746 +19965 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39: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' @@ -21756,2 +19975,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21760 +19979 @@ -../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] +../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] @@ -21770,2 +19989,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21774 +19993 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -21784,2 +20003,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21788 +20007 @@ -../drivers/net/wireless/ath/ath5k/trace.h:39: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' @@ -21798,2 +20017,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21802,2 +20021,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, +../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, @@ -21814,2 +20033,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21818 +20037 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -21828,2 +20047,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21832 +20051 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -21842,2 +20061,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21846 +20065 @@ -../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] +../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] @@ -21856,2 +20075,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21860 +20079 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -21870,2 +20089,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21874 +20093 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -21884,2 +20103,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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -21888,2 +20107,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, +../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, @@ -21902,5 +20121 @@ -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 -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]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 @@ -21908,2 +20123,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21912,2 +20127,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, +../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, @@ -21914,0 +20130,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21921,2 +20139,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21925 +20143,4 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -21932,2 +20153,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21936 +20157,4 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21943,2 +20167,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21947 +20171,4 @@ -../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] +../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, \ + | ^ @@ -21954,2 +20181,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21958 +20185,4 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -21965,2 +20195,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -21969 +20199,4 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -21976,6 +20209,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: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, +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, @@ -21983,2 +20216,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, \ @@ -21986,2 +20219,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), \ @@ -21989,7 +20222,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: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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -21997,2 +20225,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/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); \ @@ -22000,7 +20239,7 @@ -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), \ +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, \ @@ -22008,2 +20247,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); \ @@ -22011,7 +20253,7 @@ -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), \ +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, \ @@ -22019,2 +20261,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)(); \ @@ -22022,7 +20267,7 @@ -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), \ +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, \ @@ -22030,2 +20275,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)(); \ @@ -22033,7 +20281,7 @@ -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), \ +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, \ @@ -22041,2 +20289,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)(); \ @@ -22044,6 +20295,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: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, +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, @@ -22054,2 +20305,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) @@ -22057,2 +20308,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); \ @@ -22060,5 +20311,5 @@ -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' +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' @@ -22068,2 +20319,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) @@ -22071,2 +20322,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); \ @@ -22074,5 +20325,5 @@ -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' +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' @@ -22082,2 +20333,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) @@ -22085,2 +20336,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); \ @@ -22088,5 +20339,5 @@ -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] +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] @@ -22096,2 +20347,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) @@ -22099,2 +20350,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)(); \ @@ -22102,5 +20353,5 @@ -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' +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' @@ -22110,2 +20361,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) @@ -22113,2 +20364,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)(); \ @@ -22116,5 +20367,5 @@ -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' +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' @@ -22124,2 +20375,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) @@ -22127,2 +20378,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)(); \ @@ -22130,2 +20381,5 @@ -In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22134,2 +20388,2 @@ -../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, +../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, @@ -22137,5 +20391,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, \ @@ -22143,11 +20393,0 @@ -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/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, - | ^ @@ -22160,2 +20400,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22164 +20404,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32: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, \ + | ^ @@ -22171,2 +20414,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22175 +20418,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32: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, \ + | ^ @@ -22182,2 +20428,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22186 +20432,4 @@ -../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/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, \ + | ^ @@ -22193,2 +20442,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22197 +20446,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32: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, \ + | ^ @@ -22204,2 +20456,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22208 +20460,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32: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, \ + | ^ @@ -22215,2 +20470,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22219,2 +20474,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/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, @@ -22231,2 +20486,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22235 +20490 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -22245,2 +20500,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22249 +20504 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59: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' @@ -22259,2 +20514,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22263 +20518 @@ -../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/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] @@ -22273,2 +20528,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22277 +20532 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -22287,2 +20542,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22291 +20546 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59: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' @@ -22301,6 +20556,6 @@ -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, +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, @@ -22308,2 +20563,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, \ @@ -22311,2 +20566,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), \ @@ -22314,7 +20569,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: use of undeclared identifier 'preempt_notrace' -../include/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); \ @@ -22322,2 +20572,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/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); \ @@ -22325,7 +20586,7 @@ -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), \ +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, \ @@ -22333,2 +20594,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); \ @@ -22336,7 +20600,7 @@ -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), \ +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, \ @@ -22344,2 +20608,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)(); \ @@ -22347,7 +20614,7 @@ -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), \ +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, \ @@ -22355,2 +20622,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)(); \ @@ -22358,7 +20628,7 @@ -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), \ +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, \ @@ -22366,2 +20636,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)(); \ @@ -22369,2 +20642,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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -22373,2 +20646,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/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, @@ -22375,0 +20649,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22384,4 +20660,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 -make[8]: *** Waiting for unfinished jobs.... -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[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 +make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 +In file included from ../drivers/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22390,2 +20667,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, +../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, @@ -22402,2 +20679,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22406 +20683 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -22416,2 +20693,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22420 +20697 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -22430,2 +20707,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22434 +20711 @@ -../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/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] @@ -22444,2 +20721,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22448 +20725 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -22458,2 +20735,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22462 +20739 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -22472,2 +20749,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22476,2 +20753,2 @@ -../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/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, @@ -22488,2 +20765,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22492 +20769 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -22502,2 +20779,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22506 +20783 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -22516,2 +20793,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22520 +20797 @@ -../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/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] @@ -22530,2 +20807,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22534 +20811 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -22544,2 +20821,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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: @@ -22548 +20825 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -22558,2 +20835,108 @@ -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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/perf.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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/perf.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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/perf.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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/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/firewire/ohci.c:51: +In file included from ../include/trace/events/firewire_ohci.h:101: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../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/perf.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/firewire/ohci.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/firewire] Error 2 +In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22562,2 +20945,2 @@ -../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, +../drivers/usb/cdns3/cdns3-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 | TRACE_EVENT(cdns3_halt, @@ -22574,2 +20957,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22578 +20961 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -22588,2 +20971,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22592 +20975 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -22602,2 +20985,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22606 +20989 @@ -../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] +../drivers/usb/cdns3/cdns3-trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -22616,2 +20999,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22620 +21003 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -22630,2 +21013,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22634 +21017 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -22644,2 +21027,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22648,2 +21031,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/usb/cdns3/cdns3-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(cdns3_wa1, @@ -22660,6 +21043,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/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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22668,8 +21047,3 @@ -../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); \ +../drivers/usb/cdns3/cdns3-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, \ @@ -22677,5 +21050,0 @@ -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' @@ -22688,2 +21057,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22692 +21061,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22699,2 +21071,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22703 +21075,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/usb/cdns3/cdns3-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, \ + | ^ @@ -22710,2 +21085,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22714 +21089,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22721,2 +21099,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22725 +21103,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22732,2 +21113,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22736,2 +21117,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/usb/cdns3/cdns3-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(cdns3_wa2, @@ -22738,0 +21120,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22745,2 +21129,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22749 +21133,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22756,2 +21143,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22760 +21147,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22767,2 +21157,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22771 +21161,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/usb/cdns3/cdns3-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, \ + | ^ @@ -22778,2 +21171,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22782 +21175,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22789,2 +21185,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/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: @@ -22793 +21189,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdns3-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, \ + | ^ @@ -22800,74 +21199,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: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, +In file included from ../drivers/usb/cdns3/cdns3-trace.c:11: +In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/cdns3/cdns3-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 | DECLARE_EVENT_CLASS(cdns3_log_doorbell, @@ -22875,2 +21206,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -22878,2 +21209,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -22883,3 +21214,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 -In file included from ../drivers/net/hyperv/netvsc_trace.c:7: -In file included from ../drivers/net/hyperv/netvsc_trace.h:182: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/cdns3/cdns3-trace.o] Error 1 +make[6]: *** 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: @@ -22888,2 +21221,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/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, @@ -22890,0 +21224,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22897,2 +21233,3 @@ -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/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: @@ -22901 +21238,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22908,2 +21248,3 @@ -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/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: @@ -22912 +21253,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22919,2 +21263,3 @@ -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/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: @@ -22923 +21268,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/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, \ + | ^ @@ -22930,2 +21278,3 @@ -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/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: @@ -22934 +21283,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22941,2 +21293,3 @@ -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/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: @@ -22945 +21298,4 @@ -../drivers/net/hyperv/netvsc_trace.h:42: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22952,2 +21308,3 @@ -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/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: @@ -22956,2 +21313,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/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, @@ -22968,2 +21325,3 @@ -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/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: @@ -22972 +21330 @@ -../drivers/net/hyperv/netvsc_trace.h:115: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' @@ -22982,2 +21340,3 @@ -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/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: @@ -22986 +21345 @@ -../drivers/net/hyperv/netvsc_trace.h:115: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' @@ -22996,2 +21355,3 @@ -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/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: @@ -23000 +21360 @@ -../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/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] @@ -23010,2 +21370,3 @@ -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/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: @@ -23014 +21375 @@ -../drivers/net/hyperv/netvsc_trace.h:115: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' @@ -23024,2 +21385,3 @@ -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/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: @@ -23028 +21390 @@ -../drivers/net/hyperv/netvsc_trace.h:115: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' @@ -23038,2 +21400,3 @@ -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/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: @@ -23042,2 +21405,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/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, @@ -23054,2 +21417,3 @@ -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/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: @@ -23058 +21422 @@ -../drivers/net/hyperv/netvsc_trace.h:132: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' @@ -23068,2 +21432,3 @@ -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/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: @@ -23072 +21437 @@ -../drivers/net/hyperv/netvsc_trace.h:132: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' @@ -23082,2 +21447,3 @@ -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/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: @@ -23086 +21452 @@ -../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/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] @@ -23096,2 +21462,3 @@ -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/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: @@ -23100 +21467 @@ -../drivers/net/hyperv/netvsc_trace.h:132: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' @@ -23110,2 +21477,3 @@ -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/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: @@ -23114 +21482 @@ -../drivers/net/hyperv/netvsc_trace.h:132: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' @@ -23124,6 +21492,7 @@ -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, +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, @@ -23134,2 +21503,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), \ @@ -23137,2 +21506,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); \ @@ -23142,4 +21511,5 @@ -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/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[8]: *** 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: @@ -23148,2 +21518,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/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, @@ -23160,2 +21530,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23164 +21534 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13: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' @@ -23174,2 +21544,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23178 +21548 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13: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' @@ -23188,2 +21558,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23192 +21562 @@ -../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] +../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] @@ -23202,2 +21572,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23206 +21576 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13: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' @@ -23216,2 +21586,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23220 +21590 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13: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' @@ -23230,2 +21600,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23234,2 +21604,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/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, @@ -23246,2 +21616,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23250 +21620 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43: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' @@ -23260,2 +21630,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23264 +21634 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43: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' @@ -23274,2 +21644,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23278 +21648 @@ -../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] +../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] @@ -23288,2 +21658,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23292 +21662 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43: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' @@ -23302,2 +21672,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23306 +21676 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43: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' @@ -23316,2 +21686,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23320,2 +21690,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/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, @@ -23332,2 +21702,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23336 +21706 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73: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' @@ -23346,2 +21716,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23350 +21720 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73: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' @@ -23360,2 +21730,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23364 +21734 @@ -../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/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] @@ -23374,2 +21744,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23378 +21748 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73: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' @@ -23388,2 +21758,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/broadcom/brcm80211/brcmfmac/tracepoint.c:12: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: @@ -23392 +21762 @@ -../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73: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' @@ -23402,6 +21772,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: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, +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, @@ -23412,2 +21782,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -23415,2 +21785,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -23420,3 +21790,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[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[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 @@ -23424,2 +21795,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23428,2 +21799,2 @@ -../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, +../drivers/usb/mtu3/mtu3_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(mtu3_log, @@ -23430,0 +21802,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23437,2 +21811,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23441 +21815,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23448,2 +21825,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23452 +21829,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23459,2 +21839,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23463 +21843,4 @@ -../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] +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23470,2 +21853,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23474 +21857,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23481,2 +21867,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23485 +21871,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23492,2 +21881,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23496,2 +21885,2 @@ -../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, +../drivers/usb/mtu3/mtu3_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(mtu3_u3_ltssm_isr, @@ -23498,0 +21888,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23505,2 +21897,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23509 +21901,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23516,2 +21911,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23520 +21915,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23527,2 +21925,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23531 +21929,4 @@ -../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] +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23538,2 +21939,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23542 +21943,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23549,2 +21953,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23553 +21957,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_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, \ + | ^ @@ -23560,2 +21967,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23564,2 +21971,2 @@ -../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, +../drivers/usb/mtu3/mtu3_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(mtu3_u2_common_isr, @@ -23566,0 +21974,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23573,2 +21983,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23577 +21987,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_trace.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, \ + | ^ @@ -23584,2 +21997,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23588 +22001,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_trace.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, \ + | ^ @@ -23595,2 +22011,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23599 +22015,4 @@ -../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] +../drivers/usb/mtu3/mtu3_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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23606,2 +22025,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23610 +22029,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/mtu3/mtu3_trace.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, \ + | ^ @@ -23617,2 +22039,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23621 +22043,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/mtu3/mtu3_trace.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, \ + | ^ @@ -23628,2 +22053,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 ../drivers/usb/mtu3/mtu3_trace.c:12: +In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: @@ -23632,2 +22057,2 @@ -../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, +../drivers/usb/mtu3/mtu3_trace.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(mtu3_qmu_isr, @@ -23634,0 +22060,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23643,5 +22071,4 @@ -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/mediatek/mt7601u/trace.c:11: -In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/mtu3/mtu3_trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/mtu3] Error 2 +In file included from ../drivers/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23650,2 +22077,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/usb/gadget/udc/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 | DECLARE_EVENT_CLASS(udc_log_gadget, @@ -23659,2 +22086,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23663 +22090 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -23670,2 +22097,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23674 +22101 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -23681,2 +22108,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23685 +22112 @@ -../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/usb/gadget/udc/trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23692,2 +22119,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23696 +22123 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' @@ -23703,2 +22130,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23707 +22134 @@ -../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' @@ -23714,2 +22141,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23718,2 +22145,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/usb/gadget/udc/trace.h:144:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 144 | DECLARE_EVENT_CLASS(udc_log_ep, @@ -23721,3 +22147,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -23730,2 +22154,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23734,4 +22158 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' @@ -23744,2 +22165,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23748,4 +22169 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' @@ -23758,2 +22176,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23762,4 +22180 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:144:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23772,2 +22187,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23776,4 +22191 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' @@ -23786,2 +22198,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23790,4 +22202 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' @@ -23800,2 +22209,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23804,2 +22213,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/usb/gadget/udc/trace.h:218:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 218 | DECLARE_EVENT_CLASS(udc_log_req, @@ -23807,3 +22215,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -23816,2 +22222,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23820,4 +22226 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'preempt_notrace' @@ -23830,2 +22233,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23834,4 +22237 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'trace_event_guard' @@ -23844,2 +22244,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23848,4 +22248 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:218:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23858,2 +22255,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23862,4 +22259 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'preempt_notrace' @@ -23872,2 +22266,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/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: @@ -23876,4 +22270 @@ -../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, \ - | ^ +../drivers/usb/gadget/udc/trace.h:218:1: error: use of undeclared identifier 'trace_event_guard' @@ -23886,6 +22277,6 @@ -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, +In file included from ../drivers/usb/gadget/udc/trace.c:10: +In file included from ../drivers/usb/gadget/udc/trace.h:294: +In file included from ../include/trace/define_trace.h:109: +In file included from ../include/trace/perf.h:93: +../drivers/usb/gadget/udc/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 | DECLARE_EVENT_CLASS(udc_log_gadget, @@ -23893,5 +22284,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), \ @@ -23899,2 +22287,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); \ @@ -23904,2 +22292 @@ -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]: *** [../scripts/Makefile.build:244: drivers/usb/gadget/udc/trace.o] Error 1 @@ -23907,2 +22294,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23911,2 +22298,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/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, @@ -23923,2 +22310,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23927 +22314 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -23937,2 +22324,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23941 +22328 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36: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' @@ -23951,2 +22338,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23955 +22342 @@ -../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] +../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] @@ -23965,2 +22352,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23969 +22356 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -23979,2 +22366,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23983 +22370 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36: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' @@ -23993,2 +22380,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -23997,2 +22384,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/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, @@ -24009,2 +22396,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24013 +22400 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -24023,2 +22410,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24027 +22414 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67: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' @@ -24037,2 +22424,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24041 +22428 @@ -../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] +../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] @@ -24051,2 +22438,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24055 +22442 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -24065,2 +22452,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24069 +22456 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67: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' @@ -24079,2 +22466,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24083,2 +22470,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/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, @@ -24095,2 +22482,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24099 +22486 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -24109,2 +22496,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24113 +22500 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94: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' @@ -24123,2 +22510,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24127 +22514 @@ -../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/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] @@ -24137,2 +22524,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24141 +22528 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -24151,2 +22538,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/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -24155 +22542 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94: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' @@ -24165,6 +22552,6 @@ -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, +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, @@ -24172,2 +22559,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, \ @@ -24175,2 +22562,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); \ @@ -24180,4 +22570,4 @@ -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/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24186,2 +22576,2 @@ -../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, +../drivers/usb/chipidea/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(ci_log, @@ -24188,0 +22579,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24195,2 +22588,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24199 +22592,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/chipidea/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, \ + | ^ @@ -24206,2 +22602,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24210 +22606,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/chipidea/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, \ + | ^ @@ -24217,2 +22616,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24221 +22620,4 @@ -../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] +../drivers/usb/chipidea/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, \ + | ^ @@ -24228,2 +22630,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24232 +22634,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/chipidea/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, \ + | ^ @@ -24239,2 +22644,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24243 +22648,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/chipidea/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, \ + | ^ @@ -24250,2 +22658,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24254,2 +22662,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/usb/chipidea/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 | DECLARE_EVENT_CLASS(ci_log_trb, @@ -24257,3 +22664,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24266,2 +22671,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24270,4 +22675 @@ -../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, \ - | ^ +../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -24280,2 +22682,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24284,4 +22686 @@ -../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, \ - | ^ +../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -24294,2 +22693,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24298,4 +22697 @@ -../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, \ - | ^ +../drivers/usb/chipidea/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24308,2 +22704,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24312,4 +22708 @@ -../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, \ - | ^ +../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -24322,2 +22715,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24326,4 +22719 @@ -../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, \ - | ^ +../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -24336,2 +22726,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24340,2 +22730,2 @@ -../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, +../drivers/usb/chipidea/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(ci_log, @@ -24342,0 +22733,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24349,2 +22742,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24353 +22746,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/chipidea/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, \ + | ^ @@ -24360,2 +22756,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24364 +22760,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/chipidea/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, \ + | ^ @@ -24371,2 +22770,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24375 +22774,4 @@ -../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] +../drivers/usb/chipidea/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, \ + | ^ @@ -24382,2 +22784,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24386 +22788,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/chipidea/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, \ + | ^ @@ -24393,2 +22798,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24397 +22802,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/chipidea/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, \ + | ^ @@ -24404,2 +22812,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/usb/chipidea/trace.c:11: +In file included from ../drivers/usb/chipidea/trace.h:92: @@ -24408,2 +22816,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/usb/chipidea/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 | DECLARE_EVENT_CLASS(ci_log_trb, @@ -24411,3 +22818,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24422,3 +22827,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 -In file included from ../drivers/net/thunderbolt/trace.c:10: -In file included from ../drivers/net/thunderbolt/trace.h:141: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/chipidea/trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/chipidea] Error 2 +In file included from ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24427,2 +22833,2 @@ -../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, +../drivers/usb/typec/ucsi/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(ucsi_log_command, @@ -24436,2 +22842,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24440 +22846 @@ -../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -24447,2 +22853,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24451 +22857 @@ -../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -24458,2 +22864,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24462 +22868 @@ -../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] +../drivers/usb/typec/ucsi/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24469,2 +22875,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24473 +22879 @@ -../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -24480,2 +22886,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24484 +22890 @@ -../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -24491,2 +22897,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24495,2 +22901,2 @@ -../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, +../drivers/usb/typec/ucsi/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(ucsi_log_connector_status, @@ -24504,2 +22910,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24508 +22914 @@ -../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -24515,2 +22921,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24519 +22925 @@ -../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -24526,2 +22932,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24530 +22936 @@ -../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] +../drivers/usb/typec/ucsi/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24537,2 +22943,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24541 +22947 @@ -../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -24548,2 +22954,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24552 +22958 @@ -../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -24559,2 +22965,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24563,2 +22969,2 @@ -../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, +../drivers/usb/typec/ucsi/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 | DECLARE_EVENT_CLASS(ucsi_log_register_altmode, @@ -24572,2 +22978,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24576 +22982 @@ -../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -24583,2 +22989,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24587 +22993 @@ -../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -24594,2 +23000,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24598 +23004 @@ -../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] +../drivers/usb/typec/ucsi/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -24605,2 +23011,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24609 +23015 @@ -../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -24616,2 +23022,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24620 +23026 @@ -../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -24627,2 +23033,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 ../drivers/usb/typec/ucsi/trace.c:4: +In file included from ../drivers/usb/typec/ucsi/trace.h:120: @@ -24631,2 +23037,2 @@ -../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, +../drivers/usb/typec/ucsi/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(ucsi_log_command, @@ -24642,4 +23048,5 @@ -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/ethernet/freescale/dpaa/dpaa_eth.c:45: -In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +make[7]: *** [../scripts/Makefile.build:244: drivers/usb/typec/ucsi/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/usb/typec/ucsi] 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: @@ -24648,2 +23055,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/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, @@ -24657,2 +23064,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24661 +23068 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -24668,2 +23075,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24672 +23079 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -24679,2 +23086,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24683 +23090 @@ -../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/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] @@ -24690,2 +23097,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24694 +23101 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -24701,2 +23108,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24705 +23112 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -24712,140 +23119,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: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 -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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24854,2 +23123,2 @@ -../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, +../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, @@ -24863,2 +23132,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24867 +23136 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -24874,2 +23143,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24878 +23147 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -24885,2 +23154,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24889 +23158 @@ -../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] +../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] @@ -24896,2 +23165,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24900 +23169 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' @@ -24907,2 +23176,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -24911 +23180 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' @@ -24918,143 +23187,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 ../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[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/virtio] 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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25063,2 +23191,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/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, @@ -25075,2 +23203,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25079 +23207 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -25089,2 +23217,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25093 +23221 @@ -../arch/x86/kvm/mmu/mmutrace.h:67: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' @@ -25103,2 +23231,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25107 +23235 @@ -../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/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] @@ -25117,2 +23245,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25121 +23249 @@ -../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -25131,2 +23259,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 ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -25135 +23263 @@ -../arch/x86/kvm/mmu/mmutrace.h:67: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' @@ -25145,2 +23273,19 @@ -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/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: @@ -25149,2 +23294,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/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, @@ -25161,2 +23306,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25165 +23310 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -25175,2 +23320,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25179 +23324 @@ -../arch/x86/kvm/mmu/mmutrace.h:88: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' @@ -25189,2 +23334,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25193 +23338 @@ -../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/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] @@ -25203,2 +23348,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25207 +23352 @@ -../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -25217,2 +23362,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25221 +23366 @@ -../arch/x86/kvm/mmu/mmutrace.h:88: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' @@ -25231,2 +23376,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25235,2 +23380,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/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, @@ -25237,0 +23383,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25244,2 +23392,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25248 +23396,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -25255,2 +23406,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25259 +23410,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25266,2 +23420,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25270 +23424,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/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, \ + | ^ @@ -25277,2 +23434,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25281 +23438,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -25288,2 +23448,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25292 +23452,4 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25299,2 +23462,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25303,2 +23466,2 @@ -../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( +../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, @@ -25315,7 +23478,2 @@ -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/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25324,8 +23482,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/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, \ @@ -25333,5 +23485,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' @@ -25344,2 +23492,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/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25348 +23496,4 @@ -../include/trace/events/iscsi.h:21: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25355,2 +23506,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/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25359 +23510,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/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, \ + | ^ @@ -25366,2 +23520,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/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25370 +23524,4 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -25377,2 +23534,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/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -25381 +23538,4 @@ -../include/trace/events/iscsi.h:21: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25388,74 +23548,6 @@ -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, +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, @@ -25463,35 +23555,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/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/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -25499,10 +23558,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/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/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -25510,10 +23561,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/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/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -25521,8 +23564,6 @@ -../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/net/fjes/fjes_trace.c:13: -In file included from ../drivers/net/fjes/fjes_trace.h:365: +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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25531,2 +23572,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/usb/typec/tipd/trace.h:233:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 233 | TRACE_EVENT(tps6598x_irq, @@ -25543,2 +23584,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25547 +23588 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'preempt_notrace' @@ -25557,2 +23598,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25561 +23602 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'trace_event_guard' @@ -25571,2 +23612,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25575 +23616 @@ -../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/usb/typec/tipd/trace.h:233:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25585,2 +23626,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25589 +23630 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'preempt_notrace' @@ -25599,2 +23640,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25603 +23644 @@ -../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:233:1: error: use of undeclared identifier 'trace_event_guard' @@ -25613,2 +23654,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25617,2 +23658,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/usb/typec/tipd/trace.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 | TRACE_EVENT(cd321x_irq, @@ -25629,2 +23670,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25633 +23674 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' @@ -25643,2 +23684,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25647 +23688 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'trace_event_guard' @@ -25657,2 +23698,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25661 +23702 @@ -../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/usb/typec/tipd/trace.h:253:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25671,2 +23712,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25675 +23716 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' @@ -25685,2 +23726,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25689 +23730 @@ -../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'trace_event_guard' @@ -25699,2 +23740,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25703,2 +23744,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/usb/typec/tipd/trace.h:269:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 269 | TRACE_EVENT(tps25750_irq, @@ -25715,2 +23756,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25719 +23760 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'preempt_notrace' @@ -25729,2 +23770,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25733 +23774 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'trace_event_guard' @@ -25743,2 +23784,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25747 +23788 @@ -../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/usb/typec/tipd/trace.h:269:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25757,2 +23798,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25761 +23802 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'preempt_notrace' @@ -25771,2 +23812,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25775 +23816 @@ -../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/typec/tipd/trace.h:269:1: error: use of undeclared identifier 'trace_event_guard' @@ -25785,2 +23826,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/usb/typec/tipd/trace.c:9: +In file included from ../drivers/usb/typec/tipd/trace.h:398: @@ -25789,2 +23830,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/usb/typec/tipd/trace.h:284:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 284 | TRACE_EVENT(tps6598x_status, @@ -25803,4 +23844,5 @@ -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 ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +make[7]: *** [../scripts/Makefile.build:244: drivers/usb/typec/tipd/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/usb/typec/tipd] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/typec] Error 2 +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25809,2 +23851,2 @@ -../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, +../drivers/usb/cdns3/cdnsp-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 | DECLARE_EVENT_CLASS(cdnsp_log_ep, @@ -25818,2 +23860,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25822 +23864 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdnsp-trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -25829,2 +23871,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25833 +23875 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdnsp-trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -25840,2 +23882,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25844 +23886 @@ -../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/usb/cdns3/cdnsp-trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25851,2 +23893,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25855 +23897 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/cdns3/cdnsp-trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -25862,2 +23904,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25866 +23908 @@ -../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/cdns3/cdnsp-trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -25873,2 +23915,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25877,2 +23919,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/usb/cdns3/cdnsp-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 | DECLARE_EVENT_CLASS(cdnsp_log_enable_disable, @@ -25880,3 +23921,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -25889,2 +23928,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25893,4 +23932 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -25903,2 +23939,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25907,4 +23943 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -25917,2 +23950,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25921,4 +23954 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -25931,2 +23961,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25935,4 +23965 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -25945,2 +23972,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25949,4 +23976 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -25959,2 +23983,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25963,2 +23987,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/usb/cdns3/cdnsp-trace.h:134:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 134 | DECLARE_EVENT_CLASS(cdnsp_log_simple, @@ -25966,3 +23989,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -25975,2 +23996,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25979,4 +24000 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'preempt_notrace' @@ -25989,2 +24007,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -25993,4 +24011 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'trace_event_guard' @@ -26003,2 +24018,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -26007,4 +24022 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26017,2 +24029,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -26021,4 +24033 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'preempt_notrace' @@ -26031,2 +24040,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -26035,4 +24044 @@ -../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, \ - | ^ +../drivers/usb/cdns3/cdnsp-trace.h:134:1: error: use of undeclared identifier 'trace_event_guard' @@ -26045,2 +24051,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: +In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: @@ -26049,2 +24055,2 @@ -../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, +../drivers/usb/cdns3/cdnsp-trace.h:191:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 191 | TRACE_EVENT(cdnsp_looking_trb_in_td, @@ -26063,5 +24069,4 @@ -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/ath/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/cdns3/cdnsp-trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/cdns3] 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: @@ -26070,2 +24075,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/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, @@ -26079,2 +24084,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26083 +24088 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -26090,2 +24095,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26094 +24099 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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' @@ -26101,2 +24106,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26105 +24110 @@ -../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/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] @@ -26112,2 +24117,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26116 +24121 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -26123,2 +24128,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26127 +24132 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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' @@ -26134,2 +24139,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26138,2 +24143,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/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, @@ -26150,2 +24155,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26154 +24159 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -26164,2 +24169,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26168 +24173 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -26178,2 +24183,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26182 +24187 @@ -../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/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] @@ -26192,2 +24197,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26196 +24201 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -26206,2 +24211,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26210 +24215 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -26220,2 +24225,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26224,2 +24229,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/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, @@ -26236,2 +24241,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26240 +24245 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -26250,2 +24255,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26254 +24259 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108: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' @@ -26264,2 +24269,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26268 +24273 @@ -../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/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] @@ -26278,2 +24283,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26282 +24287 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt7601u/trace.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -26292,2 +24297,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26296 +24301 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108: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' @@ -26306,2 +24311,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/wireless/mediatek/mt7601u/trace.c:11: +In file included from ../drivers/net/wireless/mediatek/mt7601u/trace.h:392: @@ -26310,2 +24315,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/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, @@ -26324,5 +24329,5 @@ -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/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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26331,2 +24336,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/usb/musb/musb_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(musb_log, @@ -26343,3 +24348,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26348 +24352 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -26358,3 +24362,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26363 +24366 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -26373,3 +24376,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26378 +24380 @@ -../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/usb/musb/musb_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26388,3 +24390,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26393 +24394 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -26403,3 +24404,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26408 +24408 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' @@ -26418,3 +24418,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26423,2 +24422,2 @@ -../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, +../drivers/usb/musb/musb_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(musb_state, @@ -26435,3 +24434,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26440 +24438 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/musb/musb_trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -26450,3 +24448,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26455 +24452 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/musb/musb_trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -26465,3 +24462,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26470 +24466 @@ -../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] +../drivers/usb/musb/musb_trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26480,3 +24476,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26485 +24480 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/usb/musb/musb_trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' @@ -26495,3 +24490,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26500 +24494 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/usb/musb/musb_trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' @@ -26510,3 +24504,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26515,2 +24508,2 @@ -../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, +../drivers/usb/musb/musb_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 | DECLARE_EVENT_CLASS(musb_regb, @@ -26518,3 +24510,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26527,3 +24517,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26532,4 +24521 @@ -../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, \ - | ^ +../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -26542,3 +24528,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26547,4 +24532 @@ -../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, \ - | ^ +../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -26557,3 +24539,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26562,4 +24543 @@ -../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, \ - | ^ +../drivers/usb/musb/musb_trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -26572,3 +24550,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26577,4 +24554 @@ -../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, \ - | ^ +../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -26587,3 +24561,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26592,4 +24565 @@ -../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, \ - | ^ +../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -26602,3 +24572,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/usb/musb/musb_trace.c:11: +In file included from ../drivers/usb/musb/musb_trace.h:389: @@ -26607,2 +24576,2 @@ -../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, +../drivers/usb/musb/musb_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 | DECLARE_EVENT_CLASS(musb_regw, @@ -26610,3 +24578,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26621,5 +24587,4 @@ -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/gpu/drm/scheduler/sched_main.c:88: -In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: +make[6]: *** [../scripts/Makefile.build:244: drivers/usb/musb/musb_trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/musb] 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: @@ -26628,2 +24593,2 @@ -../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, +../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, @@ -26637,2 +24602,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26641 +24606 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -26648,2 +24613,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26652 +24617 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35: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' @@ -26659,2 +24624,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26663 +24628 @@ -../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] +../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] @@ -26670,2 +24635,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26674 +24639 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -26681,2 +24646,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26685 +24650 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35: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' @@ -26692,2 +24657,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26696,2 +24661,2 @@ -../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, +../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, @@ -26708,2 +24673,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26712 +24677 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -26722,2 +24687,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26726 +24691 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72: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' @@ -26736,2 +24701,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26740 +24705 @@ -../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] +../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] @@ -26750,2 +24715,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26754 +24719 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -26764,2 +24729,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26768 +24733 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72: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' @@ -26778,2 +24743,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26782,2 +24747,2 @@ -../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, +../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, @@ -26785,3 +24749,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26794,2 +24756,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26798,4 +24760 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -26808,2 +24767,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26812,4 +24771 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -26822,2 +24778,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26826,4 +24782 @@ -../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, \ - | ^ +../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] @@ -26836,2 +24789,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26840,4 +24793 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -26850,2 +24800,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26854,4 +24804 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -26864,2 +24811,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -26868,2 +24815,2 @@ -../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, +../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, @@ -26879,3 +24826,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/scheduler/sched_main.o] Error 1 -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/mediatek/mt76/trace.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26884,2 +24832,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/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, @@ -26887,3 +24834,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26896,2 +24841,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26900,4 +24845 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -26910,2 +24852,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26914,4 +24856 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -26924,2 +24863,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26928,4 +24867 @@ -../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, \ - | ^ +../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] @@ -26938,2 +24874,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26942,4 +24878 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -26952,2 +24885,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26956,4 +24889 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -26966,2 +24896,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26970,2 +24900,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/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, @@ -26982,2 +24912,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -26986 +24916 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -26996,2 +24926,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27000 +24930 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35: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' @@ -27010,2 +24940,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27014 +24944 @@ -../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/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] @@ -27024,2 +24954,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27028 +24958 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -27038,2 +24968,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27042 +24972 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35: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' @@ -27052,2 +24982,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27056,2 +24986,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/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, @@ -27068,2 +24998,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27072 +25002 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -27082,2 +25012,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27086 +25016 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50: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' @@ -27096,2 +25026,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27100 +25030 @@ -../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/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] @@ -27110,2 +25040,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27114 +25044 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -27124,2 +25054,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27128 +25058 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50: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' @@ -27138,2 +25068,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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -27142,2 +25072,2 @@ -../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, +../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, @@ -27156,7 +25086,4 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/scheduler] Error 2 -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/wireless/ath/ath12k/trace.c:10: -In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: +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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27165,2 +25092,2 @@ -../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, +../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, @@ -27168,3 +25094,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27177,2 +25101,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27181,4 +25105 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' @@ -27191,2 +25112,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27195,4 +25116 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' @@ -27205,2 +25123,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27209,4 +25127 @@ -../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, \ - | ^ +../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] @@ -27219,2 +25134,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27223,4 +25138 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' @@ -27233,2 +25145,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27237,4 +25149 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' @@ -27247,2 +25156,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27251,2 +25160,2 @@ -../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, +../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, @@ -27254,3 +25162,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27263,2 +25169,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27267,4 +25173 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' @@ -27277,2 +25180,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27281,4 +25184 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' @@ -27291,2 +25191,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27295,4 +25195 @@ -../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, \ - | ^ +../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] @@ -27305,2 +25202,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27309,4 +25206 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' @@ -27319,2 +25213,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27323,4 +25217 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' @@ -27333,2 +25224,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27337,2 +25228,2 @@ -../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, +../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, @@ -27340,3 +25230,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27349,2 +25237,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27353,4 +25241 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' @@ -27363,2 +25248,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27367,4 +25252 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' @@ -27377,2 +25259,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27381,4 +25263 @@ -../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, \ - | ^ +../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] @@ -27391,2 +25270,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27395,4 +25274 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' @@ -27405,2 +25281,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27409,4 +25285 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' @@ -27419,2 +25292,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 ../drivers/net/wireless/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -27423,2 +25296,2 @@ -../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, +../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, @@ -27426,3 +25298,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27437,5 +25307,5 @@ -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 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 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: +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/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27444,2 +25314,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/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, @@ -27456,2 +25326,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27460 +25330 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -27470,2 +25340,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27474 +25344 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -27484,2 +25354,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27488 +25358 @@ -../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/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] @@ -27498,2 +25368,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27502 +25372 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -27512,2 +25382,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27516 +25386 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -27526,2 +25396,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27530,2 +25400,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/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, @@ -27542,2 +25412,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27546 +25416 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -27556,2 +25426,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27560 +25430 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -27570,2 +25440,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27574 +25444 @@ -../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/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] @@ -27584,2 +25454,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27588 +25458 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -27598,2 +25468,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27602 +25472 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -27612,2 +25482,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27616,2 +25486,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/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, @@ -27628,2 +25498,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27632 +25502 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -27642,2 +25512,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27646 +25516 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -27656,2 +25526,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27660 +25530 @@ -../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/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] @@ -27670,2 +25540,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27674 +25544 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -27684,2 +25554,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27688 +25558 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -27698,2 +25568,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/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -27702,2 +25572,2 @@ -../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, +../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, @@ -27716,4 +25586,4 @@ -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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: +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/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27722,2 +25592,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, +../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, @@ -27725,3 +25594,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27734,2 +25601,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27738,4 +25605 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -27748,2 +25612,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27752,4 +25616 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -27762,2 +25623,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27766,4 +25627 @@ -../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, \ - | ^ +../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] @@ -27776,2 +25634,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27780,4 +25638 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -27790,2 +25645,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27794,3 +25649,60 @@ -../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, \ +../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), \ @@ -27797,0 +25710,8 @@ +../include/trace/trace_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' @@ -27804,2 +25724,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27808,2 +25728,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, +../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, @@ -27811,3 +25730,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -27820,2 +25737,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27824,4 +25741 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -27834,2 +25748,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27838,4 +25752 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -27848,2 +25759,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27852,4 +25763 @@ -../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, \ - | ^ +../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] @@ -27862,2 +25770,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27866,4 +25774 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -27876,2 +25781,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 ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -27880,4 +25785 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -27890,6 +25792,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 ../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, @@ -27897,72 +25799,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 ../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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -27970,2 +25802,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); \ @@ -27973,7 +25805,5 @@ -../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 -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: +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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -27982,2 +25812,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, +../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, @@ -27991,2 +25821,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -27995 +25825 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28002,2 +25832,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28006 +25836 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28013,2 +25843,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28017 +25847 @@ -../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/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] @@ -28024,2 +25854,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28028 +25858 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28035,2 +25865,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28039 +25869 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28046,2 +25876,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28050,2 +25880,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, +../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, @@ -28059,2 +25889,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28063 +25893 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28070,2 +25900,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28074 +25904 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28081,2 +25911,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28085 +25915 @@ -../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/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] @@ -28092,2 +25922,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28096 +25926 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28103,2 +25933,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28107 +25937 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28114,2 +25944,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28118,2 +25948,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, +../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, @@ -28127,2 +25957,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28131 +25961 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28138,2 +25968,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28142 +25972 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -28149,2 +25979,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28153 +25983 @@ -../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/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] @@ -28160,2 +25990,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28164 +25994 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28171,2 +26001,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/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -28175 +26005 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -28183,4 +26013,5 @@ -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 -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[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/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: @@ -28189,2 +26020,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/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, @@ -28201,2 +26032,3 @@ -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/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: @@ -28205 +26037 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16: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' @@ -28215,2 +26047,3 @@ -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/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: @@ -28219 +26052 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16: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' @@ -28229,2 +26062,3 @@ -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/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: @@ -28233 +26067 @@ -../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] +../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] @@ -28243,2 +26077,3 @@ -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/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: @@ -28247 +26082 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16: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' @@ -28257,2 +26092,3 @@ -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/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: @@ -28261 +26097 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16: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' @@ -28271,2 +26107,3 @@ -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/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: @@ -28275,2 +26112,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/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, @@ -28287,2 +26124,3 @@ -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/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: @@ -28291 +26129 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47: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' @@ -28301,2 +26139,3 @@ -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/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: @@ -28305 +26144 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47: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' @@ -28315,2 +26154,3 @@ -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/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: @@ -28319 +26159 @@ -../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/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] @@ -28329,2 +26169,3 @@ -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/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: @@ -28333 +26174 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47: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' @@ -28343,2 +26184,3 @@ -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/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: @@ -28347 +26189 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:47: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' @@ -28357,2 +26199,3 @@ -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/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: @@ -28361,2 +26204,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/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, @@ -28363,0 +26207,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -28370,2 +26216,3 @@ -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/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: @@ -28374 +26221,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80: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, \ + | ^ @@ -28381,2 +26231,3 @@ -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/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: @@ -28385 +26236,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80: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, \ + | ^ @@ -28392,2 +26246,3 @@ -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/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: @@ -28396 +26251,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/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, \ + | ^ @@ -28403,2 +26261,3 @@ -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/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: @@ -28407 +26266,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80: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, \ + | ^ @@ -28414,2 +26276,3 @@ -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/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: @@ -28418 +26281,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80: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, \ + | ^ @@ -28425,6 +26291,7 @@ -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, +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, @@ -28435,2 +26302,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -28438,2 +26305,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -28443,7 +26310,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 -make[8]: *** Waiting for unfinished jobs.... -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/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +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: @@ -28452,2 +26317,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/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, @@ -28464,2 +26329,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28468 +26333 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -28478,2 +26343,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28482 +26347 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17: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' @@ -28492,2 +26357,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28496 +26361 @@ -../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/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] @@ -28506,2 +26371,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28510 +26375 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -28520,2 +26385,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28524 +26389 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:17: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' @@ -28534,2 +26399,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28538,2 +26403,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/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, @@ -28550,2 +26415,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28554 +26419 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -28564,2 +26429,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28568 +26433 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37: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' @@ -28578,2 +26443,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28582 +26447 @@ -../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/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] @@ -28592,2 +26457,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28596 +26461 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -28606,2 +26471,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28610 +26475 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37: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' @@ -28620,2 +26485,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28624,2 +26489,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/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, @@ -28636,2 +26501,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28640 +26505 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -28650,2 +26515,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28654 +26519 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -28664,2 +26529,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28668 +26533 @@ -../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/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] @@ -28678,2 +26543,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28682 +26547 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -28692,2 +26557,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28696 +26561 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -28706,2 +26571,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/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -28710,2 +26575,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/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, @@ -28713,3 +26577,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -28724,4 +26586,5 @@ -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/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +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/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28730,2 +26593,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/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, @@ -28739,2 +26602,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28743 +26606 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28750,2 +26613,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28754 +26617 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28761,2 +26624,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28765 +26628 @@ -../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/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] @@ -28772,2 +26635,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28776 +26639 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28783,2 +26646,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28787 +26650 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28794,2 +26657,88 @@ -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/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: @@ -28798,2 +26747,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/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, @@ -28807,2 +26756,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28811 +26760 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28818,2 +26767,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28822 +26771 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28829,2 +26778,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28833 +26782 @@ -../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/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] @@ -28840,2 +26789,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28844 +26793 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28851,2 +26800,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -28855 +26804 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -28862,6 +26811,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/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, @@ -28869,35 +26818,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, \ @@ -28905,10 +26821,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/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -28916,10 +26824,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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -28927,8 +26827,5 @@ -../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/lima/lima_trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] Error 2 -In file included from ../drivers/gpu/drm/tegra/trace.c:2: -In file included from ../drivers/gpu/drm/tegra/trace.h:68: +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/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -28937,2 +26834,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, @@ -28946,2 +26843,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: @@ -28950 +26847 @@ -../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' @@ -28957,2 +26854,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: @@ -28961 +26858 @@ -../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' @@ -28968,2 +26865,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: @@ -28972 +26869 @@ -../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] @@ -28979,2 +26876,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: @@ -28983 +26880 @@ -../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' @@ -28990,2 +26887,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: @@ -28994 +26891 @@ -../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' @@ -29001,2 +26898,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: @@ -29005,2 +26902,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, @@ -29014,2 +26911,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: @@ -29018 +26915 @@ -../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' @@ -29025,2 +26922,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: @@ -29029 +26926 @@ -../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' @@ -29036,2 +26933,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: @@ -29040 +26937 @@ -../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] @@ -29047,2 +26944,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: @@ -29051 +26948 @@ -../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' @@ -29058,2 +26955,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: @@ -29062 +26959 @@ -../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' @@ -29069,2 +26966,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: @@ -29073,2 +26970,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, @@ -29082,2 +26979,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: @@ -29086 +26983 @@ -../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' @@ -29093,2 +26990,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: @@ -29097 +26994 @@ -../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' @@ -29104,2 +27001,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: @@ -29108 +27005 @@ -../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] @@ -29115,2 +27012,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: @@ -29119 +27016 @@ -../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' @@ -29126,2 +27023,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: @@ -29130 +27027 @@ -../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' @@ -29138,4 +27035,4 @@ -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: +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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29144,2 +27041,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/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, @@ -29146,0 +27044,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29153,2 +27053,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29157 +27057,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29164,2 +27067,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29168 +27071,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29175,2 +27081,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29179 +27085,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/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, \ + | ^ @@ -29186,2 +27095,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29190 +27099,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29197,2 +27109,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29201 +27113,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29208,2 +27123,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29212,2 +27127,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/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, @@ -29224,2 +27139,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29228 +27143 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -29238,2 +27153,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29242 +27157 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -29252,2 +27167,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29256 +27171 @@ -../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/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] @@ -29266,2 +27181,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29270 +27185 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -29280,2 +27195,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29284 +27199 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -29294,2 +27209,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29298,2 +27213,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/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, @@ -29310,2 +27225,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29314 +27229 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -29324,2 +27239,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29328 +27243 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -29338,2 +27253,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29342 +27257 @@ -../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/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] @@ -29352,2 +27267,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29356 +27271 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -29366,2 +27281,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29370 +27285 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -29380,2 +27295,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/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: @@ -29384,2 +27299,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/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, @@ -29386,0 +27302,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29395 +27313,249 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 +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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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 | DECLARE_EVENT_CLASS(cdns2_log_enable_disable, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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 | DECLARE_EVENT_CLASS(cdns2_log_simple, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-trace.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 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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(cdns2_ep_halt, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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/usb/gadget/udc/cdns2/cdns2-trace.c:11: +In file included from ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:605: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/usb/gadget/udc/cdns2/cdns2-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 | TRACE_EVENT(cdns2_wa1, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/usb/gadget/udc/cdns2/cdns2-trace.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/usb/gadget/udc/cdns2] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/usb/gadget/udc] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/usb/gadget] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/usb] Error 2 @@ -29668,2 +27834,4 @@ -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: +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] 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: @@ -29672,2 +27840,2 @@ -../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, +../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, @@ -29674,0 +27843,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29681,2 +27852,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29685 +27856,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29692,2 +27866,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29696 +27870,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29703,2 +27880,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29707 +27884,4 @@ -../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] +../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, \ + | ^ @@ -29714,2 +27894,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29718 +27898,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29725,2 +27908,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29729 +27912,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29736,2 +27922,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29740,2 +27926,2 @@ -../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, +../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, @@ -29742,0 +27929,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29749,2 +27938,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29753 +27942,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29760,2 +27952,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29764 +27956,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29771,2 +27966,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29775 +27970,4 @@ -../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] +../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, \ + | ^ @@ -29782,2 +27980,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29786 +27984,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29793,2 +27994,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 ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -29797 +27998,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29804,2 +28008,196 @@ -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 ../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/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: @@ -29808,2 +28206,2 @@ -../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, +../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, @@ -29810,0 +28209,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29817,2 +28218,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -29821 +28222,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29828,2 +28232,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -29832 +28236,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29839,2 +28246,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -29843 +28250,4 @@ -../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] +../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, \ + | ^ @@ -29850,2 +28260,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -29854 +28264,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29861,2 +28274,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -29865 +28278,4 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -29872,6 +28288,6 @@ -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, +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, @@ -29879,2 +28295,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _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, \ @@ -29882,2 +28298,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_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) @@ -29885,9 +28301,77 @@ -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/intel/e1000e] Error 2 -make[7]: *** Waiting for unfinished jobs.... -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/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +../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 +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: @@ -29896,2 +28380,70 @@ -../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/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, @@ -29908,2 +28460,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29912 +28464 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -29922,2 +28474,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29926 +28478 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -29936,2 +28488,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29940 +28492 @@ -../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/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] @@ -29950,2 +28502,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29954 +28506 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -29964,2 +28516,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29968 +28520 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -29978,2 +28530,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29982,2 +28534,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/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, @@ -29994,2 +28546,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -29998 +28550 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -30008,2 +28560,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -30012 +28564 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -30022,2 +28574,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -30026 +28578 @@ -../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/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] @@ -30036,2 +28588,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -30040 +28592 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -30050,2 +28602,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/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -30054 +28606 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -30064,2 +28616,19 @@ -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/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/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -30068,2 +28637,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, @@ -30077,2 +28646,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: @@ -30081 +28650 @@ -../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' @@ -30088,2 +28657,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: @@ -30092 +28661 @@ -../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' @@ -30099,2 +28668,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: @@ -30103 +28672 @@ -../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] @@ -30110,2 +28679,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: @@ -30114 +28683 @@ -../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' @@ -30121,2 +28690,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: @@ -30125 +28694 @@ -../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' @@ -30132,6 +28701,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, @@ -30139,2 +28708,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), \ @@ -30142,2 +28711,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); \ @@ -30145,7 +28714,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[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/hisilicon] Error 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/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[7]: *** 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: @@ -30154,2 +28845,2 @@ -../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/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, @@ -30166,2 +28857,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30170 +28861 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -30180,2 +28871,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30184 +28875 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -30194,2 +28885,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30198 +28889 @@ -../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/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] @@ -30208,2 +28899,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30212 +28903 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -30222,2 +28913,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30226 +28917 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -30236,2 +28927,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30240,2 +28931,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/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, @@ -30242,0 +28934,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30249,2 +28943,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30253 +28947,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -30260,2 +28957,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30264 +28961,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -30271,2 +28971,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30275 +28975,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/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, \ + | ^ @@ -30282,2 +28985,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30286 +28989,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -30293,2 +28999,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30297 +29003,4 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -30304,2 +29013,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30308,2 +29017,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/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, @@ -30317,2 +29026,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30321 +29030 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' @@ -30328,2 +29037,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30332 +29041 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' @@ -30339,2 +29048,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30343 +29052 @@ -../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/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] @@ -30350,2 +29059,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30354 +29063 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' @@ -30361,2 +29070,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/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -30365 +29074 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' @@ -30372,2 +29081,22 @@ -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/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/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -30376,2 +29105,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/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, @@ -30385,5 +29114,2 @@ -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 -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/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -30392,2 +29118,125 @@ -../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( +../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, @@ -30394,0 +29244,74 @@ +../include/trace/bpf_probe.h:61: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 +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, \ + | ^ @@ -30401,2 +29324,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30405 +29328,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -30412,2 +29338,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30416 +29342,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -30423,2 +29352,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30427 +29356,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/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, \ + | ^ @@ -30434,2 +29366,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30438 +29370,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -30445,2 +29380,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30449 +29384,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -30456,2 +29394,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30460,2 +29398,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/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, @@ -30462,0 +29401,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30469,2 +29410,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30473 +29414,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -30480,2 +29424,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30484 +29428,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -30491,2 +29438,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30495 +29442,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/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, \ + | ^ @@ -30502,2 +29452,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30506 +29456,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -30513,2 +29466,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30517 +29470,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -30524,2 +29480,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30528,2 +29484,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/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, @@ -30530,0 +29487,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -30537,2 +29496,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30541 +29500,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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, \ + | ^ @@ -30548,2 +29510,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30552 +29514,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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, \ + | ^ @@ -30559,2 +29524,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30563 +29528,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/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, \ + | ^ @@ -30570,2 +29538,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30574 +29542,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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, \ + | ^ @@ -30581,2 +29552,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -30585 +29556,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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, \ + | ^ @@ -30592,6 +29566,6 @@ -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( +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, @@ -30599,2 +29573,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _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, \ @@ -30602,2 +29576,5 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -30607,3 +29584,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/i40e] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 +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 @@ -30889,2 +29865,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30893,2 +29869,70 @@ -../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, +../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, @@ -30905,2 +29949,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30909 +29953 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -30919,2 +29963,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30923 +29967 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -30933,2 +29977,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30937 +29981 @@ -../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] +../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] @@ -30947,2 +29991,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30951 +29995 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -30961,2 +30005,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -30965 +30009 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -30975,6 +30019,92 @@ -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, +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, @@ -30984,0 +30115,86 @@ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(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/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:109: +In file included from ../include/trace/perf.h:93: +../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, + | ^ @@ -30991,2 +30207,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -30995,4 +30211 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -31005,2 +30218,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31009,4 +30222 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -31019,2 +30229,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31023,4 +30233 @@ -../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, \ - | ^ +../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] @@ -31033,2 +30240,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31037,4 +30244 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -31047,2 +30251,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31051,4 +30255 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -31061,2 +30262,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31065,2 +30266,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/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, @@ -31068,3 +30268,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -31077,2 +30275,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31081,4 +30279 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -31091,2 +30286,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31095,4 +30290 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -31105,2 +30297,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31109,4 +30301 @@ -../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, \ - | ^ +../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] @@ -31119,2 +30308,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31123,4 +30312 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -31133,2 +30319,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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -31137,4 +30323 @@ -../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, \ - | ^ +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -31148,4 +30331,4 @@ -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/gpu/drm/msm/msm_gpu_tracepoints.c:6: -In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] 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: @@ -31154,2 +30337,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/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, @@ -31166,2 +30349,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31170 +30353 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11: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' @@ -31180,2 +30363,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31184 +30367 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11: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' @@ -31194,2 +30377,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31198 +30381 @@ -../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] +../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] @@ -31208,2 +30391,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31212 +30395 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11: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' @@ -31222,2 +30405,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31226 +30409 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11: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' @@ -31236,2 +30419,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31240,2 +30423,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, +../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, @@ -31252,2 +30435,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31256 +30439 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33: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' @@ -31266,2 +30449,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31270 +30453 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33: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' @@ -31280,2 +30463,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31284 +30467 @@ -../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] +../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] @@ -31294,2 +30477,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31298 +30481 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33: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' @@ -31308,2 +30491,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31312 +30495 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33: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' @@ -31322,2 +30505,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31326,2 +30509,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, +../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, @@ -31338,2 +30521,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31342 +30525 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -31352,2 +30535,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31356 +30539 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -31366,2 +30549,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31370 +30553 @@ -../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] +../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] @@ -31380,2 +30563,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31384 +30567 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -31394,2 +30577,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31398 +30581 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -31408,2 +30591,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/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -31412,2 +30595,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, +../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, @@ -31426 +30609 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 @@ -31428,2 +30611,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/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -31432,2 +30615,223 @@ -../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/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/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, @@ -31444,2 +30848,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31448 +30852 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -31458,2 +30862,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31462 +30866 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11: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' @@ -31472,2 +30876,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31476 +30880 @@ -../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/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] @@ -31486,2 +30890,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31490 +30894 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -31500,2 +30904,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31504 +30908 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11: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' @@ -31514,2 +30918,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31518,2 +30922,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/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, @@ -31530,2 +30934,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31534 +30938 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -31544,2 +30948,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31548 +30952 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26: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' @@ -31558,2 +30962,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31562 +30966 @@ -../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/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] @@ -31572,2 +30976,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31576 +30980 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -31586,2 +30990,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31590 +30994 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26: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' @@ -31600,2 +31004,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31604,2 +31008,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/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, @@ -31616,2 +31020,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31620 +31024 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -31630,2 +31034,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31634 +31038 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41: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' @@ -31644,2 +31048,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31648 +31052 @@ -../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/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] @@ -31658,2 +31062,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31662 +31066 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -31672,2 +31076,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31676 +31080 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41: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' @@ -31686,2 +31090,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/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -31690,2 +31094,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/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, @@ -31704,3 +31108,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.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: +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 ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -31709,2 +31114,224 @@ -../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/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[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 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 ../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, @@ -31721,2 +31348,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31725 +31352 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15: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' @@ -31735,2 +31362,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31739 +31366 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15: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' @@ -31749,2 +31376,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31753 +31380 @@ -../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] +../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] @@ -31763,2 +31390,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31767 +31394 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15: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' @@ -31777,2 +31404,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31781 +31408 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15: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' @@ -31791,2 +31418,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/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -31795,2 +31422,223 @@ -../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/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/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, @@ -31807,2 +31655,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31811 +31659 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -31821,2 +31669,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31825 +31673 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -31835,2 +31683,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31839 +31687 @@ -../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] +../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] @@ -31849,2 +31697,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31853 +31701 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -31863,2 +31711,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31867 +31715 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -31877,2 +31725,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31881,2 +31729,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/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, @@ -31893,2 +31741,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31897 +31745 @@ -../drivers/gpu/drm/radeon/radeon_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' @@ -31907,2 +31755,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31911 +31759 @@ -../drivers/gpu/drm/radeon/radeon_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' @@ -31921,2 +31769,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31925 +31773 @@ -../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] +../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] @@ -31935,2 +31783,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31939 +31787 @@ -../drivers/gpu/drm/radeon/radeon_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' @@ -31949,2 +31797,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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -31953 +31801 @@ -../drivers/gpu/drm/radeon/radeon_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' @@ -31963,6 +31811,6 @@ -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, +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, @@ -31970,5 +31818,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), \ @@ -31976,2 +31821,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); \ @@ -31981,4 +31826,3 @@ -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_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/hisilicon/hns3/hns3_enet.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: @@ -31987,2 +31831,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/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, @@ -31989,0 +31834,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -31996,2 +31843,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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -32000 +31847,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20: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, \ + | ^ @@ -32007,2 +31857,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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -32011 +31861,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/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, \ + | ^ @@ -32018,2 +31871,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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -32022 +31875,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/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, \ + | ^ @@ -32029,2 +31885,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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -32033 +31889,4 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20: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, \ + | ^ @@ -32040,2 +31899,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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -32044 +31903,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/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, \ + | ^ @@ -32051,2 +31913,177 @@ -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/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 +make[8]: *** Waiting for unfinished jobs.... +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: @@ -32055,2 +32092,2 @@ -../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, +../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, @@ -32064,2 +32101,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32068 +32105 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -32075,2 +32112,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32079 +32116 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -32086,2 +32123,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32090 +32127 @@ -../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] +../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] @@ -32097,2 +32134,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32101 +32138 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -32108,2 +32145,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32112 +32149 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -32119,2 +32156,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32123,2 +32160,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/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, @@ -32132,2 +32169,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32136 +32173 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -32143,2 +32180,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32147 +32184 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -32154,2 +32191,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32158 +32195 @@ -../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/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] @@ -32165,2 +32202,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32169 +32206 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -32176,2 +32213,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/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -32180 +32217 @@ -../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -32187,6 +32224,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: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, +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, @@ -32194,2 +32231,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _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) @@ -32197,2 +32234,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | 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); \ @@ -32200,6 +32237,63 @@ -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/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/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: @@ -32208,2 +32302,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/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, @@ -32210,0 +32305,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32217,2 +32314,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32221 +32318,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32228,2 +32328,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32232 +32332,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32239,2 +32342,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32243 +32346,4 @@ -../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/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, \ + | ^ @@ -32250,2 +32356,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32254 +32360,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32261,2 +32370,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32265 +32374,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32272,2 +32384,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32276,2 +32388,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/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, @@ -32278,0 +32391,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32285,2 +32400,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32289 +32404,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90: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, \ + | ^ @@ -32296,2 +32414,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32300 +32418,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90: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, \ + | ^ @@ -32307,2 +32428,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32311 +32432,4 @@ -../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/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, \ + | ^ @@ -32318,2 +32442,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32322 +32446,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90: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, \ + | ^ @@ -32329,2 +32456,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32333 +32460,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90: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, \ + | ^ @@ -32340,2 +32470,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32344,2 +32474,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/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, @@ -32353,2 +32483,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32357 +32487 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118: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' @@ -32364,2 +32494,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32368 +32498 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118: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' @@ -32375,2 +32505,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32379 +32509 @@ -../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/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] @@ -32386,2 +32516,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32390 +32520 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118: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' @@ -32397,2 +32527,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32401 +32531 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118: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' @@ -32408,2 +32538,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/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -32412,2 +32542,2 @@ -../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, +../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, @@ -32423,5 +32553,5 @@ -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_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/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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32430,2 +32560,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/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, @@ -32432,0 +32563,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32439,2 +32572,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32443 +32576,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -32450,2 +32586,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32454 +32590,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32461,2 +32600,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32465 +32604,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/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, \ + | ^ @@ -32472,2 +32614,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32476 +32618,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -32483,2 +32628,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32487 +32632,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32494,2 +32642,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32498,2 +32646,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/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, @@ -32510,2 +32658,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32514 +32662 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -32524,2 +32672,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32528 +32676 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51: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' @@ -32538,2 +32686,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32542 +32690 @@ -../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/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] @@ -32552,2 +32700,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32556 +32704 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -32566,2 +32714,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32570 +32718 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:51: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' @@ -32580,2 +32728,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32584,2 +32732,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/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, @@ -32586,0 +32735,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32593,2 +32744,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32597 +32748,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -32604,2 +32758,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32608 +32762,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32615,2 +32772,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32619 +32776,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/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, \ + | ^ @@ -32626,2 +32786,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32630 +32790,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -32637,2 +32800,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32641 +32804,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32648,2 +32814,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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -32652,2 +32818,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/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, @@ -32654,0 +32821,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -32663,3 +32832,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/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +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/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32668,2 +32838,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/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, @@ -32680,2 +32850,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32684 +32854 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64: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' @@ -32694,2 +32864,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32698 +32868 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64: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' @@ -32708,2 +32878,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32712 +32882 @@ -../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/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] @@ -32722,2 +32892,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32726 +32896 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64: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' @@ -32736,2 +32906,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32740 +32910 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64: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' @@ -32750,2 +32920,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32754,2 +32924,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/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, @@ -32766,2 +32936,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32770 +32940 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -32780,2 +32950,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32784 +32954 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -32794,2 +32964,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32798 +32968 @@ -../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] +../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] @@ -32808,2 +32978,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32812 +32982 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -32822,2 +32992,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32826 +32996 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -32836,2 +33006,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32840,2 +33010,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/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, @@ -32852,2 +33022,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32856 +33026 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -32866,2 +33036,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32870 +33040 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -32880,2 +33050,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32884 +33054 @@ -../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] +../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] @@ -32894,2 +33064,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32898 +33068 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -32908,2 +33078,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32912 +33082 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -32922,2 +33092,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/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -32926,2 +33096,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/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, @@ -32940 +33110,261 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 +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 @@ -33147,2 +33577,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33151,2 +33581,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/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, @@ -33160,2 +33590,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33164 +33594 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.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' @@ -33171,2 +33601,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33175 +33605 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.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' @@ -33182,2 +33612,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33186 +33616 @@ -../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/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] @@ -33193,2 +33623,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33197 +33627 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.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' @@ -33204,2 +33634,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33208 +33638 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.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' @@ -33215,2 +33645,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33219,2 +33649,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/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, @@ -33222,3 +33651,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -33231,2 +33658,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33235,4 +33662 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -33245,2 +33669,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33249,4 +33673 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -33259,2 +33680,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33263,4 +33684 @@ -../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, \ - | ^ +../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] @@ -33273,2 +33691,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33277,4 +33695 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -33287,2 +33702,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33291,4 +33706 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -33301,6 +33713,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: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, +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, @@ -33308,8 +33720,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), \ @@ -33317,7 +33723,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: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/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -33325,2 +33726,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/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), \ @@ -33328,2 +33734,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); \ @@ -33331,10 +33737,7 @@ -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), \ +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), \ @@ -33342,2 +33745,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); \ @@ -33345,10 +33748,7 @@ -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), \ +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), \ @@ -33356,2 +33756,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)(); \ @@ -33359,10 +33759,7 @@ -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), \ +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), \ @@ -33370,2 +33767,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)(); \ @@ -33373,10 +33770,7 @@ -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), \ +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), \ @@ -33384,2 +33778,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)(); \ @@ -33387,2 +33781,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/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: @@ -33391,2 +33785,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/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, @@ -33402,3 +33796,4 @@ -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/diag/fw_tracer.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +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/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -33407,2 +33802,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, @@ -33419,2 +33814,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: @@ -33423 +33818 @@ -../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' @@ -33433,2 +33828,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: @@ -33437 +33832 @@ -../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' @@ -33447,2 +33842,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: @@ -33451 +33846 @@ -../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] @@ -33461,2 +33856,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: @@ -33465 +33860 @@ -../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' @@ -33475,2 +33870,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: @@ -33479 +33874 @@ -../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' @@ -33489,2 +33884,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: @@ -33493,2 +33888,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, @@ -33505,2 +33900,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: @@ -33509 +33904 @@ -../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' @@ -33519,2 +33914,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: @@ -33523 +33918 @@ -../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' @@ -33533,2 +33928,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: @@ -33537 +33932 @@ -../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] @@ -33547,2 +33942,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: @@ -33551 +33946 @@ -../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' @@ -33561,2 +33956,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: @@ -33565 +33960 @@ -../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' @@ -33575,2 +33970,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: @@ -33579,2 +33974,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, @@ -33591,2 +33986,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: @@ -33595 +33990 @@ -../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' @@ -33605,2 +34000,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: @@ -33609 +34004 @@ -../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' @@ -33619,2 +34014,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: @@ -33623 +34018 @@ -../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] @@ -33633,2 +34028,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: @@ -33637 +34032 @@ -../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' @@ -33647,2 +34042,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: @@ -33651 +34046 @@ -../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' @@ -33662,3 +34057,3 @@ -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/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/cmd.o] Error 1 +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: @@ -33667,2 +34062,70 @@ -../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/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, @@ -33679,2 +34142,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33683 +34146 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13: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' @@ -33693,2 +34156,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33697 +34160 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13: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' @@ -33707,2 +34170,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33711 +34174 @@ -../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] +../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] @@ -33721,2 +34184,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33725 +34188 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13: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' @@ -33735,2 +34198,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33739 +34202 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13: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' @@ -33749,2 +34212,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33753,2 +34216,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/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, @@ -33755,0 +34219,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -33762,2 +34228,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33766 +34232,4 @@ -../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/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, \ + | ^ @@ -33773,2 +34242,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33777 +34246,4 @@ -../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/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, \ + | ^ @@ -33784,2 +34256,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33788 +34260,4 @@ -../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/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, \ + | ^ @@ -33795,2 +34270,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33799 +34274,4 @@ -../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/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, \ + | ^ @@ -33806,2 +34284,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/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: @@ -33810 +34288,4 @@ -../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/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, \ + | ^ @@ -33817,2 +34298,18 @@ -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/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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33821,2 +34318,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/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, @@ -33830,2 +34327,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33834 +34331 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -33841,2 +34338,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33845 +34342 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -33852,2 +34349,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33856 +34353 @@ -../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/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] @@ -33863,2 +34360,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33867 +34364 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -33874,2 +34371,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33878 +34375 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -33885,2 +34382,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -33889,2 +34386,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/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, @@ -33892,2 +34389,57 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.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), \ @@ -33894,0 +34447,78 @@ +../include/trace/trace_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, + | ^ @@ -33903 +34533,3 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 +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 @@ -34124,2 +34756,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34128,2 +34760,70 @@ -../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/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, @@ -34140,2 +34840,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34144 +34844 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14: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' @@ -34154,2 +34854,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34158 +34858 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14: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' @@ -34168,2 +34868,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34172 +34872 @@ -../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/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] @@ -34182,2 +34882,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34186 +34886 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14: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' @@ -34196,2 +34896,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/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -34200 +34900 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14: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' @@ -34210,6 +34910,90 @@ -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, +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/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, @@ -34220,2 +35004,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34223,2 +35007,2 @@ -../include/trace/perf.h:31:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -34226,5 +35010,5 @@ -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' +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' @@ -34234,2 +35018,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34237,2 +35021,2 @@ -../include/trace/perf.h:31:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -34240,5 +35024,5 @@ -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' +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' @@ -34248,2 +35032,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34251,2 +35035,2 @@ -../include/trace/perf.h:31:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 31 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ @@ -34254,5 +35038,5 @@ -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] +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] @@ -34262,2 +35046,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34265,2 +35049,2 @@ -../include/trace/perf.h:35:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -34268,5 +35052,5 @@ -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' +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' @@ -34276,2 +35060,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34279,2 +35063,2 @@ -../include/trace/perf.h:35:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -34282,5 +35066,5 @@ -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' +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' @@ -34290,2 +35074,2 @@ -../include/trace/perf.h:67:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 67 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ @@ -34293,2 +35077,2 @@ -../include/trace/perf.h:35:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 35 | activate_guard(preempt_notrace, trace_event_guard)(); \ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ @@ -34296,6 +35080,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/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, @@ -34306,2 +35090,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), \ @@ -34309,2 +35093,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); \ @@ -34312,5 +35096,5 @@ -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' +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' @@ -34320,2 +35104,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), \ @@ -34323,2 +35107,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); \ @@ -34326,5 +35110,5 @@ -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' +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' @@ -34334,2 +35118,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), \ @@ -34337,2 +35121,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); \ @@ -34340,5 +35124,5 @@ -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] +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] @@ -34348,2 +35132,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), \ @@ -34351,2 +35135,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)(); \ @@ -34354,5 +35138,5 @@ -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' +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' @@ -34362,2 +35146,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), \ @@ -34365,2 +35149,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)(); \ @@ -34368,5 +35152,5 @@ -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' +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' @@ -34376,2 +35160,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), \ @@ -34379,2 +35163,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)(); \ @@ -34382,4 +35166,2 @@ -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/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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34388,2 +35170,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/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, @@ -34400,2 +35182,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34404 +35186 @@ -../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/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -34414,2 +35196,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34418 +35200 @@ -../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/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -34428,2 +35210,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34432 +35214 @@ -../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/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] @@ -34442,2 +35224,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34446 +35228 @@ -../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/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' @@ -34456,2 +35238,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34460 +35242 @@ -../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/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' @@ -34470,2 +35252,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/diag/fs_tracepoint.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: @@ -34474,2 +35256,2 @@ -../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, +../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, @@ -34486,2 +35268,7 @@ -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: +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 +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/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34490 +35277,17 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -34500,2 +35303,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34504 +35307 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52: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' @@ -34514,2 +35317,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34518 +35321 @@ -../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] +../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] @@ -34528,2 +35331,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34532 +35335 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52: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' @@ -34542,2 +35345,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34546 +35349 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52: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' @@ -34556,2 +35359,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34560,2 +35363,2 @@ -../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, +../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, @@ -34572,2 +35375,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34576 +35379 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81: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' @@ -34586,2 +35389,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34590 +35393 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81: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' @@ -34600,2 +35403,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34604 +35407 @@ -../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] +../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] @@ -34614,2 +35417,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34618 +35421 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81: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' @@ -34628,2 +35431,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34632 +35435 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81: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' @@ -34642,2 +35445,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -34646,2 +35449,88 @@ -../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, +../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, @@ -34660,2 +35549,279 @@ -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 +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/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 @@ -34922,4 +36088,2 @@ -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/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/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: @@ -34928,2 +36092,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/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, @@ -34931,3 +36094,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -34940,2 +36101,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/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: @@ -34944,4 +36105 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -34954,2 +36112,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/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: @@ -34958,4 +36116 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -34968,2 +36123,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/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: @@ -34972,4 +36127 @@ -../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, \ - | ^ +../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] @@ -34982,2 +36134,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/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: @@ -34986,4 +36138 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -34996,2 +36145,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/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: @@ -35000,4 +36149 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -35010,2 +36156,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/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: @@ -35014,2 +36160,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/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, @@ -35017,3 +36162,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -35026,2 +36169,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/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: @@ -35030,4 +36173 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -35040,2 +36180,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/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: @@ -35044,4 +36184 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -35054,2 +36191,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/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: @@ -35058,4 +36195 @@ -../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, \ - | ^ +../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] @@ -35068,2 +36202,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/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: @@ -35072,4 +36206 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -35082,2 +36213,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/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: @@ -35086,4 +36217 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -35096,2 +36224,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/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: @@ -35100,2 +36228,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/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, @@ -35103,3 +36230,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -35112,2 +36237,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/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: @@ -35116,4 +36241 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -35126,2 +36248,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/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: @@ -35130,4 +36252 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -35140,2 +36259,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/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: @@ -35144,4 +36263 @@ -../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, \ - | ^ +../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] @@ -35154,2 +36270,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/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: @@ -35158,4 +36274 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -35168,2 +36281,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/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: @@ -35172,4 +36285 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -35182,2 +36292,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/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: @@ -35186,2 +36296,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/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, @@ -35189,3 +36298,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -35200,4 +36307,3 @@ -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/esw/bridge.c:14: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.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: @@ -35206,2 +36312,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/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, @@ -35208,0 +36315,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35215,2 +36324,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/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: @@ -35219 +36328,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35226,2 +36338,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/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: @@ -35230 +36342,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35237,2 +36352,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/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: @@ -35241 +36356,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/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, \ + | ^ @@ -35248,2 +36366,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/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: @@ -35252 +36370,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35259,2 +36380,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/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: @@ -35263 +36384,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35270,2 +36394,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/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: @@ -35274,2 +36398,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/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, @@ -35283,2 +36407,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/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: @@ -35287 +36411 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -35294,2 +36418,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/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: @@ -35298 +36422 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -35305,2 +36429,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/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: @@ -35309 +36433 @@ -../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/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] @@ -35316,2 +36440,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/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: @@ -35320 +36444 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -35327,2 +36451,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/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: @@ -35331 +36455 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -35338,2 +36462,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/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: @@ -35342,2 +36466,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/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, @@ -35351,2 +36475,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/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: @@ -35355 +36479 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -35362,2 +36486,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/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: @@ -35366 +36490 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -35373,2 +36497,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/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: @@ -35377 +36501 @@ -../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/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] @@ -35384,2 +36508,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/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: @@ -35388 +36512 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -35395,2 +36519,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/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: @@ -35399 +36523 @@ -../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -35406,2 +36530,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/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: @@ -35410,2 +36534,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/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, @@ -35412,0 +36537,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -35421,3 +36548,7 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.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: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.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: @@ -35426,2 +36557,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/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, @@ -35438,2 +36569,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35442 +36573 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14: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' @@ -35452,2 +36583,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35456 +36587 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14: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' @@ -35466,2 +36597,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35470 +36601 @@ -../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/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] @@ -35480,2 +36611,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35484 +36615 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14: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' @@ -35494,2 +36625,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35498 +36629 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14: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' @@ -35508,2 +36639,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35512,2 +36643,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/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, @@ -35524,2 +36655,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35528 +36659 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38: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' @@ -35538,2 +36669,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35542 +36673 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38: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' @@ -35552,2 +36683,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35556 +36687 @@ -../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] +../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] @@ -35566,2 +36697,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35570 +36701 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38: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' @@ -35580,2 +36711,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35584 +36715 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38: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' @@ -35594,2 +36725,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35598,2 +36729,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/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, @@ -35610,2 +36741,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35614 +36745 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59: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' @@ -35624,2 +36755,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35628 +36759 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59: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' @@ -35638,2 +36769,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35642 +36773 @@ -../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] +../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] @@ -35652,2 +36783,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35656 +36787 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59: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' @@ -35666,2 +36797,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35670 +36801 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59: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' @@ -35680,2 +36811,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/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -35684,2 +36815,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/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, @@ -35698,5 +36829,2 @@ -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 +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 Per-file breakdown --- /tmp/tmp.7zks79ZiQe 2024-08-28 09:27:20.647756050 -0700 +++ /tmp/tmp.fWlKKbRyGv 2024-08-28 09:27:20.709757384 -0700 @@ -6 +5,0 @@ - 19 ../arch/x86/kvm/mmu/mmutrace.h @@ -60,3 +58,0 @@ - 19 ../drivers/net/fjes/fjes_trace.h - 19 ../drivers/net/hyperv/netvsc_trace.h - 19 ../drivers/net/thunderbolt/trace.h @@ -84 +80,11 @@ - 19 ../drivers/soc/qcom/trace-rpmh.h + 19 ../drivers/usb/cdns3/cdns3-trace.h + 19 ../drivers/usb/cdns3/cdnsp-trace.h + 19 ../drivers/usb/chipidea/trace.h + 19 ../drivers/usb/dwc3/trace.h + 19 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h + 19 ../drivers/usb/gadget/udc/trace.h + 19 ../drivers/usb/host/xhci-trace.h + 19 ../drivers/usb/mtu3/mtu3_trace.h + 19 ../drivers/usb/musb/musb_trace.h + 19 ../drivers/usb/typec/tipd/trace.h + 19 ../drivers/usb/typec/ucsi/trace.h @@ -129 +134,0 @@ - 19 ../include/trace/events/tegra_apb_dma.h @@ -134 +138,0 @@ - 2 ../include/trace/trace_events.h