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)(); \ | ^ 6 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)(); \ | ^ 6 errors generated. make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../samples/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)(); \ | ^ 6 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/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 ../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)(); \ | ^ 6 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 ../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)(); \ | ^ 6 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 ../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 ../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)(); \ | ^ 6 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)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 6 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 ../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)(); \ | ^ 6 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hwptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(xrun, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(hw_ptr_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | TRACE_EVENT(applptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 6 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(hda_send_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(hda_get_response, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | TRACE_EVENT(hda_unsol_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/hda/trace.c:6: In file included from ../sound/hda/trace.h:101: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/hda/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | DECLARE_EVENT_CLASS(hdac_stream, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/hda/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/hda] Error 2 In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(xen_mc__batch, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(xen_mc_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | TRACE_EVENT(xen_mc_entry_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/xen/trace.c:21: In file included from ../include/trace/events/xen.h:459: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/xen.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(xen_mc_callback, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/xen/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/xen] Error 2 In file included from ../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 ../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 ../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)(); \ | ^ 6 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 ../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)(); \ | ^ 18 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 ../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)(); \ | ^ 12 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 ../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)(); \ | ^ 12 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 ../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)(); \ | ^ 18 errors generated. make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | DECLARE_EVENT_CLASS(iommu_group_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(iommu_device_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | TRACE_EVENT(map, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/iommu/iommu-traces.c:13: In file included from ../include/trace/events/iommu.h:162: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iommu.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | TRACE_EVENT(unmap, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 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)(); \ | ^ 18 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[5]: *** Waiting for unfinished jobs.... make[3]: *** [../scripts/Makefile.build:485: lib] 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 ../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 ../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)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma] 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[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/clk] 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)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 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)(); \ | ^ 6 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(x86_irq_vector, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | TRACE_EVENT(vector_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | DECLARE_EVENT_CLASS(vector_mod, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/irq.c:29: In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/irq_vectors.h:192:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | DECLARE_EVENT_CLASS(vector_reserve, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/irq.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kernel] Error 2 In file included from ../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)(); \ | ^ 18 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 make[4]: *** Waiting for unfinished jobs.... 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)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 make[5]: *** 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[3]: *** [../scripts/Makefile.build:485: fs] 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 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 ../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.... 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/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | TRACE_EVENT(cxl_aer_uncorrectable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(cxl_aer_correctable_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 127 | TRACE_EVENT(cxl_overflow, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/cxl/core/trace.c:8: In file included from ../drivers/cxl/core/trace.h:737: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/cxl/core/trace.h:225:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | TRACE_EVENT(cxl_generic_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 12 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/fork.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)(); \ | ^ 18 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 ../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)(); \ | ^ 18 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/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(regmap_reg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(regmap_bulk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(regmap_block, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | TRACE_EVENT(regcache_sync, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/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 ../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 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)(); \ | ^ 6 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 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[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 make[4]: *** [../scripts/Makefile.build:485: net/devlink] 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/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)(); \ | ^ 6 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/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)(); \ | ^ 18 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 ../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)(); \ | ^ ../kernel/signal.c:140:37: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 140 | case 4: ready = signal->sig[3] &~ blocked->sig[3]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:140:19: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 140 | case 4: ready = signal->sig[3] &~ blocked->sig[3]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:141:30: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 141 | ready |= signal->sig[2] &~ blocked->sig[2]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:141:12: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 141 | ready |= signal->sig[2] &~ blocked->sig[2]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:142:30: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 142 | ready |= signal->sig[1] &~ blocked->sig[1]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:142:12: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 142 | ready |= signal->sig[1] &~ blocked->sig[1]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:146:37: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 146 | case 2: ready = signal->sig[1] &~ blocked->sig[1]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ ../kernel/signal.c:146:19: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 146 | case 2: ready = signal->sig[1] &~ blocked->sig[1]; | ^ ~ ../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ 8 warnings and 12 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 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)(); \ | ^ 12 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/swap.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)(); \ | ^ 6 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 In file included from ../drivers/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/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)(); \ | ^ 6 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.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)(); \ | ^ 18 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.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: drivers/regulator] 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)(); \ | ^ 6 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 ../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)(); \ | ^ 12 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 ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | DECLARE_EVENT_CLASS(async_outbound_initiate_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | DECLARE_EVENT_CLASS(async_outbound_complete_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | DECLARE_EVENT_CLASS(async_inbound_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/firewire/core-trace.c:10: In file included from ../include/trace/events/firewire.h:912: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/firewire.h:220:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | TRACE_EVENT(async_phy_outbound_initiate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/core-trace.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/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)(); \ | ^ 6 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/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)(); \ | ^ 12 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/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)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 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[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/block] 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 make[3]: *** [../scripts/Makefile.build:485: mm] 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)(); \ | ^ 6 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/notifier.o] Error 1 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)(); \ | ^ 12 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 ../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:31: In file included from ../include/trace/events/net.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/net.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(net_dev_start_xmit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_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/core/net-traces.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 In file included from ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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(dump_message_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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(applespi_irq_received, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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 ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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 ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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 ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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 ../drivers/input/keyboard/applespi.c:64: In file included from ../drivers/input/keyboard/applespi_trace.h:93: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/input/keyboard/applespi_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)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/input/keyboard/applespi.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/input/keyboard] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/input] 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/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)(); \ | ^ 6 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 ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | TRACE_EVENT(kvm_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:17:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | TRACE_EVENT(kvm_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 69 | TRACE_EVENT(kvm_hv_hypercall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kvm/x86.c:90: In file included from ../arch/x86/kvm/trace.h:1882: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/kvm/trace.h:100:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | TRACE_EVENT(kvm_hv_hypercall_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/x86.o] Error 1 In file included from ../drivers/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)(); \ | ^ 12 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/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 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(brcmf_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(brcmf_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(brcmf_hexdump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | TRACE_EVENT(brcmf_bcdchdr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmfmac] Error 2 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/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 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/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)(); \ | ^ 18 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/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:37: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h:108: 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_tx.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 | TRACE_EVENT(brcms_txdesc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_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/brcmsmac/brcms_trace_events.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/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/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/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)(); \ | ^ 12 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/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)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 In file included from ../drivers/net/wireless/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)(); \ | ^ 18 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/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/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)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 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)(); \ | ^ 18 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/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)(); \ | ^ 18 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/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/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/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/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)(); \ | ^ 18 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/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/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 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[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs] Error 2 make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 In file included from ../drivers/net/ethernet/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)(); \ | ^ 6 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/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)(); \ | ^ 18 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/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/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/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)(); \ | ^ 18 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/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)(); \ | ^ 6 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/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)(); \ | ^ 12 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/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)(); \ | ^ ../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 6 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/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 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/ath11k] Error 2 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/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | TRACE_EVENT(otx2_msg_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(otx2_msg_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(otx2_msg_check, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(otx2_msg_interrupt, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 In file included from ../drivers/gpu/drm/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)(); \ | ^ 6 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/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/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)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(v3d_submit_cl_ioctl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(v3d_submit_cl, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(v3d_bcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/v3d/v3d_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | TRACE_EVENT(v3d_rcl_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/v3d/v3d_trace_points.o] Error 1 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.... make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 6 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 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 inmake[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 cluded 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)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 In file included from ../drivers/gpu/drm/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)(); \ | ^ 6 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/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)(); \ | ^ 6 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 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 ../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/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)(); \ | ^ 6 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/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/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)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(radeon_bo_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(radeon_cs, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(radeon_vm_grab_id, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/radeon/radeon_trace_points.c:10: In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(radeon_vm_bo_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/radeon/radeon_trace_points.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/radeon] Error 2 In file included from ../drivers/net/ethernet/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)(); \ | ^ ../drivers/net/ethernet/intel/iavf/iavf_main.c:5063:46: warning: shift count >= width of type [-Wshift-count-overflow] 5063 | 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)) | ^ ~~~ 1 warning and 18 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/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)(); \ | ^ 6 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 make[8]: *** 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)(); \ | ^ 6 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.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/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)(); \ | ^ 6 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/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/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 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ 6 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/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/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/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)(); \ | ^ 6 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/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/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/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/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/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/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)(); \ | ^ 18 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(i915_gem_object_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(i915_gem_shrink, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(i915_vma_bind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(i915_vma_unbind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | TRACE_EVENT(spt_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(spt_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | TRACE_EVENT(gma_index, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(gma_translate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../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:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(msr_trace_class, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/lib/msr.c:7: In file included from ../arch/x86/include/asm/msr-trace.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[4]: *** [../scripts/Makefile.build:244: arch/x86/lib/msr.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: arch/x86/lib] Error 2 make[3]: *** Waiting for unfinished jobs.... In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(sample_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../samples/ftrace/sample-trace-array.c:18: In file included from ../samples/ftrace/sample-trace-array.h:84: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/ftrace/sample-trace-array.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/ftrace] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(emulate_vsyscall, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/entry/vsyscall/vsyscall_64.c:43: In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(amdtp_packet, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/amdtp-stream.c:27: In file included from ../sound/firewire/amdtp-stream-trace.h:81: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/amdtp-stream-trace.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 291 | TRACE_EVENT(foo_bar, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:291:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | TRACE_EVENT_CONDITION(foo_bar_with_cond, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:408:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | TRACE_EVENT_FN(foo_bar_with_fn, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:451:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../samples/trace_events/trace-events-sample.c:12: In file included from ../samples/trace_events/trace-events-sample.h:631: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../samples/trace_events/trace-events-sample.h:498:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 498 | DECLARE_EVENT_CLASS(foo_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: samples/trace_events/trace-events-sample.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: samples/trace_events] Error 2 make[3]: *** [../scripts/Makefile.build:485: samples] Error 2 In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hyperv_mmu_flush_tlb_multi, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | TRACE_EVENT(hyperv_nested_flush_guest_mapping, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | TRACE_EVENT(hyperv_nested_flush_guest_mapping_range, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/hyperv/mmu.c:15: In file included from ../arch/x86/include/asm/trace/hyperv.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/hyperv.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(hyperv_send_ipi_mask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/hyperv/mmu.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/hyperv] Error 2 In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(pwm, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/pwm/core.c:27: In file included from ../include/trace/events/pwm.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pwm.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/pwm/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/pwm] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(x86_exceptions, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/mm/fault.c:42: In file included from ../arch/x86/include/asm/trace/exceptions.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/mm/fault.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: arch/x86/mm] Error 2 In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(hw_mask_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/core/pcm_native.c:32: In file included from ../sound/core/pcm_param_trace.h:143: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 68 | TRACE_EVENT(hw_interval_param, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(hwptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(xrun, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(hw_ptr_error, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/core/pcm_lib.c:25: In file included from ../sound/core/pcm_trace.h:149: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/core/pcm_trace.h:106:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | TRACE_EVENT(applptr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_lib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: sound/core] Error 2 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 30 | TRACE_EVENT(gpu_mem_total, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: In file included from ../include/trace/events/gpu_mem.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 make[5]: *** Waiting for unfinished jobs.... 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 ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(netlink_extack, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/netlink/af_netlink.c:72: In file included from ../include/trace/events/netlink.h:29: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(edma_log_io, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma/fsl-edma-trace.c:4: In file included from ../drivers/dma/fsl-edma-common.h:342: In file included from ../drivers/dma/fsl-edma-trace.h:132: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(edma_log_tcd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: drivers/dma] 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/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | DECLARE_EVENT_CLASS(dma_fence, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/dma-fence.c:21: In file included from ../include/trace/events/dma_fence.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | TRACE_EVENT(initcall_start, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(initcall_finish, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/initcall.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../init/main.c:113: In file included from ../include/trace/events/initcall.h:74: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(initcall_level, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: init/main.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: init] Error 2 In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 89 | TRACE_EVENT(mhi_gen_tre, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 119 | TRACE_EVENT(mhi_intvec_states, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | TRACE_EVENT(mhi_tryset_pm_state, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/bus/mhi/host/init.c:24: In file included from ../drivers/bus/mhi/host/trace.h:282: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/bus/mhi/host/trace.h:171:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 171 | DECLARE_EVENT_CLASS(mhi_process_event_ring, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/bus/mhi/host/init.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(aoss_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/qcom_aoss.c:18: In file included from ../drivers/soc/qcom/trace-aoss.h:48: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | TRACE_EVENT(aoss_send_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | TRACE_EVENT(irq_handler_entry, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(irq_handler_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(softirq, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/softirq.c:35: In file included from ../include/trace/events/irq.h:213: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/irq.h:163:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 163 | DECLARE_EVENT_CLASS(tasklet, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../drivers/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 ../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 ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(selinux_audited, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../security/selinux/avc.c:35: In file included from ../include/trace/events/avc.h:53: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(filemap_set_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(file_check_and_advance_wb_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/filemap.c:54: In file included from ../include/trace/events/filemap.h:118: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(data_block_sph, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../sound/firewire/motu/amdtp-motu.c:13: In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(data_block_message, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: security] Error 2 make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 In file included from ../drivers/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 ../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/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(nmi_handler, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../arch/x86/kernel/nmi.c:41: In file included from ../include/trace/events/nmi.h:38: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: arch/x86/kernel/nmi.o] Error 1 make[5]: *** Waiting for unfinished jobs.... In file included from ../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 ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mm_lru_insertion, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/swap.c:44: In file included from ../include/trace/events/pagemap.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | TRACE_EVENT(mm_lru_activate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | TRACE_EVENT(ma_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | TRACE_EVENT(ma_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../lib/maple_tree.c:65: In file included from ../include/trace/events/maple_tree.h:123: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(ma_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: lib] 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[3]: *** [../scripts/Makefile.build:485: fs] 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 make[5]: *** [../scripts/Makefile.build:485: drivers/iommu/intel] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(signal_generate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/signal.c:53: In file included from ../include/trace/events/signal.h:125: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 96 | TRACE_EVENT(signal_deliver, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(bpf_trigger_tp, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/bpf/test_run.c:29: In file included from ../include/trace/events/bpf_test_run.h:67: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(bpf_test_finish, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/bpf/test_run.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/bpf] Error 2 In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | TRACE_EVENT(cpuhp_multi_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(cpuhp_exit, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/cpu.c:43: In file included from ../include/trace/events/cpuhp.h:95: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(cpuhp_enter, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 In file included from ../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:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT(gpio_direction, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpio/gpiolib.c:44: In file included from ../include/trace/events/gpio.h:57: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | TRACE_EVENT(gpio_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 In file included from ../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/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 ../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 ../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 ../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/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(regmap_reg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(regmap_bulk, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | DECLARE_EVENT_CLASS(regmap_block, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:103:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/regmap/regmap.c:23: In file included from ../drivers/base/regmap/trace.h:284: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/regmap/trace.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 152 | TRACE_EVENT(regcache_sync, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | DECLARE_EVENT_CLASS(devres, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/base/trace.c:10: In file included from ../drivers/base/trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | TRACE_EVENT(nvmet_req_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 136 | TRACE_EVENT(nvmet_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/target/core.c:16: In file included from ../drivers/nvme/target/trace.h:170: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(nvmet_req_init, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(regulator_range, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | DECLARE_EVENT_CLASS(regulator_value, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/regulator.h:143:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/regulator/core.c:32: In file included from ../include/trace/events/regulator.h:174: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(regulator_basic, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 9 | TRACE_EVENT(task_newtask, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../kernel/fork.c:117: In file included from ../include/trace/events/task.h:62: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | TRACE_EVENT(task_rename, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(nbd_transport_event, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/nbd.c:50: In file included from ../include/trace/events/nbd.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(nbd_send_request, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 make[5]: *** Waiting for unfinished jobs.... 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 ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | TRACE_EVENT(azx_get_position, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(azx_pcm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../sound/pci/hda/hda_controller.c:32: In file included from ../sound/pci/hda/hda_controller_trace.h:99: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(azx_pcm_trigger, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | TRACE_EVENT(icmp_send, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv4/icmp.c:97: In file included from ../include/trace/events/icmp.h:66: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv4/icmp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv4] Error 2 In file included from ../drivers/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/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(mei_reg_write, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(mei_pci_cfg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/misc/mei/mei-trace.c:11: In file included from ../drivers/misc/mei/mei-trace.h:83: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | TRACE_EVENT(mei_reg_read, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/misc/mei/mei-trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/misc/mei] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/misc] Error 2 In file included from ../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/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | TRACE_EVENT(nvme_setup_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(nvme_complete_rq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | TRACE_EVENT(nvme_async_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/nvme/host/core.c:31: In file included from ../drivers/nvme/host/trace.h:172: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/nvme/host/trace.h:141:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 141 | TRACE_EVENT(nvme_sq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/host/core.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/host] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/nvme] Error 2 In file included from ../drivers/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/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(fib6_table_lookup, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/ipv6/route.c:74: In file included from ../include/trace/events/fib6.h:89: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/fib6.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(sync_timeline, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/dma-buf/sw_sync.c:17: In file included from ../drivers/dma-buf/sync_trace.h:33: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/sw_sync.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/dma-buf] Error 2 In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | TRACE_EVENT_CONDITION(mdio_access, | ^ ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/phy/mdio_bus.c:38: In file included from ../include/trace/events/mdio.h:43: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' 32 | TRACE_EVENT(name, \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 make[6]: *** Waiting for unfinished jobs.... make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 make[5]: *** Waiting for unfinished jobs.... In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(pmic_pdcharger_ulog_msg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 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/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/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/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] 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 ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(ath_log, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/trace.c:20: In file included from ../drivers/net/wireless/ath/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 12 | TRACE_EVENT(kmem_cache_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:12:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | TRACE_EVENT(kmalloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(kfree, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/slab_common.c:36: In file included from ../include/trace/events/kmem.h:415: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/kmem.h:114:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | TRACE_EVENT(kmem_cache_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | TRACE_EVENT(consume_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 76 | TRACE_EVENT(skb_copy_datagram_iovec, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/core/net-traces.c:30: In file included from ../include/trace/events/skb.h:98: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(kfree_skb, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/core/net-traces.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 In file included from ../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 ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | TRACE_EVENT(mctp_key_acquire, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../net/mctp/af_mctp.c:21: In file included from ../include/trace/events/mctp.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | TRACE_EVENT(mctp_key_release, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mmap_lock, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | DECLARE_EVENT_CLASS(mmap_lock, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../mm/mmap_lock.c:3: In file included from ../include/trace/events/mmap_lock.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, | ^ ../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[4]: *** [../scripts/Makefile.build:244: mm/mmap_lock.o] Error 1 make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | TRACE_EVENT(brcmf_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:36:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(brcmf_dbg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | TRACE_EVENT(brcmf_hexdump, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:66:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.c:12: In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:140: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | TRACE_EVENT(brcmf_bcdchdr, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmfmac/tracepoint.o] Error 1 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:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | TRACE_EVENT(brcms_timer, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 make[6]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 39 | TRACE_EVENT(ath5k_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:39:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | TRACE_EVENT(ath5k_tx_complete, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(ath5k_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | TRACE_EVENT(nullb_zone_op, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/block/null_blk/zoned.c:7: In file included from ../drivers/block/null_blk/trace.h:85: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | TRACE_EVENT(nullb_report_zones, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 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:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | TRACE_EVENT(drm_vblank_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 make[6]: *** Waiting for unfinished jobs.... In file included from ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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(hda_pm, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_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_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_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(hda_pm, | ^ ../include/trace/bpf_probe.h:61: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/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: In file included from ../sound/pci/hda/hda_intel_trace.h:52: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../sound/pci/hda/hda_intel_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_intel.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/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 ../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/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/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/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 ../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 In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(drm_sched_process_job, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | TRACE_EVENT(drm_sched_job_wait_dep, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | DECLARE_EVENT_CLASS(drm_sched_job, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/scheduler/sched_main.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/scheduler] Error 2 make[4]: *** [../scripts/Makefile.build:485: net/mptcp] 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/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/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | TRACE_EVENT(dev_irq, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | DECLARE_EVENT_CLASS(dev_txid_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 32 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/trace.o] Error 1 make[8]: *** 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/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 make[6]: *** 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 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | TRACE_EVENT(lp_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 In file included from ../drivers/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/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(lima_task, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(lima_task, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_reg_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | DECLARE_EVENT_CLASS(urb_transfer, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 26 | DECLARE_EVENT_CLASS(dev_evt, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mac_txstat_fetch, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(funeth_tx_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 73 | TRACE_EVENT(funeth_rx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:73:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(funeth_tx, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/fungible/funeth/funeth_rx.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible/funeth] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/fungible] Error 2 In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | DECLARE_EVENT_CLASS(dev_token, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 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:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | TRACE_EVENT(hclge_vf_mbx_get, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 10 | DECLARE_EVENT_CLASS(register_access, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/tegra/trace.c:2: In file included from ../drivers/gpu/drm/tegra/trace.h:68: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | DECLARE_EVENT_CLASS(tbnet_ip_frame, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | DECLARE_EVENT_CLASS(tbnet_skb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/thunderbolt/trace.c:10: In file included from ../drivers/net/thunderbolt/trace.h:141: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(tbnet_frame, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/thunderbolt/trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 59 | DECLARE_EVENT_CLASS( | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: In file included from ../include/trace/events/iscsi.h:107: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 In file included from ../drivers/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/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 ../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/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 In file included from ../drivers/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[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | TRACE_EVENT(fjes_hw_issue_request_command, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(fjes_hw_request_info, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(fjes_hw_request_info_err, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/fjes/fjes_trace.c:13: In file included from ../drivers/net/fjes/fjes_trace.h:365: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/fjes/fjes_trace.h:93:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | TRACE_EVENT(fjes_hw_register_buff_addr_req, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(e1000e_trace_mac_register, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ ../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); | ^~~~~~~~~~~~~~~~~~~~~ ../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) | ^ ~~~~~~ ../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); | ^~~~~~~~~~~~~~~~ ../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) | ^ ~~~ 2 warnings and 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 In file included from ../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/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/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | TRACE_EVENT(hns3_tx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | TRACE_EVENT(hns3_rx_desc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | DECLARE_EVENT_CLASS(hns3_skb_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa2] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 In file included from ../drivers/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/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_guc.o] Error 1 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/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/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5_sf_vhca_event, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 make[8]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | TRACE_EVENT(i40e_napi_poll, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:60:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 108 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 205 | DECLARE_EVENT_CLASS( | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_cmd, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | TRACE_EVENT(mlx5_fw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | TRACE_EVENT(mlx5_fs_add_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | TRACE_EVENT(mlx5_fs_del_ft, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | TRACE_EVENT(mlx5_fs_add_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:150:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | TRACE_EVENT(mlx5_fs_del_fg, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 In file included from ../drivers/gpu/drm/xe/xe_trace.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/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/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(dpu_perf_set_qos_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | TRACE_EVENT(dpu_perf_set_danger_luts, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | TRACE_EVENT(dpu_perf_set_ot, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(dpu_cmd_release_bw, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/disp/dpu1/dpu_kms.o] Error 1 make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/msm] Error 2 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 14 | TRACE_EVENT(mlx5e_rep_neigh_update, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ | ^ 12 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(mlx5e_stats_flower, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | TRACE_EVENT(mlx5e_tc_update_neigh_used_value, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:77:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: In file included from ../include/trace/define_trace.h:110: In file included from ../include/trace/bpf_probe.h:128: ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, | ^ ../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) | ^ ../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 42 | TRACE_EVENT(spt_alloc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | TRACE_EVENT(spt_free, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | TRACE_EVENT(gma_index, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 115 | TRACE_EVENT(gma_translate, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 make[7]: *** Waiting for unfinished jobs.... In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | TRACE_EVENT(mlx5_esw_vport_qos_destroy, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | DECLARE_EVENT_CLASS(mlx5_esw_vport_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:29:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | DECLARE_EVENT_CLASS(mlx5_esw_group_qos_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:62:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/qos.c:9: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:123: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/qos_tracepoint.h:94:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | TRACE_EVENT(mlx5_esw_group_qos_config, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/qos.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/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/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | TRACE_EVENT(i915_gem_object_create, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 38 | TRACE_EVENT(i915_gem_shrink, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | TRACE_EVENT(i915_vma_bind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | TRACE_EVENT(i915_vma_unbind, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 13 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_fdb_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:13:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_vlan_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:56:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 83 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_port_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.c:14: In file included from ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:155: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/net/ethernet/mellanox/mlx5/core/esw/diag/bridge_tracepoint.h:113:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 113 | DECLARE_EVENT_CLASS(mlx5_esw_bridge_mdb_port_change_template, | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/esw/bridge.o] Error 1 make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox/mlx5/core] Error 2 make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/mellanox] Error 2 make[5]: *** [../scripts/Makefile.build:485: drivers/net/ethernet] Error 2 make[4]: *** [../scripts/Makefile.build:485: drivers/net] Error 2 In file included from ../drivers/gpu/drm/i915/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 make[4]: *** [../scripts/Makefile.build:485: sound/soc] Error 2 make[3]: *** [../scripts/Makefile.build:485: sound] Error 2 In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 24 | TRACE_EVENT(intel_pipe_enable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 52 | TRACE_EVENT(intel_pipe_disable, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | TRACE_EVENT(intel_crtc_flip_done, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ | ^ In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: In file included from ../include/trace/define_trace.h:108: In file included from ../include/trace/trace_events.h:478: ../drivers/gpu/drm/i915/display/intel_display_trace.h:104:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | TRACE_EVENT(intel_pipe_crc, | ^ ../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' 40 | DECLARE_EVENT_CLASS(name, \ | ^ ../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ | ^ ../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ | ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make[7]: *** [../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.b9LcARIHNT 2024-08-28 09:25:42.590646924 -0700 +++ /tmp/tmp.DdNkIjsdUX 2024-08-28 09:26:01.749059005 -0700 @@ -76 +76,69 @@ -6 errors generated. +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(msr_trace_class, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../arch/x86/lib/msr.c:7: +In file included from ../arch/x86/include/asm/msr-trace.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/msr-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. @@ -80,2 +148,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -84,2 +152,2 @@ -../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, +../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, @@ -96,2 +164,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -100 +168 @@ -../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -110,2 +178,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -114 +182 @@ -../arch/x86/entry/vsyscall/vsyscall_trace.h:10: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' @@ -124,2 +192,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -128 +196 @@ -../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] +../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] @@ -138,2 +206,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -142 +210 @@ -../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../samples/ftrace/sample-trace-array.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -152,2 +220,2 @@ -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 ../samples/ftrace/sample-trace-array.c:18: +In file included from ../samples/ftrace/sample-trace-array.h:84: @@ -156 +224 @@ -../arch/x86/entry/vsyscall/vsyscall_trace.h:10: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' @@ -166,5 +233,0 @@ -6 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.... @@ -173,2 +236,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -181,2 +244,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) @@ -184,2 +247,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); \ @@ -189,2 +252,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -195,2 +258,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) @@ -198,2 +261,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); \ @@ -203,3 +266,3 @@ -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' +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' @@ -209,2 +272,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) @@ -212,2 +275,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); \ @@ -217,2 +280,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -223,2 +286,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) @@ -226,2 +289,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)(); \ @@ -231,2 +294,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -237,2 +300,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) @@ -240,2 +303,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)(); \ @@ -245,3 +308,3 @@ -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' +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' @@ -251,2 +314,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) @@ -254,2 +317,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)(); \ @@ -257 +320 @@ -6 errors generated. +12 errors generated. @@ -261,88 +324,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -351,2 +328,2 @@ -../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, +../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, @@ -363,2 +340,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -367 +344 @@ -../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -377,2 +354,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -381 +358 @@ -../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -391,2 +368,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -395 +372 @@ -../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] +../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] @@ -405,2 +382,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -409 +386 @@ -../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -419,2 +396,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 ../arch/x86/entry/vsyscall/vsyscall_64.c:43: +In file included from ../arch/x86/entry/vsyscall/vsyscall_trace.h:30: @@ -423 +400 @@ -../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/entry/vsyscall/vsyscall_trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -433,6 +410,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 ../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, @@ -443,2 +420,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) @@ -446,2 +423,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); \ @@ -449,5 +426,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 ../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' @@ -457,2 +434,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) @@ -460,2 +437,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); \ @@ -463,5 +440,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 ../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' @@ -471,2 +448,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) @@ -474,2 +451,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); \ @@ -477,5 +454,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 ../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] @@ -485,2 +462,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) @@ -488,2 +465,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)(); \ @@ -491,5 +468,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 ../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' @@ -499,2 +476,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) @@ -502,2 +479,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)(); \ @@ -505,5 +482,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 ../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' @@ -513,2 +490,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) @@ -516,2 +493,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)(); \ @@ -519,20 +496,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: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 +12 errors generated. +make[6]: *** [../scripts/Makefile.build:244: arch/x86/entry/vsyscall/vsyscall_64.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: arch/x86/entry/vsyscall] Error 2 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/entry] Error 2 +make[4]: *** Waiting for unfinished jobs.... @@ -625,9 +587,6 @@ -6 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 ../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, +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, @@ -638,2 +597,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) @@ -641,2 +600,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); \ @@ -644,5 +603,5 @@ -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' +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' @@ -652,2 +611,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) @@ -655,2 +614,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); \ @@ -658,5 +617,5 @@ -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' +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' @@ -666,2 +625,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) @@ -669,2 +628,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); \ @@ -672,5 +631,5 @@ -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] +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] @@ -680,2 +639,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) @@ -683,2 +642,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)(); \ @@ -686,5 +645,5 @@ -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' +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' @@ -694,2 +653,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) @@ -697,2 +656,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)(); \ @@ -700,5 +659,5 @@ -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' +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' @@ -708,2 +667,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) @@ -711,2 +670,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)(); \ @@ -714,3 +673,2 @@ -6 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 +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: sound/firewire/amdtp-stream.o] Error 1 @@ -1030,2 +988,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1034,2 +992,2 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(pwm, +../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, @@ -1036,0 +995,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1043,2 +1004,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1047 +1008,4 @@ -../include/trace/events/pwm.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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1054,2 +1018,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1058 +1022,4 @@ -../include/trace/events/pwm.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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1065,2 +1032,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1069 +1036,4 @@ -../include/trace/events/pwm.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../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, \ + | ^ @@ -1076,2 +1046,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1080 +1050,4 @@ -../include/trace/events/pwm.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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1087,2 +1060,2 @@ -In file included from ../drivers/pwm/core.c:27: -In file included from ../include/trace/events/pwm.h:58: +In file included from ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1091 +1064,4 @@ -../include/trace/events/pwm.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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1098,6 +1074,2 @@ -6 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 ../arch/x86/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1106,2 +1078,2 @@ -../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(hw_mask_param, +../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, @@ -1118,2 +1090,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1122 +1094 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' @@ -1132,2 +1104,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1136 +1108 @@ -../sound/core/pcm_param_trace.h:28: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' @@ -1146,2 +1118,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1150 +1122 @@ -../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] +../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] @@ -1160,2 +1132,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1164 +1136 @@ -../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:31:1: error: use of undeclared identifier 'preempt_notrace' @@ -1174,2 +1146,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1178 +1150 @@ -../sound/core/pcm_param_trace.h:28: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' @@ -1188,2 +1160,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1192,2 +1164,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, +../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, @@ -1204,2 +1176,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1208 +1180 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -1218,2 +1190,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1222 +1194 @@ -../sound/core/pcm_param_trace.h:68: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' @@ -1232,2 +1204,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1236 +1208 @@ -../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] +../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] @@ -1246,2 +1218,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1250 +1222 @@ -../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/hyperv.h:45:1: error: use of undeclared identifier 'preempt_notrace' @@ -1260,2 +1232,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/hyperv/mmu.c:15: +In file included from ../arch/x86/include/asm/trace/hyperv.h:98: @@ -1264 +1236,17 @@ -../sound/core/pcm_param_trace.h:68: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/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, + | ^ @@ -1270,0 +1259,72 @@ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_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), \ + | ^ @@ -1273,0 +1334,68 @@ +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)(); \ + | ^ @@ -1275,2 +1403,3 @@ -make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +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.... @@ -1345 +1474,69 @@ -6 errors generated. +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | DECLARE_EVENT_CLASS(x86_exceptions, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../arch/x86/mm/fault.c:42: +In file included from ../arch/x86/include/asm/trace/exceptions.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../arch/x86/include/asm/trace/exceptions.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. @@ -1348,2 +1545,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1352,2 +1549,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, +../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, @@ -1364,2 +1561,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1368 +1565 @@ -../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -1378,2 +1575,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1382 +1579 @@ -../include/trace/events/netlink.h:9: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' @@ -1392,2 +1589,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1396 +1593 @@ -../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] +../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] @@ -1406,2 +1603,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1410 +1607 @@ -../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -1420,2 +1617,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 ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: @@ -1424 +1621 @@ -../include/trace/events/netlink.h:9: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' @@ -1434,4 +1631,192 @@ -6 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 -make[4]: *** Waiting for unfinished jobs.... +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(hw_interval_param, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/core/pcm_param_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(hw_mask_param, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/core/pcm_native.c:32: +In file included from ../sound/core/pcm_param_trace.h:143: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/core/pcm_param_trace.h:68:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 68 | TRACE_EVENT(hw_interval_param, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: sound/core/pcm_native.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -1717,2 +2102,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1721,2 +2106,2 @@ -../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 12 | DECLARE_EVENT_CLASS(dma_fence, +../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, @@ -1723,0 +2109,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1730,2 +2118,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1734 +2122,4 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -1741,2 +2132,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1745 +2136,4 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1752,2 +2146,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1756 +2150,4 @@ -../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/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, \ + | ^ @@ -1763,2 +2160,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1767 +2164,4 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -1774,2 +2174,2 @@ -In file included from ../drivers/dma-buf/dma-fence.c:21: -In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: @@ -1778 +2178,4 @@ -../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -1785,2 +2188,89 @@ -6 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 30 | TRACE_EVENT(gpu_mem_total, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/trace/trace_gpu_mem.c:11: +In file included from ../include/trace/events/gpu_mem.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpu_mem.h:30:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/trace/trace_gpu_mem.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/gpu/trace] Error 2 @@ -2063,70 +2553,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2135,2 +2557,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, +../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, @@ -2147,2 +2569,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2151 +2573 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -2161,2 +2583,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2165 +2587 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -2175,2 +2597,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2179 +2601 @@ -../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/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] @@ -2189,2 +2611,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2193 +2615 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -2203,2 +2625,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 ../net/netlink/af_netlink.c:72: +In file included from ../include/trace/events/netlink.h:29: @@ -2207 +2629 @@ -../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/netlink.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -2217,6 +2639,6 @@ -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, +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, @@ -2227,2 +2649,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) @@ -2230,2 +2652,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); \ @@ -2233,5 +2655,5 @@ -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' +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' @@ -2241,2 +2663,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) @@ -2244,2 +2666,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); \ @@ -2247,5 +2669,5 @@ -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' +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' @@ -2255,2 +2677,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) @@ -2258,2 +2680,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); \ @@ -2261,5 +2683,5 @@ -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] +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] @@ -2269,2 +2691,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) @@ -2272,2 +2694,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)(); \ @@ -2275,5 +2697,5 @@ -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' +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' @@ -2283,2 +2705,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) @@ -2286,2 +2708,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)(); \ @@ -2289,5 +2711,5 @@ -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' +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' @@ -2297,2 +2719,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) @@ -2300,2 +2722,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)(); \ @@ -2303,22 +2725,5 @@ -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/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/netlink/af_netlink.o] Error 1 +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: @@ -2327,2 +2732,2 @@ -../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, +../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, @@ -2336,2 +2741,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2340 +2746 @@ -../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -2347,2 +2753,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2351 +2758 @@ -../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -2358,2 +2765,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2362 +2770 @@ -../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] +../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] @@ -2369,2 +2777,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2373 +2782 @@ -../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -2380,2 +2789,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2384 +2794 @@ -../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -2391,2 +2801,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2395,2 +2806,2 @@ -../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, +../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, @@ -2404,2 +2815,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2408 +2820 @@ -../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -2415,2 +2827,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2419 +2832 @@ -../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -2426,2 +2839,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2430 +2844 @@ -../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] +../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] @@ -2437,2 +2851,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2441 +2856 @@ -../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -2448,2 +2863,3 @@ -In file included from ../sound/soc/soc-core.c:45: -In file included from ../include/trace/events/asoc.h:279: +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: @@ -2452 +2868 @@ -../include/trace/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' @@ -2459,6 +2875,7 @@ -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, +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(edma_log_io, @@ -2466,2 +2883,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) @@ -2469,2 +2886,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); \ @@ -2472,7 +2889,8 @@ -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), \ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -2480,2 +2898,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); \ @@ -2483,7 +2901,8 @@ -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), \ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -2491,2 +2910,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); \ @@ -2494,7 +2913,8 @@ -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), \ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -2502,2 +2922,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)(); \ @@ -2505,7 +2925,8 @@ -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), \ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -2513,2 +2934,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)(); \ @@ -2516,7 +2937,8 @@ -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), \ +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -2524,2 +2946,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)(); \ @@ -2527,6 +2949,7 @@ -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, +In file included from ../drivers/dma/fsl-edma-trace.c:4: +In file included from ../drivers/dma/fsl-edma-common.h:342: +In file included from ../drivers/dma/fsl-edma-trace.h:132: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | DECLARE_EVENT_CLASS(edma_log_tcd, @@ -2534,2 +2957,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) @@ -2537,5 +2960,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:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -2545,4 +2965,6 @@ -make[5]: *** [../scripts/Makefile.build:244: sound/soc/soc-core.o] Error 1 -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: +make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/netlink] Error 2 +make[4]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 +In file included from ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2551,2 +2973,2 @@ -../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/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, @@ -2554,3 +2975,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -2563,2 +2982,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2567,4 +2986 @@ -../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/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -2577,2 +2993,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2581,4 +2997 @@ -../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/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -2591,2 +3004,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2595,4 +3008 @@ -../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/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] @@ -2605,2 +3015,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2609,4 +3019 @@ -../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/events/xen.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -2619,2 +3026,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2623,4 +3030 @@ -../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/events/xen.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -2633,2 +3037,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2637,2 +3041,2 @@ -../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/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, @@ -2649,2 +3053,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2653 +3057 @@ -../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -2663,2 +3067,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2667 +3071 @@ -../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' @@ -2677,2 +3081,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2681 +3085 @@ -../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/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] @@ -2691,2 +3095,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2695 +3099 @@ -../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'preempt_notrace' @@ -2705,2 +3109,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2709 +3113 @@ -../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:36:1: error: use of undeclared identifier 'trace_event_guard' @@ -2719,2 +3123,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2723,2 +3127,2 @@ -../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/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, @@ -2735,2 +3139,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2739 +3143 @@ -../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -2749,2 +3153,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2753 +3157 @@ -../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -2763,2 +3167,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2767 +3171 @@ -../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/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] @@ -2777,2 +3181,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2781 +3185 @@ -../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -2791,2 +3195,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2795 +3199 @@ -../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/xen.h:55:1: error: use of undeclared identifier 'trace_event_guard' @@ -2805,2 +3209,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 ../arch/x86/xen/trace.c:21: +In file included from ../include/trace/events/xen.h:459: @@ -2809,2 +3213,2 @@ -../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/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, @@ -2811,0 +3216,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -2820,6 +3227,4 @@ -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 ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +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/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2828,2 +3233,2 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(selinux_audited, +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(dma_fence, @@ -2831,3 +3235,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -2840,2 +3242,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2844,4 +3246 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -2854,2 +3253,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2858,4 +3257 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -2868,2 +3264,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2872,4 +3268 @@ -../include/trace/events/avc.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -2882,2 +3275,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2886,4 +3279 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -2896,2 +3286,2 @@ -In file included from ../security/selinux/avc.c:35: -In file included from ../include/trace/events/avc.h:53: +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: @@ -2900,4 +3290 @@ -../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -2910,4 +3297,71 @@ -6 errors generated. -make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 -make[3]: *** [../scripts/Makefile.build:485: security] Error 2 +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 12 | DECLARE_EVENT_CLASS(dma_fence, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/dma-buf/dma-fence.c:21: +In file included from ../include/trace/events/dma_fence.h:89: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/dma_fence.h:12:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/dma-buf/dma-fence.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -3172 +3626,18 @@ -18 errors generated. +In file included from ../init/main.c:113: +In file included from ../include/trace/events/initcall.h:74: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/initcall.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(initcall_level, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. @@ -3175,2 +3646,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3179,2 +3650,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, +../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, @@ -3191,2 +3662,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3195 +3666 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -3205,2 +3676,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3209 +3680 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -3219,2 +3690,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3223 +3694 @@ -../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] +../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] @@ -3233,2 +3704,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3237 +3708 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -3247,2 +3718,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3251 +3722 @@ -../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -3261,2 +3732,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3265,2 +3736,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, +../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, @@ -3277,2 +3748,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3281 +3752 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' @@ -3291,2 +3762,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3295 +3766 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' @@ -3305,2 +3776,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3309 +3780 @@ -../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] +../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] @@ -3319,2 +3790,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3323 +3794 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'preempt_notrace' @@ -3333,2 +3804,2 @@ -In file included from ../sound/firewire/motu/amdtp-motu.c:13: -In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3337 +3808 @@ -../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:119:1: error: use of undeclared identifier 'trace_event_guard' @@ -3347,6 +3818,2 @@ -12 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 ../net/bpf/test_run.c:29: -In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../drivers/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3355,2 +3822,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, +../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, @@ -3367,2 +3834,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3371 +3838 @@ -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' @@ -3381,2 +3848,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3385 +3852 @@ -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' @@ -3395,2 +3862,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3399 +3866 @@ -../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] +../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] @@ -3409,2 +3876,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3413 +3880 @@ -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'preempt_notrace' @@ -3423,2 +3890,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3427 +3894 @@ -../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/bus/mhi/host/trace.h:149:1: error: use of undeclared identifier 'trace_event_guard' @@ -3437,2 +3904,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/bus/mhi/host/init.c:24: +In file included from ../drivers/bus/mhi/host/trace.h:282: @@ -3441,2 +3908,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, +../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, @@ -3450,2 +3917,8 @@ -In file included from ../net/bpf/test_run.c:29: -In file included from ../include/trace/events/bpf_test_run.h:67: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/bus/mhi/host/init.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/bus/mhi/host] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/bus/mhi] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/bus] Error 2 +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3454 +3927,20 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -3461,2 +3953,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3465 +3957,4 @@ -../include/trace/events/bpf_test_run.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3472,2 +3967,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3476 +3971,4 @@ -../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] +../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, \ + | ^ @@ -3483,2 +3981,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3487 +3985,4 @@ -../include/trace/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -3494,2 +3995,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/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3498 +3999,4 @@ -../include/trace/events/bpf_test_run.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -3505,5 +4009,2 @@ -12 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 ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3512,2 +4013,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, +../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, @@ -3524,2 +4025,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 ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3528 +4029 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -3538,2 +4039,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 ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3542 +4043 @@ -../include/trace/events/maple_tree.h:13: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' @@ -3552,2 +4053,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 ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3556 +4057 @@ -../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] +../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] @@ -3566,2 +4067,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 ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3570 +4071 @@ -../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' @@ -3580,2 +4081,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 ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: @@ -3584 +4085 @@ -../include/trace/events/maple_tree.h:13: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' @@ -3594,2 +4095,108 @@ -In file included from ../lib/maple_tree.c:65: -In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(aoss_send, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/soc/qcom/qcom_aoss.c:18: +In file included from ../drivers/soc/qcom/trace-aoss.h:48: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/soc/qcom/trace-aoss.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 26 | TRACE_EVENT(aoss_send_done, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3598,2 +4205,2 @@ -../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/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, @@ -3610,2 +4217,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3614 +4221 @@ -../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -3624,2 +4231,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3628 +4235 @@ -../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' @@ -3638,2 +4245,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3642 +4249 @@ -../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/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] @@ -3652,2 +4259,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3656 +4263 @@ -../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' @@ -3666,2 +4273,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3670 +4277 @@ -../include/trace/events/maple_tree.h:46:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' @@ -3680,2 +4287,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3684,2 +4291,2 @@ -../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/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, @@ -3696,2 +4303,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3700 +4307 @@ -../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -3710,2 +4317,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3714 +4321 @@ -../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -3724,2 +4331,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3728 +4335 @@ -../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/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] @@ -3738,2 +4345,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3742 +4349 @@ -../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -3752,2 +4359,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3756 +4363 @@ -../include/trace/events/maple_tree.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -3766,4 +4373,2 @@ -18 errors generated. -make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3772,2 +4377,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/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, @@ -3781,2 +4386,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3785 +4390 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -3792,2 +4397,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3796 +4401 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -3803,2 +4408,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3807 +4412 @@ -../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/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3814,2 +4419,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3818 +4423 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' @@ -3825,2 +4430,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3829 +4434 @@ -../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' @@ -3836,2 +4441,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 ../kernel/softirq.c:35: +In file included from ../include/trace/events/irq.h:213: @@ -3840,2 +4445,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/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, @@ -3849,2 +4454,6 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3853 +4462,14 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -3860,2 +4482,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3864 +4486 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3871,2 +4493,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3875 +4497 @@ -../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/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3882,2 +4504,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3886 +4508 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -3893,2 +4515,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3897 +4519 @@ -../include/trace/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -3904,2 +4526,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3908,2 +4530,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/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, @@ -3920,2 +4542,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3924 +4546 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3934,2 +4556,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3938 +4560 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3948,2 +4570,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3952 +4574 @@ -../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/host1x.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -3962,2 +4584,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3966 +4588 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -3976,2 +4598,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3980 +4602 @@ -../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -3990,2 +4612,2 @@ -In file included from ../drivers/iommu/iommu-traces.c:13: -In file included from ../include/trace/events/iommu.h:162: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -3994,2 +4616,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/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, @@ -4006,5 +4628,2 @@ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4013,8 +4632,3 @@ -../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); \ +../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, \ @@ -4022,5 +4635,0 @@ -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' @@ -4033,2 +4642,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4037 +4646,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -4044,2 +4656,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4048 +4660,4 @@ -../include/trace/events/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../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, \ + | ^ @@ -4055,2 +4670,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4059 +4674,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -4066,2 +4684,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4070 +4688,4 @@ -../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -4077,2 +4698,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../drivers/gpu/host1x/dev.c:23: +In file included from ../include/trace/events/host1x.h:267: @@ -4081,2 +4702,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/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, @@ -4093,2 +4714,6 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4097,3 +4722,8 @@ -../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/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); \ @@ -4100,0 +4731,5 @@ +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' @@ -4107,2 +4742,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4111,4 +4746 @@ -../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/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -4121,2 +4753,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4125,4 +4757 @@ -../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/block.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4135,2 +4764,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4139,4 +4768 @@ -../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/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -4149,2 +4775,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4153,4 +4779 @@ -../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/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -4163,2 +4786,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4167,2 +4790,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/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, @@ -4179,2 +4802,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4183 +4806 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -4193,2 +4816,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4197 +4820 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -4207,2 +4830,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4211 +4834 @@ -../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/block.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4221,2 +4844,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4225 +4848 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -4235,2 +4858,2 @@ -In file included from ../mm/filemap.c:54: -In file included from ../include/trace/events/filemap.h:118: +In file included from ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4239 +4862 @@ -../include/trace/events/filemap.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -4249,7 +4872,2 @@ -18 errors generated. -make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... -make[5]: *** Waiting for unfinished jobs.... -make[3]: *** [../scripts/Makefile.build:485: lib] 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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4258,2 +4876,2 @@ -../include/trace/events/host1x.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | DECLARE_EVENT_CLASS(host1x, +../include/trace/events/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, @@ -4267,2 +4885,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4271 +4889 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -4278,2 +4896,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4282 +4900 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -4289,2 +4907,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4293 +4911 @@ -../include/trace/events/host1x.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4300,2 +4918,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4304 +4922 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -4311,2 +4929,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4315 +4933 @@ -../include/trace/events/host1x.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -4322,2 +4940,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 ../block/blk-core.c:45: +In file included from ../include/trace/events/block.h:609: @@ -4326,2 +4944,19 @@ -../include/trace/events/host1x.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 49 | TRACE_EVENT(host1x_cdma_push, +../include/trace/events/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 ../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, @@ -4338,2 +4973,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 ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -4342 +4977 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -4352,2 +4987,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 ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -4356 +4991 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -4366,2 +5001,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 ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -4370 +5005 @@ -../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/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] @@ -4380,2 +5015,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 ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -4384 +5019 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -4394,2 +5029,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 ../security/selinux/avc.c:35: +In file included from ../include/trace/events/avc.h:53: @@ -4398 +5033 @@ -../include/trace/events/host1x.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/avc.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -4408,6 +5043,6 @@ -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, +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, @@ -4418,2 +5053,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) @@ -4421,2 +5056,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); \ @@ -4424,5 +5059,5 @@ -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' +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' @@ -4432,2 +5067,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) @@ -4435,2 +5070,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); \ @@ -4438,5 +5073,5 @@ -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' +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' @@ -4446,2 +5081,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) @@ -4449,2 +5084,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); \ @@ -4452,5 +5087,5 @@ -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] +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] @@ -4460,2 +5095,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) @@ -4463,2 +5098,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)(); \ @@ -4466,5 +5101,5 @@ -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' +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' @@ -4474,2 +5109,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) @@ -4477,2 +5112,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)(); \ @@ -4480,5 +5115,5 @@ -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' +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' @@ -4488,2 +5123,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) @@ -4491,2 +5126,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)(); \ @@ -4494,22 +5129,4 @@ -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 ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: security/selinux/avc.o] Error 1 +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4518,2 +5135,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/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, @@ -4527,2 +5144,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4531 +5148 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -4538,2 +5155,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4542 +5159 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -4549,2 +5166,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4553 +5170 @@ -../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/filemap.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -4560,2 +5177,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4564 +5181 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -4571,2 +5188,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4575 +5192 @@ -../include/trace/events/block.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -4582,2 +5199,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4586,2 +5203,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/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, @@ -4598,2 +5215,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4602 +5219 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -4612,2 +5229,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4616 +5233 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -4626,2 +5243,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4630 +5247 @@ -../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/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] @@ -4640,2 +5257,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4644 +5261 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -4654,2 +5271,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4658 +5275 @@ -../include/trace/events/block.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/filemap.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -4668,2 +5285,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4672,2 +5289,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/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, @@ -4674,0 +5292,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4681,2 +5301,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4685 +5305,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -4692,2 +5315,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4696 +5319,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -4703,2 +5329,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4707 +5333,4 @@ -../include/trace/events/block.h:118:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../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, \ + | ^ @@ -4714,2 +5343,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4718 +5347,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -4725,2 +5357,2 @@ -In file included from ../block/blk-core.c:45: -In file included from ../include/trace/events/block.h:609: +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: @@ -4729 +5361,4 @@ -../include/trace/events/block.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -4736,6 +5371,6 @@ -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, +In file included from ../mm/filemap.c:54: +In file included from ../include/trace/events/filemap.h:118: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/filemap.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mm_filemap_op_page_cache, @@ -4743,2 +5378,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) @@ -4746,2 +5381,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); \ @@ -4751,5 +5386,5 @@ -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 ../drivers/dma/fsl-edma-trace.c:4: -In file included from ../drivers/dma/fsl-edma-common.h:342: -In file included from ../drivers/dma/fsl-edma-trace.h:132: +make[4]: *** [../scripts/Makefile.build:244: mm/filemap.o] Error 1 +make[4]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:485: security/selinux] Error 2 +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4758,2 +5393,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, +../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, @@ -4760,0 +5396,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4767,3 +5405,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4772 +5409,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -4779,3 +5419,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4784 +5423,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4791,3 +5433,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4796 +5437,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] +../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, \ + | ^ @@ -4803,3 +5447,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4808 +5451,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -4815,3 +5461,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4820 +5465,4 @@ -../drivers/dma/fsl-edma-trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4827,3 +5475,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4832,2 +5479,2 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 62 | DECLARE_EVENT_CLASS(edma_log_tcd, +../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, @@ -4834,0 +5482,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4841,3 +5491,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4846 +5495,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4853,3 +5505,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4858 +5509,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4865,3 +5519,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4870 +5523,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] +../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, \ + | ^ @@ -4877,3 +5533,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4882 +5537,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4889,3 +5547,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 ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: @@ -4894 +5551,4 @@ -../drivers/dma/fsl-edma-trace.h:62:1: error: use of undeclared identifier 'trace_event_guard' +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -4901,3 +5561,108 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/dma/fsl-edma-trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: drivers/dma] Error 2 +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(data_block_sph, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../sound/firewire/motu/amdtp-motu.c:13: +In file included from ../sound/firewire/motu/amdtp-motu-trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/firewire/motu/amdtp-motu-trace.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(data_block_message, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: sound/firewire/motu/amdtp-motu.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: security] Error 2 +make[5]: *** [../scripts/Makefile.build:485: sound/firewire/motu] Error 2 +make[4]: *** [../scripts/Makefile.build:485: sound/firewire] Error 2 @@ -5124,3 +5889,3 @@ -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/soc/qcom/qcom_aoss.c:18: -In file included from ../drivers/soc/qcom/trace-aoss.h:48: +make[4]: *** [../scripts/Makefile.build:485: drivers/clk] Error 2 +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5129,2 +5894,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/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, @@ -5141,2 +5906,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5145 +5910 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -5155,2 +5920,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5159 +5924 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -5169,2 +5934,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5173 +5938 @@ -../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/oom.h:12:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5183,2 +5948,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5187 +5952 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' @@ -5197,2 +5962,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5201 +5966 @@ -../drivers/soc/qcom/trace-aoss.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' @@ -5211,2 +5976,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5215,2 +5980,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/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, @@ -5227,2 +5992,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5231 +5996 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -5241,2 +6006,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5245 +6010 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -5255,2 +6020,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5259 +6024 @@ -../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/oom.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5269,2 +6034,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5273 +6038 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -5283,2 +6048,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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5287 +6052 @@ -../drivers/soc/qcom/trace-aoss.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -5297,6 +6062,2 @@ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/qcom_aoss.o] Error 1 -make[6]: *** Waiting for unfinished jobs.... -make[4]: *** [../scripts/Makefile.build:485: drivers/clk] 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 ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5305,2 +6066,2 @@ -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | TRACE_EVENT(gpio_direction, +../include/trace/events/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, @@ -5317,2 +6078,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5321 +6082 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -5331,2 +6092,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5335 +6096 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -5345,2 +6106,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5349 +6110 @@ -../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/oom.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5359,2 +6120,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5363 +6124 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -5373,2 +6134,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5377 +6138 @@ -../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/oom.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -5387,2 +6148,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../mm/oom_kill.c:54: +In file included from ../include/trace/events/oom.h:223: @@ -5391,2 +6152,2 @@ -../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | TRACE_EVENT(gpio_value, +../include/trace/events/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, @@ -5403,2 +6164,5 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +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/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -5407 +6171,17 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -5417,2 +6197,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -5421 +6201 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -5431,2 +6211,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -5435 +6215 @@ -../include/trace/events/gpio.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/nmi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5445,2 +6225,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -5449 +6229 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -5459,2 +6239,2 @@ -In file included from ../drivers/gpio/gpiolib.c:44: -In file included from ../include/trace/events/gpio.h:57: +In file included from ../arch/x86/kernel/nmi.c:41: +In file included from ../include/trace/events/nmi.h:38: @@ -5463 +6243 @@ -../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/nmi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -5473,2 +6252,0 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 @@ -5477,2 +6255,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -5485,2 +6263,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) @@ -5488,2 +6266,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); \ @@ -5493,2 +6271,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -5499,2 +6277,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) @@ -5502,2 +6280,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); \ @@ -5507,3 +6285,3 @@ -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' +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' @@ -5513,2 +6291,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) @@ -5516,2 +6294,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); \ @@ -5521,2 +6299,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -5527,2 +6305,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) @@ -5530,2 +6308,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)(); \ @@ -5535,2 +6313,2 @@ -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: @@ -5541,2 +6319,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) @@ -5544,2 +6322,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)(); \ @@ -5549,3 +6327,3 @@ -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' +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' @@ -5555,2 +6333,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) @@ -5558,2 +6336,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)(); \ @@ -5561 +6339 @@ -6 errors generated. +12 errors generated. @@ -5564,3 +6342,2 @@ -make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5569,2 +6346,2 @@ -../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/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, @@ -5578,2 +6355,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5582 +6359 @@ -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -5589,2 +6366,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5593 +6370 @@ -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -5600,2 +6377,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5604 +6381 @@ -../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/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] @@ -5611,2 +6388,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5615 +6392 @@ -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -5622,2 +6399,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5626 +6403 @@ -../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/asoc.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -5633,2 +6410,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5637,2 +6414,2 @@ -../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/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, @@ -5640,3 +6416,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -5649,2 +6423,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5653,4 +6427 @@ -../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/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -5663,2 +6434,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5667,4 +6438 @@ -../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/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' @@ -5677,2 +6445,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5681,4 +6449 @@ -../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/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] @@ -5691,2 +6456,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5695,4 +6460 @@ -../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/events/asoc.h:60:1: error: use of undeclared identifier 'preempt_notrace' @@ -5705,2 +6467,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5709,4 +6471 @@ -../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/events/asoc.h:60:1: error: use of undeclared identifier 'trace_event_guard' @@ -5719,2 +6478,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5723,2 +6482,2 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 152 | DECLARE_EVENT_CLASS(vector_mod, +../include/trace/events/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, @@ -5732,2 +6491,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5736 +6495 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' @@ -5743,2 +6502,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5747 +6506 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' @@ -5754,2 +6513,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5758 +6517 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/asoc.h:95:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5765,2 +6524,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5769 +6528 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'preempt_notrace' @@ -5776,2 +6535,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5780 +6539 @@ -../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/asoc.h:95:1: error: use of undeclared identifier 'trace_event_guard' @@ -5787,2 +6546,2 @@ -In file included from ../arch/x86/kernel/irq.c:29: -In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: +In file included from ../sound/soc/soc-core.c:45: +In file included from ../include/trace/events/asoc.h:279: @@ -5791,2 +6550,2 @@ -../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/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, @@ -5793,0 +6553,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -5802,4 +6564,4 @@ -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 ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +make[5]: *** [../scripts/Makefile.build:244: sound/soc/soc-core.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5808,2 +6570,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/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, @@ -5820,2 +6582,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5824 +6586 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -5834,2 +6596,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5838 +6600 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -5848,2 +6610,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5852 +6614 @@ -../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/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5862,2 +6624,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5866 +6628 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -5876,2 +6638,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5880 +6642 @@ -../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -5890,2 +6652,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5894,2 +6656,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/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, @@ -5906,2 +6668,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5910 +6672 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -5920,2 +6682,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5924 +6686 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -5934,2 +6696,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5938 +6700 @@ -../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/pagemap.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -5948,2 +6710,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5952 +6714 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' @@ -5962,2 +6724,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: @@ -5966 +6728 @@ -../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' @@ -5976,2 +6738,107 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mm_lru_insertion, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../mm/swap.c:44: +In file included from ../include/trace/events/pagemap.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | TRACE_EVENT(mm_lru_activate, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: mm/swap.o] Error 1 +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -5980,2 +6847,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/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, @@ -5992,2 +6859,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -5996 +6863 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -6006,2 +6873,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6010 +6877 @@ -../include/trace/events/cpuhp.h:65: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' @@ -6020,2 +6887,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6024 +6891 @@ -../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/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] @@ -6034,2 +6901,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6038 +6905 @@ -../include/trace/events/cpuhp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/maple_tree.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -6048,2 +6915,2 @@ -In file included from ../kernel/cpu.c:43: -In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6052 +6919 @@ -../include/trace/events/cpuhp.h:65: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' @@ -6062,5 +6929,2 @@ -18 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.o] Error 1 -make[4]: *** Waiting for unfinished jobs.... -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6069,2 +6933,2 @@ -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 10 | DECLARE_EVENT_CLASS(nbd_transport_event, +../include/trace/events/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, @@ -6071,0 +6936,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6078,2 +6945,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6082 +6949,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -6089,2 +6959,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6093 +6963,4 @@ -../include/trace/events/nbd.h:10: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6100,2 +6973,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6104 +6977,4 @@ -../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/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, \ + | ^ @@ -6111,2 +6987,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6115 +6991,4 @@ -../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -6122,2 +7001,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6126 +7005,4 @@ -../include/trace/events/nbd.h:10: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6133,2 +7015,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6137,2 +7019,2 @@ -../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | DECLARE_EVENT_CLASS(nbd_send_request, +../include/trace/events/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, @@ -6139,0 +7022,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6146,2 +7031,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6150 +7035,4 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -6157,2 +7045,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6161 +7049,4 @@ -../include/trace/events/nbd.h:61: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6168,2 +7059,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6172 +7063,4 @@ -../include/trace/events/nbd.h:61:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/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, \ + | ^ @@ -6179,2 +7073,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6183 +7077,4 @@ -../include/trace/events/nbd.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -6190,2 +7087,2 @@ -In file included from ../drivers/block/nbd.c:50: -In file included from ../include/trace/events/nbd.h:107: +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: @@ -6194 +7091,4 @@ -../include/trace/events/nbd.h:61: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -6201,3 +7101,20 @@ -12 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... +In file included from ../lib/maple_tree.c:65: +In file included from ../include/trace/events/maple_tree.h:123: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/maple_tree.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(ma_op, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: lib/maple_tree.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: lib] Error 2 @@ -6703,3 +7620,3 @@ -make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 -In file included from ../mm/oom_kill.c:54: -In file included from ../include/trace/events/oom.h:223: +make[5]: *** Waiting for unfinished jobs.... +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6708,2 +7625,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/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, @@ -6720,2 +7637,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6724 +7641 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -6734,2 +7651,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6738 +7655 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -6748,2 +7665,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6752 +7669 @@ -../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/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6762,2 +7679,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6766 +7683 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -6776,2 +7693,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6780 +7697 @@ -../include/trace/events/oom.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -6790,2 +7707,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6794,2 +7711,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/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, @@ -6806,2 +7723,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6810 +7727 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -6820,2 +7737,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6824 +7741 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -6834,2 +7751,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6838 +7755 @@ -../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/signal.h:96:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6848,2 +7765,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6852 +7769 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' @@ -6862,2 +7779,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: @@ -6866 +7783 @@ -../include/trace/events/oom.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' @@ -6876,6 +7793,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: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, +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 50 | TRACE_EVENT(signal_generate, @@ -6886,2 +7803,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) @@ -6889,2 +7806,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); \ @@ -6892,5 +7809,5 @@ -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' +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -6900,2 +7817,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) @@ -6903,2 +7820,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); \ @@ -6906,5 +7823,5 @@ -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' +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -6914,2 +7831,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) @@ -6917,2 +7834,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); \ @@ -6920,5 +7837,5 @@ -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] +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -6928,2 +7845,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) @@ -6931,2 +7848,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)(); \ @@ -6934,5 +7851,5 @@ -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' +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -6942,2 +7859,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) @@ -6945,2 +7862,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)(); \ @@ -6948,5 +7865,5 @@ -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' +In file included from ../kernel/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -6956,2 +7873,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) @@ -6959,2 +7876,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)(); \ @@ -6962,6 +7879,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/signal.c:53: +In file included from ../include/trace/events/signal.h:125: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/signal.h:96:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 96 | TRACE_EVENT(signal_deliver, @@ -6972,2 +7889,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) @@ -6975,2 +7892,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); \ @@ -6980,3 +7897,3 @@ -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/signal.o] Error 1 +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -6985,2 +7902,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/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, @@ -6997,2 +7914,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7001 +7918 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7011,2 +7928,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7015 +7932 @@ -../include/trace/events/kvm.h:22: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' @@ -7025,2 +7942,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7029 +7946 @@ -../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/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] @@ -7039,2 +7956,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7043 +7960 @@ -../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7053,2 +7970,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7057 +7974 @@ -../include/trace/events/kvm.h:22: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' @@ -7067,2 +7984,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7071,2 +7988,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/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, @@ -7074,3 +7990,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -7083,2 +7997,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7087,4 +8001 @@ -../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/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -7097,2 +8008,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7101,4 +8012 @@ -../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/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -7111,2 +8019,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7115,4 +8023 @@ -../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/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] @@ -7125,2 +8030,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7129,4 +8034 @@ -../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/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -7139,2 +8041,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: @@ -7143,4 +8045 @@ -../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/events/bpf_test_run.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -7153,6 +8052,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: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, +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(bpf_trigger_tp, @@ -7163,2 +8062,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) @@ -7166,2 +8065,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); \ @@ -7169,5 +8068,5 @@ -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' +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7177,2 +8076,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) @@ -7180,2 +8079,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); \ @@ -7183,5 +8082,5 @@ -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' +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -7191,2 +8090,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) @@ -7194,2 +8093,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); \ @@ -7197,5 +8096,5 @@ -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] +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7205,2 +8104,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) @@ -7208,2 +8107,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)(); \ @@ -7211,5 +8110,5 @@ -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' +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7219,2 +8118,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) @@ -7222,2 +8121,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)(); \ @@ -7225,5 +8124,5 @@ -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' +In file included from ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -7233,2 +8132,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) @@ -7236,2 +8135,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)(); \ @@ -7239,6 +8138,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 ../net/bpf/test_run.c:29: +In file included from ../include/trace/events/bpf_test_run.h:67: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/bpf_test_run.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(bpf_test_finish, @@ -7246,5 +8145,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/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -7252,2 +8148,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); \ @@ -7257,4 +8153,4 @@ -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 ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +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/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7263,2 +8159,2 @@ -../include/trace/events/irq.h:53:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 53 | TRACE_EVENT(irq_handler_entry, +../include/trace/events/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, @@ -7275,2 +8171,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7279 +8175 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7289,2 +8185,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7293 +8189 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7303,2 +8199,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7307 +8203 @@ -../include/trace/events/irq.h:53:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7317,2 +8213,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7321 +8217 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7331,2 +8227,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7335 +8231 @@ -../include/trace/events/irq.h:53:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7345,2 +8241,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7349,2 +8245,2 @@ -../include/trace/events/irq.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(irq_handler_exit, +../include/trace/events/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, @@ -7361,2 +8257,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7365 +8261 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -7375,2 +8271,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7379 +8275 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -7389,2 +8285,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7393 +8289 @@ -../include/trace/events/irq.h:83:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/cpuhp.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7403,2 +8299,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7407 +8303 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -7417,2 +8313,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7421 +8317 @@ -../include/trace/events/irq.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/cpuhp.h:37:1: error: use of undeclared identifier 'trace_event_guard' @@ -7431,2 +8327,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7435,2 +8331,2 @@ -../include/trace/events/irq.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 103 | DECLARE_EVENT_CLASS(softirq, +../include/trace/events/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, @@ -7437,0 +8334,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -7444,2 +8343,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7448 +8347,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7455,2 +8357,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7459 +8361,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7466,2 +8371,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7470 +8375,4 @@ -../include/trace/events/irq.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/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, \ + | ^ @@ -7477,2 +8385,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7481 +8389,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -7488,2 +8399,2 @@ -In file included from ../kernel/softirq.c:35: -In file included from ../include/trace/events/irq.h:213: +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: @@ -7492 +8403,4 @@ -../include/trace/events/irq.h:103:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -7499,6 +8413,6 @@ -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, +In file included from ../kernel/cpu.c:43: +In file included from ../include/trace/events/cpuhp.h:95: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/cpuhp.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(cpuhp_enter, @@ -7506,2 +8420,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, \ @@ -7509,2 +8423,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/bpf_probe.h:61: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); \ @@ -7514,3 +8431,3 @@ -make[4]: *** [../scripts/Makefile.build:244: kernel/softirq.o] Error 1 -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +make[4]: *** [../scripts/Makefile.build:244: kernel/cpu.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: @@ -7519,2 +8436,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/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, @@ -7531,2 +8448,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7535 +8452 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -7545,2 +8462,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7549 +8466 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -7559,2 +8476,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7563 +8480 @@ -../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/kvm.h:22:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7573,2 +8490,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7577 +8494 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'preempt_notrace' @@ -7587,2 +8504,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7591 +8508 @@ -../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:22:1: error: use of undeclared identifier 'trace_event_guard' @@ -7601,2 +8518,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7605,2 +8522,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/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, @@ -7617,2 +8534,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7621 +8538 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' @@ -7631,2 +8548,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7635 +8552 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' @@ -7645,2 +8562,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7649 +8566 @@ -../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/kvm.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7659,2 +8576,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7663 +8580 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'preempt_notrace' @@ -7673,2 +8590,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7677 +8594 @@ -../drivers/cxl/core/trace.h:99:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:43:1: error: use of undeclared identifier 'trace_event_guard' @@ -7687,2 +8604,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7691,2 +8608,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/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, @@ -7703,2 +8620,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7707 +8624 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -7717,2 +8634,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7721 +8638 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -7731,2 +8648,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7735 +8652 @@ -../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/kvm.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -7745,2 +8662,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7749 +8666 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -7759,2 +8676,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7763 +8680 @@ -../drivers/cxl/core/trace.h:127:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kvm.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -7773,2 +8690,2 @@ -In file included from ../drivers/cxl/core/trace.c:8: -In file included from ../drivers/cxl/core/trace.h:737: +In file included from ../arch/x86/kvm/../../../virt/kvm/kvm_main.c:65: +In file included from ../include/trace/events/kvm.h:495: @@ -7777,2 +8694,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/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, @@ -7791,5 +8708,4 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/cxl/core/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/cxl/core] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/cxl] Error 2 -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +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: @@ -7798,2 +8714,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, +../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, @@ -7810,2 +8726,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7814 +8730 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7824,2 +8740,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7828 +8744 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7838,2 +8754,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7842 +8758 @@ -../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/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] @@ -7852,2 +8768,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7856 +8772 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7866,2 +8782,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7870 +8786 @@ -../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -7880,2 +8796,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7884,2 +8800,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, +../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, @@ -7896,2 +8812,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7900 +8816 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -7910,2 +8826,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7914 +8830 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -7924,2 +8840,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7928 +8844 @@ -../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/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] @@ -7938,2 +8854,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7942 +8858 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -7952,2 +8868,2 @@ -In file included from ../kernel/fork.c:117: -In file included from ../include/trace/events/task.h:62: +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: @@ -7956 +8872 @@ -../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/gpio.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -7966,8 +8882,6 @@ -12 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/fork.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, +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT(gpio_direction, @@ -7978,2 +8892,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) @@ -7981,2 +8895,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); \ @@ -7984,5 +8898,5 @@ -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' +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -7992,2 +8906,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) @@ -7995,2 +8909,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); \ @@ -7998,5 +8912,5 @@ -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' +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -8006,2 +8920,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) @@ -8009,2 +8923,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); \ @@ -8012,5 +8926,5 @@ -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] +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -8020,2 +8934,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) @@ -8023,2 +8937,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)(); \ @@ -8026,5 +8940,5 @@ -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' +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -8034,2 +8948,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) @@ -8037,2 +8951,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)(); \ @@ -8040,5 +8954,5 @@ -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' +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -8048,2 +8962,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) @@ -8051,2 +8965,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)(); \ @@ -8054,6 +8968,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: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, +In file included from ../drivers/gpio/gpiolib.c:44: +In file included from ../include/trace/events/gpio.h:57: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/gpio.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | TRACE_EVENT(gpio_value, @@ -8063,0 +8978,17 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/gpio/gpiolib.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/gpio] Error 2 +In file included from ../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, + | ^ @@ -8070,2 +9001,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8074,4 +9005 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -8084,2 +9012,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8088,4 +9016 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -8098,2 +9023,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8102,4 +9027 @@ -../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, \ - | ^ +../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] @@ -8112,2 +9034,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8116,4 +9038 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -8126,2 +9045,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8130,4 +9049 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -8140,2 +9056,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8144,2 +9060,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, +../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, @@ -8156,2 +9072,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8160 +9076 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' @@ -8170,2 +9086,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8174 +9090 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' @@ -8184,2 +9100,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8188 +9104 @@ -../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] +../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] @@ -8198,2 +9114,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8202 +9118 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'preempt_notrace' @@ -8212,2 +9128,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8216 +9132 @@ -../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/include/asm/trace/irq_vectors.h:126:1: error: use of undeclared identifier 'trace_event_guard' @@ -8226,6 +9142,2 @@ -18 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 ../sound/pci/hda/hda_controller.c:32: -In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8234,2 +9146,2 @@ -../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(azx_pcm_trigger, +../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, @@ -8237,3 +9148,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8246,2 +9155,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8250,4 +9159 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' @@ -8260,2 +9166,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8264,4 +9170 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' @@ -8274,2 +9177,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8278,4 +9181 @@ -../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, \ - | ^ +../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] @@ -8288,2 +9188,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8292,4 +9192 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'preempt_notrace' @@ -8302,2 +9199,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8306,4 +9203 @@ -../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, \ - | ^ +../arch/x86/include/asm/trace/irq_vectors.h:152:1: error: use of undeclared identifier 'trace_event_guard' @@ -8316,2 +9210,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 ../arch/x86/kernel/irq.c:29: +In file included from ../arch/x86/include/asm/trace/irq_vectors.h:383: @@ -8320,2 +9214,19 @@ -../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, +../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/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, @@ -8332,2 +9243,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8336 +9247 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -8346,2 +9257,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8350 +9261 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -8360,2 +9271,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8364 +9275 @@ -../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] +../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] @@ -8374,2 +9285,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8378 +9289 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' @@ -8388,2 +9299,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8392 +9303 @@ -../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/cxl/core/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' @@ -8402,2 +9313,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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8406,2 +9317,2 @@ -../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, +../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, @@ -8409,57 +9320,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 ../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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -8467,14 +9322,0 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -18 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/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, - | ^ @@ -8487,57 +9329,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: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8546,8 +9333,3 @@ -../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); \ +../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, \ @@ -8555,5 +9336,0 @@ -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' @@ -8566,2 +9343,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8570 +9347,4 @@ -../drivers/base/regmap/trace.h:62: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, \ + | ^ @@ -8577,2 +9357,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8581 +9361,4 @@ -../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] +../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, \ + | ^ @@ -8588,2 +9371,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8592 +9375,4 @@ -../drivers/base/regmap/trace.h:62: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, \ + | ^ @@ -8599,2 +9385,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8603 +9389,4 @@ -../drivers/base/regmap/trace.h:62: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, \ + | ^ @@ -8610,2 +9399,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8614,2 +9403,2 @@ -../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 103 | DECLARE_EVENT_CLASS(regmap_block, +../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, @@ -8616,0 +9406,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -8623,2 +9415,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8627 +9419,4 @@ -../drivers/base/regmap/trace.h:103: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, \ + | ^ @@ -8634,2 +9429,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8638 +9433,4 @@ -../drivers/base/regmap/trace.h:103: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, \ + | ^ @@ -8645,2 +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 ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8649 +9447,4 @@ -../drivers/base/regmap/trace.h:103:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../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, \ + | ^ @@ -8656,2 +9457,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8660 +9461,4 @@ -../drivers/base/regmap/trace.h:103: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, \ + | ^ @@ -8667,2 +9471,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8671 +9475,4 @@ -../drivers/base/regmap/trace.h:103: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, \ + | ^ @@ -8678,2 +9485,2 @@ -In file included from ../drivers/base/regmap/regmap.c:23: -In file included from ../drivers/base/regmap/trace.h:284: +In file included from ../drivers/cxl/core/trace.c:8: +In file included from ../drivers/cxl/core/trace.h:737: @@ -8682,2 +9489,2 @@ -../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, +../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, @@ -8696,5 +9503,5 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +make[6]: *** [../scripts/Makefile.build:244: drivers/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 ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8703,2 +9510,2 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 18 | DECLARE_EVENT_CLASS(rnbd_srv_link_class, +../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, @@ -8712,2 +9519,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8716 +9523 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -8723,2 +9530,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8727 +9534 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -8734,2 +9541,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8738 +9545 @@ -../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/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] @@ -8745,2 +9552,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8749 +9556 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -8756,2 +9563,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8760 +9567 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -8767,2 +9574,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8771,2 +9578,2 @@ -../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/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, @@ -8774,3 +9580,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -8783,2 +9587,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8787,4 +9591 @@ -../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/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -8797,2 +9598,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8801,4 +9602 @@ -../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/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -8811,2 +9609,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8815,4 +9613 @@ -../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/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] @@ -8825,2 +9620,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8829,4 +9624 @@ -../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/events/iommu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -8839,2 +9631,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8843,4 +9635 @@ -../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/events/iommu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -8853,2 +9642,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8857,2 +9646,2 @@ -../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/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, @@ -8869,2 +9658,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8873 +9662 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -8883,2 +9672,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8887 +9676 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -8897,2 +9686,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8901 +9690 @@ -../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/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] @@ -8911,2 +9700,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8915 +9704 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -8925,2 +9714,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8929 +9718 @@ -../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/iommu.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -8939,2 +9728,2 @@ -In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: -In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: +In file included from ../drivers/iommu/iommu-traces.c:13: +In file included from ../include/trace/events/iommu.h:162: @@ -8943,2 +9732,2 @@ -../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/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, @@ -8957,2 +9746,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/block/rnbd/rnbd-srv-trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/block/rnbd] Error 2 +make[5]: *** [../scripts/Makefile.build:244: drivers/iommu/iommu-traces.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/iommu] Error 2 @@ -9236,2 +10025,3 @@ -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[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9240,2 +10030,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/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, @@ -9252,2 +10042,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9256 +10046 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -9266,2 +10056,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9270 +10060 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -9280,2 +10070,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9284 +10074 @@ -../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/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] @@ -9294,2 +10084,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9298 +10088 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -9308,2 +10098,2 @@ -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: -In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: +In file included from ../net/devlink/core.c:9: +In file included from ../include/trace/events/devlink.h:213: @@ -9312 +10102 @@ -../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' @@ -9322,2 +10111,0 @@ -6 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/soc/qcom/pmic_pdcharger_ulog.o] Error 1 @@ -9328,2 +10116,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, +../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, @@ -9344 +10132 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -9358 +10146 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -9372 +10160 @@ -../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/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] @@ -9386 +10174 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -9400 +10188 @@ -../include/trace/events/devlink.h:17:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' @@ -9414,2 +10202,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, +../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, @@ -9430 +10218 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -9444 +10232 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -9458 +10246 @@ -../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/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] @@ -9472 +10260 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -9486 +10274 @@ -../include/trace/events/devlink.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/devlink.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -9500,2 +10288,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, +../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, @@ -9512,2 +10300,6 @@ -In file included from ../net/devlink/core.c:9: -In file included from ../include/trace/events/devlink.h:213: +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/base/regmap/regmap.c:23: +In file included from ../drivers/base/regmap/trace.h:284: @@ -9516,3 +10308,5 @@ -../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: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), \ @@ -9519,0 +10314,8 @@ +../include/trace/trace_events.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' @@ -9526,2 +10328,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: @@ -9530,4 +10332 @@ -../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:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -9540,2 +10339,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: @@ -9544,4 +10343 @@ -../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:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -9554,2 +10350,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: @@ -9558,3 +10354,60 @@ -../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: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), \ @@ -9561,0 +10415,8 @@ +../include/trace/trace_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' @@ -9568,2 +10429,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: @@ -9572,3 +10433,60 @@ -../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: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), \ @@ -9575,0 +10494,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/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' @@ -9582,2 +10508,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: @@ -9586,2 +10512,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, @@ -9600,5 +10526,5 @@ -make[5]: *** [../scripts/Makefile.build:244: net/devlink/core.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: io_uring] Error 2 -make[4]: *** [../scripts/Makefile.build:485: net/devlink] Error 2 -In file included from ../drivers/nvme/host/core.c:31: -In file included from ../drivers/nvme/host/trace.h:172: +make[6]: *** [../scripts/Makefile.build:244: drivers/base/regmap/regmap.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/base/regmap] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: @@ -9607,2 +10533,141 @@ -../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, +../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | DECLARE_EVENT_CLASS(devres, + | ^ +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' + 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' + 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | DECLARE_EVENT_CLASS(devres, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/base/trace.c:10: +In file included from ../drivers/base/trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/base/trace.h:19:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/base/trace.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/base] Error 2 +In file included from ../drivers/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, @@ -9619,2 +10684,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9623 +10688 @@ -../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -9633,2 +10698,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9637 +10702 @@ -../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -9647,2 +10712,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9651 +10716 @@ -../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] +../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] @@ -9661,2 +10726,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9665 +10730 @@ -../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -9675,2 +10740,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9679 +10744 @@ -../drivers/nvme/host/trace.h:47:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -9689,2 +10754,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9693,2 +10758,2 @@ -../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, +../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, @@ -9705,2 +10770,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9709 +10774 @@ -../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -9719,2 +10784,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9723 +10788 @@ -../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -9733,2 +10798,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9737 +10802 @@ -../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] +../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] @@ -9747,2 +10812,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9751 +10816 @@ -../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -9761,2 +10826,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9765 +10830 @@ -../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -9775,2 +10840,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9779,2 +10844,2 @@ -../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, +../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, @@ -9791,2 +10856,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9795 +10860 @@ -../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' @@ -9805,2 +10870,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9809 +10874 @@ -../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' @@ -9819,2 +10884,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9823 +10888 @@ -../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] +../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] @@ -9833,2 +10898,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9837 +10902 @@ -../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'preempt_notrace' @@ -9847,2 +10912,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/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: @@ -9851 +10916 @@ -../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/target/trace.h:136:1: error: use of undeclared identifier 'trace_event_guard' @@ -9861,6 +10926,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: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, +In file included from ../drivers/nvme/target/core.c:16: +In file included from ../drivers/nvme/target/trace.h:170: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/nvme/target/trace.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 66 | TRACE_EVENT(nvmet_req_init, @@ -9870,0 +10936,18 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/target/core.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/target] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../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, + | ^ @@ -9877,7 +10960,2 @@ -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 ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9886,5 +10964,47 @@ -../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/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), \ @@ -9891,0 +11012,10 @@ +../include/trace/trace_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, + | ^ @@ -9898,2 +11028,2 @@ -In file included from ../net/ipv4/icmp.c:97: -In file included from ../include/trace/events/icmp.h:66: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9902,4 +11032 @@ -../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/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -9912,2 +11039,2 @@ -In file included from ../net/ipv4/icmp.c:97: -In file included from ../include/trace/events/icmp.h:66: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9916,4 +11043 @@ -../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/events/regulator.h:109:1: error: use of undeclared identifier 'trace_event_guard' @@ -9926,2 +11050,2 @@ -In file included from ../net/ipv4/icmp.c:97: -In file included from ../include/trace/events/icmp.h:66: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9930,4 +11054 @@ -../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/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] @@ -9940,2 +11061,2 @@ -In file included from ../net/ipv4/icmp.c:97: -In file included from ../include/trace/events/icmp.h:66: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9944,4 +11065 @@ -../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/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -9954,2 +11072,2 @@ -In file included from ../net/ipv4/icmp.c:97: -In file included from ../include/trace/events/icmp.h:66: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: @@ -9958,3 +11076,60 @@ -../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/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), \ @@ -9961,0 +11137,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/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' @@ -9968,5 +11151,19 @@ -6 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/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/regulator/core.c:32: +In file included from ../include/trace/events/regulator.h:174: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(regulator_basic, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/regulator] Error 2 +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -9975,2 +11172,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/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, @@ -9987,2 +11184,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -9991 +11188 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -10001,2 +11198,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10005 +11202 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -10015,2 +11212,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10019 +11216 @@ -../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/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10029,2 +11226,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10033 +11230 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' @@ -10043,2 +11240,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10047 +11244 @@ -../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'trace_event_guard' @@ -10057,2 +11254,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10061,2 +11258,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/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, @@ -10073,2 +11270,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10077 +11274 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -10087,2 +11284,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10091 +11288 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -10101,2 +11298,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10105 +11302 @@ -../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/task.h:34:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10115,2 +11312,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10119 +11316 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'preempt_notrace' @@ -10129,2 +11326,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 ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: @@ -10133 +11330 @@ -../drivers/misc/mei/mei-trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/task.h:34:1: error: use of undeclared identifier 'trace_event_guard' @@ -10143,6 +11340,92 @@ -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, +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 9 | TRACE_EVENT(task_newtask, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:9:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../kernel/fork.c:117: +In file included from ../include/trace/events/task.h:62: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/task.h:34:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 34 | TRACE_EVENT(task_rename, @@ -10152,0 +11436,16 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: kernel/fork.o] Error 1 +In file included from ../drivers/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, + | ^ @@ -10159,2 +11458,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10163,4 +11462 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10173,2 +11469,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10177,4 +11473 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -10187,2 +11480,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10191,4 +11484 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -10201,2 +11491,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10205,4 +11495 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -10215,2 +11502,2 @@ -In file included from ../drivers/misc/mei/mei-trace.c:11: -In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: @@ -10219,3 +11506,60 @@ -../drivers/misc/mei/mei-trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ +../include/trace/events/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), \ @@ -10222,0 +11567,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/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' @@ -10229,4 +11581,85 @@ -18 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/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | DECLARE_EVENT_CLASS(nbd_transport_event, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/block/nbd.c:50: +In file included from ../include/trace/events/nbd.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/nbd.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(nbd_send_request, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/block/nbd.o] Error 1 +make[5]: *** Waiting for unfinished jobs.... @@ -10457,2 +11890,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10461,2 +11894,2 @@ -../include/trace/events/signal.h:50:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 50 | TRACE_EVENT(signal_generate, +../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, @@ -10473,2 +11906,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10477 +11910 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -10487,2 +11920,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10491 +11924 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -10501,2 +11934,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10505 +11938 @@ -../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] +../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] @@ -10515,2 +11948,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10519 +11952 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -10529,2 +11962,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10533 +11966 @@ -../include/trace/events/signal.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -10543,2 +11976,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10547,2 +11980,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, +../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, @@ -10559,2 +11992,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10563 +11996 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -10573,2 +12006,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10577 +12010 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -10587,2 +12020,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10591 +12024 @@ -../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] +../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] @@ -10601,2 +12034,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10605 +12038 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'preempt_notrace' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -10615,2 +12048,2 @@ -In file included from ../kernel/signal.c:53: -In file included from ../include/trace/events/signal.h:125: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10619 +12052 @@ -../include/trace/events/signal.h:96:1: error: use of undeclared identifier 'trace_event_guard' +../sound/pci/hda/hda_controller_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -10629,52 +12062,2 @@ -../kernel/signal.c:140:37: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 140 | case 4: ready = signal->sig[3] &~ blocked->sig[3]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:140:19: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 140 | case 4: ready = signal->sig[3] &~ blocked->sig[3]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:141:30: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 141 | ready |= signal->sig[2] &~ blocked->sig[2]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:141:12: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 141 | ready |= signal->sig[2] &~ blocked->sig[2]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:142:30: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 142 | ready |= signal->sig[1] &~ blocked->sig[1]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:142:12: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 142 | ready |= signal->sig[1] &~ blocked->sig[1]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:146:37: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 146 | case 2: ready = signal->sig[1] &~ blocked->sig[1]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -../kernel/signal.c:146:19: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] - 146 | case 2: ready = signal->sig[1] &~ blocked->sig[1]; - | ^ ~ -../arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here - 24 | unsigned long sig[_NSIG_WORDS]; - | ^ -8 warnings and 12 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/signal.o] Error 1 -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10683,2 +12066,2 @@ -../include/trace/events/pagemap.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mm_lru_insertion, +../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, @@ -10686,3 +12068,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -10695,2 +12075,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10699,4 +12079 @@ -../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, \ - | ^ +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -10709,2 +12086,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10713,4 +12090 @@ -../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, \ - | ^ +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -10723,2 +12097,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10727,4 +12101 @@ -../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, \ - | ^ +../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] @@ -10737,2 +12108,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10741,4 +12112 @@ -../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, \ - | ^ +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -10751,2 +12119,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: @@ -10755,4 +12123 @@ -../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, \ - | ^ +../sound/pci/hda/hda_controller_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -10765,2 +12130,22 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../sound/pci/hda/hda_controller.c:32: +In file included from ../sound/pci/hda/hda_controller_trace.h:99: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_controller_trace.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(azx_pcm_trigger, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_controller.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10769,2 +12154,2 @@ -../include/trace/events/pagemap.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 61 | TRACE_EVENT(mm_lru_activate, +../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, @@ -10781,2 +12166,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10785 +12170 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -10795,2 +12180,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10799 +12184 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -10809,2 +12194,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10813 +12198 @@ -../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/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] @@ -10823,2 +12208,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10827 +12212 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -10837,2 +12222,2 @@ -In file included from ../mm/swap.c:44: -In file included from ../include/trace/events/pagemap.h:83: +In file included from ../net/ipv4/icmp.c:97: +In file included from ../include/trace/events/icmp.h:66: @@ -10841 +12226 @@ -../include/trace/events/pagemap.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/icmp.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -10851,8 +12236,6 @@ -12 errors generated. -make[4]: *** [../scripts/Makefile.build:244: mm/swap.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, +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, @@ -10863,2 +12246,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) @@ -10866,2 +12249,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); \ @@ -10869,5 +12252,5 @@ -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' +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' @@ -10877,2 +12260,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) @@ -10880,2 +12263,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); \ @@ -10883,5 +12266,5 @@ -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' +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' @@ -10891,2 +12274,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) @@ -10894,2 +12277,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); \ @@ -10897,5 +12280,5 @@ -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] +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] @@ -10905,2 +12288,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) @@ -10908,2 +12291,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)(); \ @@ -10911,5 +12294,5 @@ -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' +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' @@ -10919,2 +12302,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) @@ -10922,2 +12305,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)(); \ @@ -10925,5 +12308,5 @@ -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' +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' @@ -10933,2 +12316,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) @@ -10936,2 +12319,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)(); \ @@ -10939,3 +12322,3 @@ -6 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/ipv4/icmp.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/ipv4] Error 2 @@ -11202,2 +12585,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11206,2 +12589,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, +../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, @@ -11209,3 +12591,0 @@ -../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' - 32 | TRACE_EVENT(name, \ - | ^ @@ -11221,2 +12601,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11225,4 +12605 @@ -../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, \ - | ^ +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -11238,2 +12615,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11242,4 +12619 @@ -../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, \ - | ^ +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -11255,2 +12629,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11259,4 +12633 @@ -../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, \ - | ^ +../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] @@ -11272,2 +12643,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11276,4 +12647 @@ -../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, \ - | ^ +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' @@ -11289,2 +12657,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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11293,4 +12661 @@ -../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, \ - | ^ +../drivers/misc/mei/mei-trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' @@ -11306,4 +12671,2 @@ -6 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.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 ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11312,2 +12675,2 @@ -../include/trace/events/regulator.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | DECLARE_EVENT_CLASS(regulator_basic, +../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, @@ -11314,0 +12678,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11321,2 +12687,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11325 +12691,4 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11332,2 +12701,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11336 +12705,4 @@ -../include/trace/events/regulator.h:15: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11343,2 +12715,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11347 +12719,4 @@ -../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] +../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, \ + | ^ @@ -11354,2 +12729,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11358 +12733,4 @@ -../include/trace/events/regulator.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11365,2 +12743,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11369 +12747,4 @@ -../include/trace/events/regulator.h:15: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11376,2 +12757,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11380,2 +12761,2 @@ -../include/trace/events/regulator.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 109 | DECLARE_EVENT_CLASS(regulator_range, +../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, @@ -11382,0 +12764,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11389,2 +12773,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11393 +12777,4 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11400,2 +12787,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11404 +12791,4 @@ -../include/trace/events/regulator.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11411,2 +12801,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11415 +12805,4 @@ -../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] +../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, \ + | ^ @@ -11422,2 +12815,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11426 +12819,4 @@ -../include/trace/events/regulator.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11433,2 +12829,2 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: @@ -11437 +12833,4 @@ -../include/trace/events/regulator.h:109: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -11444,6 +12843,6 @@ -In file included from ../drivers/regulator/core.c:32: -In file included from ../include/trace/events/regulator.h:174: -In file included from ../include/trace/define_trace.h: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, +In file included from ../drivers/misc/mei/mei-trace.c:11: +In file included from ../drivers/misc/mei/mei-trace.h:83: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/misc/mei/mei-trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 19 | TRACE_EVENT(mei_reg_read, @@ -11451,35 +12850,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/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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -11487,10 +12853,2 @@ -../include/trace/trace_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/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -11498,10 +12856,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/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/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -11509,10 +12859,7 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -18 errors generated. -make[5]: *** [../scripts/Makefile.build:244: drivers/regulator/core.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: drivers/regulator] Error 2 -In file included from ../drivers/dma-buf/sw_sync.c:17: -In file included from ../drivers/dma-buf/sync_trace.h:33: +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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11521,2 +12868,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/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, @@ -11533,2 +12880,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11537 +12884 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -11547,2 +12894,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11551 +12898 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -11561,2 +12908,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11565 +12912 @@ -../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/vmscan.h:49:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -11575,2 +12922,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11579 +12926 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -11589,2 +12936,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11593 +12940 @@ -../drivers/dma-buf/sync_trace.h:12:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -11603,5 +12950,2 @@ -6 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 ../net/mctp/af_mctp.c:21: -In file included from ../include/trace/events/mctp.h:78: +In file included from ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11610,2 +12954,2 @@ -../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 28 | TRACE_EVENT(mctp_key_acquire, +../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, @@ -11622,2 +12966,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11626 +12970 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -11636,2 +12980,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11640 +12984 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -11650,2 +12994,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11654 +12998 @@ -../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/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] @@ -11664,2 +13008,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11668 +13012 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' @@ -11678,2 +13022,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11682 +13026 @@ -../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' @@ -11692,2 +13036,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11696,2 +13040,2 @@ -../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/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, @@ -11708,2 +13052,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11712 +13056 @@ -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -11722,2 +13066,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11726 +13070 @@ -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -11736,2 +13080,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11740 +13084 @@ -../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/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] @@ -11750,2 +13094,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11754 +13098 @@ -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' @@ -11764,2 +13108,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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11768 +13112 @@ -../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' @@ -11778,5 +13122,2 @@ -12 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 ../mm/vmscan.c:71: +In file included from ../include/trace/events/vmscan.h:496: @@ -11785,2 +13126,2 @@ -../include/trace/events/spi.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | DECLARE_EVENT_CLASS(spi_controller, +../include/trace/events/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, @@ -11794,2 +13135,5 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +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/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11798 +13142,20 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11805,2 +13168,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11809 +13172,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11816,2 +13182,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11820 +13186,4 @@ -../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../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, \ + | ^ @@ -11827,2 +13196,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11831 +13200,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -11838,2 +13210,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11842 +13214,4 @@ -../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -11849,2 +13224,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11853,2 +13228,2 @@ -../include/trace/events/spi.h:45:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 45 | TRACE_EVENT(spi_setup, +../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, @@ -11865,2 +13240,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11869 +13244 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -11879,2 +13254,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11883 +13258 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -11893,2 +13268,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11897 +13272 @@ -../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] +../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] @@ -11907,2 +13282,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11911 +13286 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -11921,2 +13296,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11925 +13300 @@ -../include/trace/events/spi.h:45:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' @@ -11935,2 +13310,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11939,2 +13314,2 @@ -../include/trace/events/spi.h:78:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 78 | TRACE_EVENT(spi_set_cs, +../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, @@ -11951,2 +13326,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11955 +13330 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' @@ -11965,2 +13340,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11969 +13344 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' @@ -11979,2 +13354,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11983 +13358 @@ -../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] +../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] @@ -11993,2 +13368,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -11997 +13372 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'preempt_notrace' @@ -12007,2 +13382,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -12011 +13386 @@ -../include/trace/events/spi.h:78:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/nvme/host/trace.h:117:1: error: use of undeclared identifier 'trace_event_guard' @@ -12021,2 +13396,2 @@ -In file included from ../drivers/spi/spi.c:39: -In file included from ../include/trace/events/spi.h:239: +In file included from ../drivers/nvme/host/core.c:31: +In file included from ../drivers/nvme/host/trace.h:172: @@ -12025,2 +13400,2 @@ -../include/trace/events/spi.h:102:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 102 | DECLARE_EVENT_CLASS(spi_message, +../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, @@ -12027,0 +13403,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12036,4 +13414,5 @@ -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 ../drivers/firewire/core-trace.c:10: -In file included from ../include/trace/events/firewire.h:912: +make[6]: *** [../scripts/Makefile.build:244: drivers/nvme/host/core.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/nvme/host] Error 2 +make[4]: *** [../scripts/Makefile.build:485: drivers/nvme] Error 2 +In file included from ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12042,2 +13421,2 @@ -../include/trace/events/firewire.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 39 | DECLARE_EVENT_CLASS(async_outbound_initiate_template, +../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, @@ -12051,2 +13430,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12055 +13434 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -12062,2 +13441,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12066 +13445 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -12073,2 +13452,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12077 +13456 @@ -../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] +../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] @@ -12084,2 +13463,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12088 +13467 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -12095,2 +13474,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12099 +13478 @@ -../include/trace/events/firewire.h:39:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -12106,2 +13485,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12110,2 +13489,2 @@ -../include/trace/events/firewire.h:77:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 77 | DECLARE_EVENT_CLASS(async_outbound_complete_template, +../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, @@ -12112,0 +13492,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12119,2 +13501,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12123 +13505,4 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12130,2 +13515,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12134 +13519,4 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12141,2 +13529,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12145 +13533,4 @@ -../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] +../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, \ + | ^ @@ -12152,2 +13543,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12156 +13547,4 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12163,2 +13557,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12167 +13561,4 @@ -../include/trace/events/firewire.h:77:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:65:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12174,2 +13571,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12178,2 +13575,2 @@ -../include/trace/events/firewire.h:108:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 108 | DECLARE_EVENT_CLASS(async_inbound_template, +../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, @@ -12180,0 +13578,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12187,2 +13587,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12191 +13591,4 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12198,2 +13601,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12202 +13605,4 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12209,2 +13615,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12213 +13619,4 @@ -../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] +../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, \ + | ^ @@ -12220,2 +13629,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12224 +13633,4 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12231,2 +13643,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12235 +13647,4 @@ -../include/trace/events/firewire.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/rnbd/rnbd-srv-trace.h:116:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12242,2 +13657,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 ../drivers/block/rnbd/rnbd-srv-trace.c:17: +In file included from ../drivers/block/rnbd/rnbd-srv-trace.h:206: @@ -12246,2 +13661,2 @@ -../include/trace/events/firewire.h:220:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 220 | TRACE_EVENT(async_phy_outbound_initiate, +../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, @@ -12260,4 +13675,4 @@ -make[5]: *** [../scripts/Makefile.build:244: drivers/firewire/core-trace.o] Error 1 -make[5]: *** Waiting for unfinished jobs.... -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +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/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12266,2 +13681,2 @@ -../drivers/base/trace.h:19:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 19 | DECLARE_EVENT_CLASS(devres, +../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, @@ -12268,0 +13684,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12275,2 +13693,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12279 +13697,4 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12286,2 +13707,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12290 +13711,4 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12297,2 +13721,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12301 +13725,4 @@ -../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/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, \ + | ^ @@ -12308,2 +13735,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12312 +13739,4 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12319,2 +13749,2 @@ -In file included from ../drivers/base/trace.c:10: -In file included from ../drivers/base/trace.h:56: +In file included from ../net/ipv6/route.c:74: +In file included from ../include/trace/events/fib6.h:89: @@ -12323 +13753,4 @@ -../drivers/base/trace.h:19:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12330,9 +13763,6 @@ -6 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/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, +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, @@ -12340,2 +13770,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, \ @@ -12343,2 +13773,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) @@ -12346,7 +13776,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: use of undeclared identifier 'preempt_notrace' -../include/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); \ @@ -12354,2 +13779,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/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); \ @@ -12357,7 +13793,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h: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), \ +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, \ @@ -12365,2 +13801,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); \ @@ -12368,7 +13807,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h: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), \ +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, \ @@ -12376,2 +13815,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)(); \ @@ -12379,7 +13821,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h: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), \ +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, \ @@ -12387,2 +13829,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)(); \ @@ -12390,7 +13835,7 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: -In file included from ../include/trace/define_trace.h: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), \ +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, \ @@ -12398,2 +13843,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)(); \ @@ -12401,2 +13849,5 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/ipv6/route.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/ipv6] Error 2 +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12405,2 +13856,2 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, +../drivers/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, @@ -12407,0 +13859,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12414,2 +13868,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12418 +13872,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58: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, \ + | ^ @@ -12425,2 +13882,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12429 +13886,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58: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, \ + | ^ @@ -12436,2 +13896,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12440 +13900,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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, \ + | ^ @@ -12447,2 +13910,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12451 +13914,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58: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, \ + | ^ @@ -12458,2 +13924,2 @@ -In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: -In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../drivers/dma-buf/sw_sync.c:17: +In file included from ../drivers/dma-buf/sync_trace.h:33: @@ -12462 +13928,4 @@ -../drivers/net/dsa/mv88e6xxx/trace.h:58: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, \ + | ^ @@ -12468,0 +13938,86 @@ +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)(); \ + | ^ @@ -12470,5 +14025,4 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 -make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +make[5]: *** [../scripts/Makefile.build:244: 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: @@ -12477,2 +14031,2 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 33 | TRACE_EVENT(nullb_zone_op, +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT_CONDITION(mdio_access, @@ -12479,0 +14034,3 @@ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12489,2 +14046,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -12493 +14050,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12503,2 +14063,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -12507 +14067,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12517,2 +14080,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -12521 +14084,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12531,2 +14097,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -12535 +14101,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12545,2 +14114,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: @@ -12549 +14118,4 @@ -../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ @@ -12559,2 +14131,111 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 10 | TRACE_EVENT_CONDITION(mdio_access, + | ^ +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/phy/mdio_bus.c:38: +In file included from ../include/trace/events/mdio.h:43: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mdio.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/define_trace.h:32:2: note: expanded from macro 'TRACE_EVENT_CONDITION' + 32 | TRACE_EVENT(name, \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/net/phy/mdio_bus.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +make[5]: *** [../scripts/Makefile.build:485: drivers/net/phy] Error 2 +make[5]: *** Waiting for unfinished jobs.... +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12563,2 +14244,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, +../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, @@ -12575,2 +14256,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12579 +14260 @@ -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -12589,2 +14270,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12593 +14274 @@ -../drivers/block/null_blk/trace.h:62: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' @@ -12603,2 +14284,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12607 +14288 @@ -../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] +../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] @@ -12617,2 +14298,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12621 +14302 @@ -../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/soc/qcom/pmic_pdcharger_ulog.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -12631,2 +14312,2 @@ -In file included from ../drivers/block/null_blk/zoned.c:7: -In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.c:15: +In file included from ../drivers/soc/qcom/pmic_pdcharger_ulog.h:36: @@ -12635 +14316 @@ -../drivers/block/null_blk/trace.h:62: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' @@ -12644,0 +14326,86 @@ +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)(); \ + | ^ @@ -12646,3 +14413,5 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 -In file included from ../net/handshake/trace.c:22: -In file included from ../include/trace/events/handshake.h:319: +make[6]: *** [../scripts/Makefile.build:244: drivers/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 ../drivers/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12651,2 +14420,2 @@ -../include/trace/events/handshake.h:90:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 90 | DECLARE_EVENT_CLASS(handshake_event_class, +../include/trace/events/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, @@ -12660,2 +14429,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12664 +14433 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -12671,2 +14440,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12675 +14444 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -12682,2 +14451,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12686 +14455 @@ -../include/trace/events/handshake.h:90:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/spi.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -12693,2 +14462,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12697 +14466 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -12704,2 +14473,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12708 +14477 @@ -../include/trace/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/spi.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -12715,2 +14484,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12719,2 +14488,2 @@ -../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/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, @@ -12721,0 +14491,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12728,2 +14500,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12732 +14504,4 @@ -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12739,2 +14514,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12743 +14518,4 @@ -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12750,2 +14528,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12754 +14532,4 @@ -../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/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, \ + | ^ @@ -12761,2 +14542,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12765 +14546,4 @@ -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12772,2 +14556,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12776 +14560,4 @@ -../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12783,2 +14570,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12787,2 +14574,2 @@ -../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/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, @@ -12789,0 +14577,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -12796,2 +14586,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12800 +14590,4 @@ -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12807,2 +14600,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12811 +14604,4 @@ -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12818,2 +14614,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12822 +14618,4 @@ -../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/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, \ + | ^ @@ -12829,2 +14628,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12833 +14632,4 @@ -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -12840,2 +14642,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12844 +14646,4 @@ -../include/trace/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -12851,2 +14656,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/spi/spi.c:39: +In file included from ../include/trace/events/spi.h:239: @@ -12855,2 +14660,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/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, @@ -12866,6 +14671,4 @@ -make[5]: *** [../scripts/Makefile.build:244: net/handshake/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/block/null_blk] Error 2 -make[4]: *** [../scripts/Makefile.build:485: net/handshake] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/block] Error 2 -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +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/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12874,2 +14677,2 @@ -../include/trace/events/vmscan.h:49:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 49 | TRACE_EVENT(mm_vmscan_kswapd_sleep, +../include/trace/events/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, @@ -12886,2 +14689,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12890 +14693 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -12900,2 +14703,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12904 +14707 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -12914,2 +14717,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12918 +14721 @@ -../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/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] @@ -12928,2 +14731,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12932 +14735 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -12942,2 +14745,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12946 +14749 @@ -../include/trace/events/vmscan.h:49:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -12956,2 +14759,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12960,2 +14763,2 @@ -../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 66 | TRACE_EVENT(mm_vmscan_kswapd_wake, +../include/trace/events/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, @@ -12972,2 +14775,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12976 +14779 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -12986,2 +14789,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -12990 +14793 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -13000,2 +14803,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13004 +14807 @@ -../include/trace/events/vmscan.h:66:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/percpu.h:54:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13014,2 +14817,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13018 +14821 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -13028,2 +14831,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13032 +14835 @@ -../include/trace/events/vmscan.h:66:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -13042,2 +14845,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13046,2 +14849,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/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, @@ -13058,2 +14861,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13062 +14865 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -13072,2 +14875,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13076 +14879 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -13086,2 +14889,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13090 +14893 @@ -../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/percpu.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13100,2 +14903,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13104 +14907 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -13114,2 +14917,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13118 +14921 @@ -../include/trace/events/vmscan.h:89:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/percpu.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -13128,2 +14931,2 @@ -In file included from ../mm/vmscan.c:71: -In file included from ../include/trace/events/vmscan.h:496: +In file included from ../mm/percpu.c:97: +In file included from ../include/trace/events/percpu.h:137: @@ -13132,2 +14935,2 @@ -../include/trace/events/vmscan.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 115 | DECLARE_EVENT_CLASS(mm_vmscan_direct_reclaim_begin_template, +../include/trace/events/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, @@ -13134,0 +14938,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13143,4 +14949,3 @@ -make[4]: *** [../scripts/Makefile.build:244: mm/vmscan.o] Error 1 -make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +make[4]: *** [../scripts/Makefile.build:244: mm/percpu.o] Error 1 +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13149,2 +14954,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, +../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, @@ -13158,2 +14963,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13162 +14967 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -13169,2 +14974,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13173 +14978 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -13180,2 +14985,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13184 +14989 @@ -../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] +../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] @@ -13191,2 +14996,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13195 +15000 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -13202,2 +15007,2 @@ -In file included from ../kernel/notifier.c:11: -In file included from ../include/trace/events/notifier.h:69: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13206 +15011 @@ -../include/trace/events/notifier.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -13213,4 +15018,2 @@ -6 errors generated. -make[4]: *** [../scripts/Makefile.build:244: kernel/notifier.o] Error 1 -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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13219,2 +15022,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, +../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, @@ -13222,3 +15024,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -13231,2 +15031,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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13235,4 +15035 @@ -../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, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -13245,2 +15042,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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13249,4 +15046 @@ -../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, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -13259,2 +15053,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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13263,4 +15057 @@ -../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, \ - | ^ +../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] @@ -13273,2 +15064,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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13277,4 +15068 @@ -../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, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -13287,2 +15075,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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: @@ -13291,4 +15079 @@ -../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, \ - | ^ +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -13301,2 +15086,88 @@ -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 ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(mv88e6xxx_atu_violation, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:15:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/dsa/mv88e6xxx/trace.c:6: +In file included from ../drivers/net/dsa/mv88e6xxx/trace.h:96: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/dsa/mv88e6xxx/trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 58 | DECLARE_EVENT_CLASS(mv88e6xxx_vtu_violation, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/net/dsa/mv88e6xxx/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/dsa/mv88e6xxx] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/dsa] Error 2 +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13305,2 +15176,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/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, @@ -13308,3 +15178,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -13317,2 +15185,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13321,4 +15189 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -13331,2 +15196,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13335,4 +15200 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -13345,2 +15207,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13349,4 +15211 @@ -../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/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] @@ -13359,2 +15218,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13363,4 +15222 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -13373,2 +15229,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13377,4 +15233 @@ -../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/events/compaction.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -13387,6 +15240,2 @@ -12 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 ../net/core/net-traces.c:30: -In file included from ../include/trace/events/skb.h:98: +In file included from ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13395,2 +15244,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, +../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, @@ -13407,2 +15256,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13411 +15260 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -13421,2 +15270,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13425 +15274 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -13435,2 +15284,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13439 +15288 @@ -../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/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] @@ -13449,2 +15298,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13453 +15302 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'preempt_notrace' @@ -13463,2 +15312,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13467 +15316 @@ -../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:79:1: error: use of undeclared identifier 'trace_event_guard' @@ -13477,2 +15326,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13481,2 +15330,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, +../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, @@ -13493,2 +15342,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13497 +15346 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -13507,2 +15356,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13511 +15360 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -13521,2 +15370,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13525 +15374 @@ -../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/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] @@ -13535,2 +15384,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13539 +15388 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -13549,2 +15398,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13553 +15402 @@ -../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/compaction.h:101:1: error: use of undeclared identifier 'trace_event_guard' @@ -13563,2 +15412,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 ../mm/compaction.c:64: +In file included from ../include/trace/events/compaction.h:356: @@ -13567,2 +15416,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, +../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, @@ -13579,2 +15428,5 @@ -In file included from ../net/core/net-traces.c:30: -In file included from ../include/trace/events/skb.h:98: +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/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -13583 +15435,17 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -13593,2 +15461,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -13597 +15465 @@ -../include/trace/events/skb.h:76: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' @@ -13607,2 +15475,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -13611 +15479 @@ -../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] +../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] @@ -13621,2 +15489,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -13625 +15493 @@ -../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -13635,2 +15503,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 ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: @@ -13639 +15507 @@ -../include/trace/events/skb.h:76: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' @@ -13649,6 +15517,6 @@ -In file included from ../net/core/net-traces.c:31: -In file included from ../include/trace/events/net.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/net.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(net_dev_start_xmit, +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, @@ -13659,2 +15527,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) @@ -13662,2 +15530,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); \ @@ -13665,6 +15533,75 @@ -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/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/ath/trace.c:20: +In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/trace.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13673,2 +15610,2 @@ -../drivers/input/keyboard/applespi_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(dump_message_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, @@ -13675,0 +15613,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -13682,2 +15622,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13686 +15626,4 @@ -../drivers/input/keyboard/applespi_trace.h:20: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, \ + | ^ @@ -13693,2 +15636,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13697 +15640,4 @@ -../drivers/input/keyboard/applespi_trace.h:20: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, \ + | ^ @@ -13704,2 +15650,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13708 +15654,4 @@ -../drivers/input/keyboard/applespi_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/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, \ + | ^ @@ -13715,2 +15664,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13719 +15668,4 @@ -../drivers/input/keyboard/applespi_trace.h:20: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, \ + | ^ @@ -13726,2 +15678,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13730 +15682,4 @@ -../drivers/input/keyboard/applespi_trace.h:20: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, \ + | ^ @@ -13737,2 +15692,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13741,2 +15696,2 @@ -../drivers/input/keyboard/applespi_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(applespi_irq_received, +../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, @@ -13753,2 +15708,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13757 +15712 @@ -../drivers/input/keyboard/applespi_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -13767,2 +15722,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13771 +15726 @@ -../drivers/input/keyboard/applespi_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -13781,2 +15736,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13785 +15740 @@ -../drivers/input/keyboard/applespi_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/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] @@ -13795,2 +15750,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13799 +15754 @@ -../drivers/input/keyboard/applespi_trace.h:68:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -13809,2 +15764,2 @@ -In file included from ../drivers/input/keyboard/applespi.c:64: -In file included from ../drivers/input/keyboard/applespi_trace.h:93: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13813 +15768 @@ -../drivers/input/keyboard/applespi_trace.h:68:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -13823,6 +15778,2 @@ -12 errors generated. -make[6]: *** [../scripts/Makefile.build:244: drivers/input/keyboard/applespi.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/input/keyboard] Error 2 -make[4]: *** [../scripts/Makefile.build:485: drivers/input] Error 2 -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13831,2 +15782,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/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, @@ -13843,2 +15794,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13847 +15798 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -13857,2 +15808,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13861 +15812 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -13871,2 +15822,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13875 +15826 @@ -../include/trace/events/workqueue.h:23:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/kmem.h:94:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -13885,2 +15836,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13889 +15840 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -13899,2 +15850,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13903 +15854 @@ -../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/kmem.h:94:1: error: use of undeclared identifier 'trace_event_guard' @@ -13913,2 +15864,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../mm/slab_common.c:36: +In file included from ../include/trace/events/kmem.h:415: @@ -13917,2 +15868,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/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, @@ -13929,2 +15880,5 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[4]: *** [../scripts/Makefile.build:244: mm/slab_common.o] Error 1 +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -13933 +15887,17 @@ -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -13943,2 +15913,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -13947 +15917 @@ -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -13957,2 +15927,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -13961 +15931 @@ -../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/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] @@ -13971,2 +15941,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -13975 +15945 @@ -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -13985,2 +15955,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -13989 +15959 @@ -../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -13999,2 +15969,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14003,2 +15973,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/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, @@ -14015,2 +15985,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14019 +15989 @@ -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -14029,2 +15999,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14033 +16003 @@ -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -14043,2 +16013,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14047 +16017 @@ -../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/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] @@ -14057,2 +16027,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14061 +16031 @@ -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'preempt_notrace' @@ -14071,2 +16041,2 @@ -In file included from ../kernel/workqueue.c:533: -In file included from ../include/trace/events/workqueue.h:132: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14075 +16045 @@ -../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:57:1: error: use of undeclared identifier 'trace_event_guard' @@ -14085,22 +16055,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: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/net/wireless/ath/trace.c:20: -In file included from ../drivers/net/wireless/ath/trace.h:68: +In file included from ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14109,2 +16059,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/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, @@ -14121,2 +16071,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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14125 +16075 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -14135,2 +16085,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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14139 +16089 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -14149,2 +16099,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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14153 +16103 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/events/skb.h:76:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14163,2 +16113,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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14167 +16117 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'preempt_notrace' @@ -14177,2 +16127,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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: @@ -14181 +16131 @@ -../drivers/net/wireless/ath/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/skb.h:76:1: error: use of undeclared identifier 'trace_event_guard' @@ -14191,3 +16141,20 @@ -6 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 ../net/core/net-traces.c:30: +In file included from ../include/trace/events/skb.h:98: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/skb.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | TRACE_EVENT(kfree_skb, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/core/net-traces.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/core] Error 2 @@ -14471,2 +16438,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14475,2 +16442,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, +../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, @@ -14487,2 +16454,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14491 +16458 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -14501,2 +16468,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14505 +16472 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -14515,2 +16482,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14519 +16486 @@ -../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/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] @@ -14529,2 +16496,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14533 +16500 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' @@ -14543,2 +16510,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14547 +16514 @@ -../include/trace/events/firewire_ohci.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'trace_event_guard' @@ -14557,2 +16524,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14561,2 +16528,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, +../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, @@ -14573,2 +16540,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14577 +16544 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' @@ -14587,2 +16554,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14591 +16558 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' @@ -14601,2 +16568,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14605 +16572 @@ -../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/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] @@ -14615,2 +16582,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14619 +16586 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'preempt_notrace' @@ -14629,2 +16596,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 ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: @@ -14633 +16600 @@ -../include/trace/events/firewire_ohci.h:61:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mctp.h:48:1: error: use of undeclared identifier 'trace_event_guard' @@ -14643,9 +16610,6 @@ -12 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/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, +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 28 | TRACE_EVENT(mctp_key_acquire, @@ -14653,2 +16617,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, \ @@ -14656,2 +16620,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) @@ -14659,7 +16623,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: use of undeclared identifier 'preempt_notrace' -../include/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); \ @@ -14667,2 +16626,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/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -14670,7 +16640,7 @@ -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), \ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -14678,2 +16648,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); \ @@ -14681,7 +16654,7 @@ -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), \ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -14689,2 +16662,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)(); \ @@ -14692,7 +16668,7 @@ -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), \ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -14700,2 +16676,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)(); \ @@ -14703,7 +16682,7 @@ -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), \ +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:28:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -14711,2 +16690,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)(); \ @@ -14714,2 +16696,22 @@ -In file included from ../drivers/usb/dwc3/trace.c:11: -In file included from ../drivers/usb/dwc3/trace.h:348: +In file included from ../net/mctp/af_mctp.c:21: +In file included from ../include/trace/events/mctp.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mctp.h:48:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 48 | TRACE_EVENT(mctp_key_release, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: net/mctp/af_mctp.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: net/mctp] Error 2 +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14718,2 +16720,2 @@ -../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/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mmap_lock, @@ -14727,2 +16729,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14731 +16733 @@ -../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -14738,2 +16740,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14742 +16744 @@ -../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -14749,2 +16751,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14753 +16755 @@ -../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/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -14760,2 +16762,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14764 +16766 @@ -../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'preempt_notrace' @@ -14771,2 +16773,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14775 +16777 @@ -../drivers/usb/dwc3/trace.h:51:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'trace_event_guard' @@ -14782,2 +16784,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14786,2 +16788,2 @@ -../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/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, @@ -14788,0 +16791,6 @@ +../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, \ + | ^ @@ -14795,2 +16803,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14799 +16807,7 @@ -../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14806,2 +16820,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14810 +16824,7 @@ -../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14817,2 +16837,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14821 +16841,7 @@ -../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/events/mmap_lock.h:52:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14828,2 +16854,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14832 +16858,7 @@ -../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14839,2 +16871,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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: @@ -14843 +16875,7 @@ -../drivers/usb/dwc3/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mmap_lock.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -14850,6 +16888,74 @@ -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, +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | DECLARE_EVENT_CLASS(mmap_lock, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16: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 ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:16:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../mm/mmap_lock.c:3: +In file included from ../include/trace/events/mmap_lock.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/mmap_lock.h:52:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 52 | TRACE_EVENT_FN(mmap_lock_acquire_returned, @@ -14857,2 +16963,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:92:2: note: expanded from macro 'TRACE_EVENT_FN' + 92 | TRACE_EVENT(name, PARAMS(proto), PARAMS(args), \ @@ -14860,2 +16966,8 @@ -../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, \ + | ^ +../include/trace/bpf_probe.h:61: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); \ @@ -14865,3 +16977,2 @@ -make[6]: *** [../scripts/Makefile.build:244: drivers/usb/dwc3/trace.o] Error 1 -make[5]: *** [../scripts/Makefile.build:485: drivers/usb/dwc3] Error 2 -make[5]: *** Waiting for unfinished jobs.... +make[4]: *** [../scripts/Makefile.build:244: mm/mmap_lock.o] Error 1 +make[3]: *** [../scripts/Makefile.build:485: mm] Error 2 @@ -15147,2 +17258,3 @@ -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 ../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: @@ -15151,2 +17263,2 @@ -../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, +../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, @@ -15153,0 +17266,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15160,2 +17275,3 @@ -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 ../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: @@ -15164 +17280,4 @@ -../drivers/usb/host/xhci-trace.h:28: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, \ + | ^ @@ -15171,2 +17290,3 @@ -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 ../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: @@ -15175 +17295,4 @@ -../drivers/usb/host/xhci-trace.h:28: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, \ + | ^ @@ -15182,2 +17305,3 @@ -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 ../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: @@ -15186 +17310,4 @@ -../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] +../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, \ + | ^ @@ -15193,2 +17320,3 @@ -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 ../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: @@ -15197 +17325,4 @@ -../drivers/usb/host/xhci-trace.h:28: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, \ + | ^ @@ -15204,2 +17335,3 @@ -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 ../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: @@ -15208 +17340,4 @@ -../drivers/usb/host/xhci-trace.h:28: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, \ + | ^ @@ -15215,2 +17350,3 @@ -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 ../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: @@ -15219,2 +17355,2 @@ -../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, +../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, @@ -15221,0 +17358,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15228,2 +17367,3 @@ -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 ../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: @@ -15232 +17372,4 @@ -../drivers/usb/host/xhci-trace.h:73: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15239,2 +17382,3 @@ -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 ../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: @@ -15243 +17387,4 @@ -../drivers/usb/host/xhci-trace.h:73: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15250,2 +17397,3 @@ -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 ../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: @@ -15254 +17402,4 @@ -../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] +../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, \ + | ^ @@ -15261,2 +17412,3 @@ -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 ../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: @@ -15265 +17417,4 @@ -../drivers/usb/host/xhci-trace.h:73: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15272,2 +17427,3 @@ -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 ../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: @@ -15276 +17432,4 @@ -../drivers/usb/host/xhci-trace.h:73: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15283,2 +17442,3 @@ -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 ../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: @@ -15287,2 +17447,2 @@ -../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, +../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, @@ -15289,0 +17450,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15296,2 +17459,3 @@ -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 ../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: @@ -15300 +17464,4 @@ -../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15307,2 +17474,3 @@ -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 ../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: @@ -15311 +17479,4 @@ -../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15318,2 +17489,3 @@ -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 ../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: @@ -15322 +17494,4 @@ -../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] +../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, \ + | ^ @@ -15329,2 +17504,3 @@ -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 ../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: @@ -15333 +17509,4 @@ -../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15340,2 +17519,3 @@ -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 ../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: @@ -15344 +17524,4 @@ -../drivers/usb/host/xhci-trace.h:110:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15351,6 +17534,7 @@ -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, +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.c:22: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.h:36: +In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:100: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | TRACE_EVENT(brcms_timer, @@ -15358,2 +17542,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, \ @@ -15361,2 +17545,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/bpf_probe.h:61: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); \ @@ -15366,4 +17553,7 @@ -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 -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15372,2 +17562,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, +../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, @@ -15384,2 +17574,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15388 +17578 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -15398,2 +17588,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15402 +17592 @@ -../include/trace/events/mptcp.h:18: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' @@ -15412,2 +17602,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15416 +17606 @@ -../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] +../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] @@ -15426,2 +17616,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15430 +17620 @@ -../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -15440,2 +17630,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15444 +17634 @@ -../include/trace/events/mptcp.h:18: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' @@ -15454,2 +17644,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15458,2 +17648,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, +../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, @@ -15460,0 +17651,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15467,2 +17660,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15471 +17664,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -15478,2 +17674,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15482 +17678,4 @@ -../include/trace/events/mptcp.h:65: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15489,2 +17688,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15493 +17692,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] +../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, \ + | ^ @@ -15500,2 +17702,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15504 +17706,4 @@ -../include/trace/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -15511,2 +17716,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15515 +17720,4 @@ -../include/trace/events/mptcp.h:65: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -15522,2 +17730,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15526,2 +17734,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, +../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, @@ -15538,2 +17746,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15542 +17750 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -15552,2 +17760,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15556 +17764 @@ -../include/trace/events/mptcp.h:128: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' @@ -15566,2 +17774,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15570 +17778 @@ -../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] +../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] @@ -15580,2 +17788,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15584 +17792 @@ -../include/trace/events/mptcp.h:128:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -15594,2 +17802,2 @@ -In file included from ../net/mptcp/protocol.c:30: -In file included from ../include/trace/events/mptcp.h:184: +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: @@ -15598 +17806 @@ -../include/trace/events/mptcp.h:128: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' @@ -15608,6 +17816,6 @@ -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, +In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: +In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/ath/ath5k/trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | TRACE_EVENT(ath5k_rx, @@ -15618,2 +17826,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) @@ -15621,2 +17829,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); \ @@ -15626,4 +17834,4 @@ -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/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: +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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15632,2 +17840,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, +../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, @@ -15644,2 +17852,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15648 +17856 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -15658,2 +17866,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15662 +17870 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -15672,2 +17880,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15676 +17884 @@ -../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] +../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] @@ -15686,2 +17894,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15690 +17898 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -15700,2 +17908,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15704 +17912 @@ -../drivers/gpu/drm/drm_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -15714,2 +17922,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15718,2 +17926,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, +../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, @@ -15730,2 +17938,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15734 +17942 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -15744,2 +17952,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15748 +17956 @@ -../drivers/gpu/drm/drm_trace.h:35: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' @@ -15758,2 +17966,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15762 +17970 @@ -../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] +../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] @@ -15772,2 +17980,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15776 +17984 @@ -../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/block/null_blk/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -15786,2 +17994,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 ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: @@ -15790 +17998 @@ -../drivers/gpu/drm/drm_trace.h:35: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' @@ -15800,6 +18008,6 @@ -In file included from ../drivers/gpu/drm/drm_trace_points.c:5: -In file included from ../drivers/gpu/drm/drm_trace.h:74: -In file included from ../include/trace/define_trace.h: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, +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(nullb_zone_op, @@ -15810,2 +18018,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) @@ -15813,2 +18021,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); \ @@ -15816,5 +18024,5 @@ -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' +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -15824,2 +18032,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) @@ -15827,2 +18035,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); \ @@ -15830,5 +18038,5 @@ -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' +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -15838,2 +18046,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) @@ -15841,2 +18049,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); \ @@ -15844,5 +18052,5 @@ -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] +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -15852,2 +18060,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) @@ -15855,2 +18063,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)(); \ @@ -15858,5 +18066,5 @@ -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' +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -15866,2 +18074,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) @@ -15869,2 +18077,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)(); \ @@ -15872,5 +18080,5 @@ -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' +In file included from ../drivers/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:33:1: error: use of undeclared identifier 'bpf_trace_guard' @@ -15880,2 +18088,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) @@ -15883,2 +18091,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)(); \ @@ -15886,6 +18094,23 @@ -18 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/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/block/null_blk/zoned.c:7: +In file included from ../drivers/block/null_blk/trace.h:85: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/block/null_blk/trace.h:62:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 62 | TRACE_EVENT(nullb_report_zones, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/block/null_blk/zoned.o] Error 1 +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: @@ -15894,2 +18119,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 29 | TRACE_EVENT(brcms_timer, +../include/trace/events/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, @@ -15906,3 +18131,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15911 +18135 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -15921,3 +18145,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15926 +18149 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -15936,3 +18159,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15941 +18163 @@ -../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/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] @@ -15951,3 +18173,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15956 +18177 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -15966,3 +18187,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15971 +18191 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -15981,3 +18201,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -15986,2 +18205,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(brcms_dpc, +../include/trace/events/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, @@ -15998,3 +18217,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16003 +18221 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -16013,3 +18231,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16018 +18235 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -16028,3 +18245,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16033 +18249 @@ -../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/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] @@ -16043,3 +18259,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16048 +18263 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -16058,3 +18273,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16063 +18277 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:58:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -16073,3 +18287,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16078,2 +18291,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 73 | TRACE_EVENT(brcms_macintstatus, +../include/trace/events/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, @@ -16090,3 +18303,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16095 +18307 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -16105,3 +18317,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16110 +18321 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -16120,3 +18331,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16125 +18335 @@ -../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/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] @@ -16135,3 +18345,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16140 +18349 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'preempt_notrace' @@ -16150,3 +18359,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 ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16155 +18363 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h:73:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/workqueue.h:84:1: error: use of undeclared identifier 'trace_event_guard' @@ -16165,3 +18373,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:37: -In file included from ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h:108: +In file included from ../kernel/workqueue.c:533: +In file included from ../include/trace/events/workqueue.h:132: @@ -16170,2 +18377,2 @@ -../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.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 | TRACE_EVENT(brcms_txdesc, +../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, @@ -16184,7 +18391,4 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_events.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211/brcmsmac] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom/brcm80211] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/broadcom] Error 2 -make[6]: *** Waiting for unfinished jobs.... -In file included from ../drivers/usb/mtu3/mtu3_trace.c:12: -In file included from ../drivers/usb/mtu3/mtu3_trace.h:277: +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: @@ -16193,2 +18397,2 @@ -../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, +../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, @@ -16205,2 +18409,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16209 +18413 @@ -../drivers/usb/mtu3/mtu3_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' @@ -16219,2 +18423,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16223 +18427 @@ -../drivers/usb/mtu3/mtu3_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' @@ -16233,2 +18437,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16237 +18441 @@ -../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] +../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] @@ -16247,2 +18451,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16251 +18455 @@ -../drivers/usb/mtu3/mtu3_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' @@ -16261,2 +18465,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16265 +18469 @@ -../drivers/usb/mtu3/mtu3_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' @@ -16275,2 +18479,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16279,2 +18483,2 @@ -../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, +../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, @@ -16291,2 +18495,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16295 +18499 @@ -../drivers/usb/mtu3/mtu3_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -16305,2 +18509,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16309 +18513 @@ -../drivers/usb/mtu3/mtu3_trace.h:35: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' @@ -16319,2 +18523,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16323 +18527 @@ -../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] +../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] @@ -16333,2 +18537,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16337 +18541 @@ -../drivers/usb/mtu3/mtu3_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -16347,2 +18551,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16351 +18555 @@ -../drivers/usb/mtu3/mtu3_trace.h:35: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' @@ -16361,2 +18565,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16365,2 +18569,2 @@ -../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, +../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, @@ -16377,2 +18581,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16381 +18585 @@ -../drivers/usb/mtu3/mtu3_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -16391,2 +18595,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16395 +18599 @@ -../drivers/usb/mtu3/mtu3_trace.h:54: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' @@ -16405,2 +18609,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16409 +18613 @@ -../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] +../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] @@ -16419,2 +18623,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16423 +18627 @@ -../drivers/usb/mtu3/mtu3_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/drm_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' @@ -16433,2 +18637,2 @@ -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 ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: @@ -16437 +18641 @@ -../drivers/usb/mtu3/mtu3_trace.h:54: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' @@ -16447,6 +18651,6 @@ -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, +In file included from ../drivers/gpu/drm/drm_trace_points.c:5: +In file included from ../drivers/gpu/drm/drm_trace.h:74: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/drm_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | TRACE_EVENT(drm_vblank_event, @@ -16456,0 +18661,17 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/drm_trace_points.o] Error 1 +make[6]: *** Waiting for unfinished jobs.... +In file included from ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_intel_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(hda_pm, + | ^ @@ -16463,6 +18684,46 @@ -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/cdns3/cdns3-trace.c:11: -In file included from ../drivers/usb/cdns3/cdns3-trace.h:557: +In file included from ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:108: +In file included from ../include/trace/trace_events.h:478: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: @@ -16471,2 +18732,85 @@ -../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, +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_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(hda_pm, + | ^ +../include/trace/bpf_probe.h:61: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/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_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 ../sound/pci/hda/hda_intel.c:61: +In file included from ../sound/pci/hda/hda_intel_trace.h:52: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../sound/pci/hda/hda_intel_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[6]: *** [../scripts/Makefile.build:244: sound/pci/hda/hda_intel.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/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, @@ -16483,2 +18827,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16487 +18831 @@ -../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -16497,2 +18841,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16501 +18845 @@ -../drivers/usb/cdns3/cdns3-trace.h:27: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' @@ -16511,2 +18855,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16515 +18859 @@ -../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] +../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] @@ -16525,2 +18869,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16529 +18873 @@ -../drivers/usb/cdns3/cdns3-trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' @@ -16539,2 +18883,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16543 +18887 @@ -../drivers/usb/cdns3/cdns3-trace.h:27: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' @@ -16553,2 +18897,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16557,2 +18901,2 @@ -../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, +../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, @@ -16569,2 +18913,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16573 +18917 @@ -../drivers/usb/cdns3/cdns3-trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -16583,2 +18927,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16587 +18931 @@ -../drivers/usb/cdns3/cdns3-trace.h:44: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' @@ -16597,2 +18941,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16601 +18945 @@ -../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] +../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] @@ -16611,2 +18955,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16615 +18959 @@ -../drivers/usb/cdns3/cdns3-trace.h:44:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' @@ -16625,2 +18969,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16629 +18973 @@ -../drivers/usb/cdns3/cdns3-trace.h:44: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' @@ -16639,2 +18983,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16643,2 +18987,2 @@ -../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, +../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, @@ -16655,2 +18999,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16659 +19003 @@ -../drivers/usb/cdns3/cdns3-trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -16669,2 +19013,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16673 +19017 @@ -../drivers/usb/cdns3/cdns3-trace.h:58: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' @@ -16683,2 +19027,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16687 +19031 @@ -../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] +../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] @@ -16697,2 +19041,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16701 +19045 @@ -../drivers/usb/cdns3/cdns3-trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -16711,2 +19055,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16715 +19059 @@ -../drivers/usb/cdns3/cdns3-trace.h:58: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' @@ -16725,2 +19069,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 ../drivers/net/wireless/ath/ath6kl/trace.c:20: +In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: @@ -16729,2 +19073,2 @@ -../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, +../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, @@ -16731,0 +19076,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -16740,4 +19087,4 @@ -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/usb/chipidea/trace.c:11: -In file included from ../drivers/usb/chipidea/trace.h:92: +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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16746,2 +19093,2 @@ -../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/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, @@ -16749,3 +19095,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -16758,2 +19102,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16762,4 +19106 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -16772,2 +19113,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16776,4 +19117 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -16786,2 +19124,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16790,4 +19128 @@ -../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/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] @@ -16800,2 +19135,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16804,4 +19139 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -16814,2 +19146,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16818,4 +19150 @@ -../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/events/handshake.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -16828,2 +19157,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16832,2 +19161,2 @@ -../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/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, @@ -16841,2 +19170,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16845 +19174 @@ -../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -16852,2 +19181,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16856 +19185 @@ -../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -16863,2 +19192,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16867 +19196 @@ -../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/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] @@ -16874,2 +19203,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16878 +19207 @@ -../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'preempt_notrace' @@ -16885,2 +19214,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16889 +19218 @@ -../drivers/usb/chipidea/trace.h:40:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/handshake.h:120:1: error: use of undeclared identifier 'trace_event_guard' @@ -16896,5 +19225,2 @@ -12 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/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +In file included from ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16903,2 +19229,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, +../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, @@ -16906,3 +19231,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -16915,2 +19238,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16919,4 +19242 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -16929,2 +19249,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16933,4 +19253 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -16943,2 +19260,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16947,4 +19264 @@ -../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/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] @@ -16957,2 +19271,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16961,4 +19275 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'preempt_notrace' @@ -16971,2 +19282,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16975,4 +19286 @@ -../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/events/handshake.h:154:1: error: use of undeclared identifier 'trace_event_guard' @@ -16985,2 +19293,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 ../net/handshake/trace.c:22: +In file included from ../include/trace/events/handshake.h:319: @@ -16989,2 +19297,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, +../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, @@ -16992,3 +19299,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -17001,2 +19306,6 @@ -In file included from ../drivers/net/wireless/ath/ath5k/base.c:73: -In file included from ../drivers/net/wireless/ath/ath5k/trace.h:105: +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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17005,3 +19314,8 @@ -../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, \ +../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); \ @@ -17008,0 +19323,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:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -17015,2 +19334,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17019,4 +19338 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -17029,2 +19345,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17033,4 +19349 @@ -../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, \ - | ^ +../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] @@ -17043,2 +19356,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17047,4 +19360 @@ -../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, \ - | ^ +../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -17057,2 +19367,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17061,3 +19371,19 @@ -../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, \ +../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); \ @@ -17064,0 +19391,49 @@ +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' @@ -17071,2 +19446,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17075,2 +19450,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/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, @@ -17087,2 +19462,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17091 +19466 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -17101,2 +19476,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17105 +19480 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65: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' @@ -17115,2 +19490,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17119 +19494 @@ -../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/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] @@ -17129,2 +19504,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17133 +19508 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: use of undeclared identifier 'preempt_notrace' @@ -17143,2 +19518,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/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17147 +19522 @@ -../drivers/net/wireless/ath/ath5k/trace.h:65: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' @@ -17157,5 +19532,2 @@ -18 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath5k/base.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/ath/ath5k] Error 2 -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/wil6210/trace.c:9: +In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: @@ -17164,2 +19536,2 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 32 | DECLARE_EVENT_CLASS(dev_reg_evt, +../drivers/net/wireless/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, @@ -17173,2 +19545,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: +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/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17177 +19553,14 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -17184,2 +19573,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17188 +19577 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -17195,2 +19584,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17199 +19588 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/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] @@ -17206,2 +19595,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17210 +19599 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'preempt_notrace' @@ -17217,2 +19606,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17221 +19610 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:49:1: error: use of undeclared identifier 'trace_event_guard' @@ -17228,2 +19617,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17232,2 +19621,2 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 59 | TRACE_EVENT(dev_irq, +../drivers/net/wireless/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, @@ -17244,2 +19633,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17248 +19637 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -17258,2 +19647,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17262 +19651 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59: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' @@ -17272,2 +19661,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17276 +19665 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/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] @@ -17286,2 +19675,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17290 +19679 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' @@ -17300,2 +19689,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17304 +19693 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:59: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' @@ -17314,2 +19703,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17318,2 +19707,2 @@ -../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, +../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, @@ -17320,0 +19710,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17327,2 +19719,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17331 +19723,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17338,2 +19733,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17342 +19737,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17349,2 +19747,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17353 +19751,4 @@ -../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] +../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, \ + | ^ @@ -17360,2 +19761,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17364 +19765,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17371,2 +19775,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../drivers/net/wireless/ath/ath10k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: @@ -17375 +19779,4 @@ -../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17382,3 +19789,20 @@ -18 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: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 @@ -17646,2 +20070,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17650,2 +20074,2 @@ -../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/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, @@ -17662,2 +20086,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17666 +20090 @@ -../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -17676,2 +20100,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17680 +20104 @@ -../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -17690,2 +20114,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17694 +20118 @@ -../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/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] @@ -17704,2 +20128,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17708 +20132 @@ -../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'preempt_notrace' @@ -17718,2 +20142,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17722 +20146 @@ -../drivers/usb/musb/musb_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/events/mptcp.h:18:1: error: use of undeclared identifier 'trace_event_guard' @@ -17732,2 +20156,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17736,2 +20160,2 @@ -../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/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, @@ -17739,3 +20162,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -17748,2 +20169,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17752,4 +20173 @@ -../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/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -17762,2 +20180,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17766,4 +20184 @@ -../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/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -17776,2 +20191,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17780,4 +20195 @@ -../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/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] @@ -17790,2 +20202,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17794,4 +20206 @@ -../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/events/mptcp.h:65:1: error: use of undeclared identifier 'preempt_notrace' @@ -17804,2 +20213,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17808,4 +20217 @@ -../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/events/mptcp.h:65:1: error: use of undeclared identifier 'trace_event_guard' @@ -17818,2 +20224,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17822,2 +20228,2 @@ -../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/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, @@ -17824,0 +20231,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17831,2 +20240,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17835 +20244,4 @@ -../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -17842,2 +20254,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17846 +20258,4 @@ -../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -17853,2 +20268,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17857 +20272,4 @@ -../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/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, \ + | ^ @@ -17864,2 +20282,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17868 +20286,4 @@ -../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -17875,2 +20296,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17879 +20300,4 @@ -../drivers/usb/musb/musb_trace.h:57:1: error: use of undeclared identifier 'trace_event_guard' +../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, \ + | ^ @@ -17886,2 +20310,2 @@ -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 ../net/mptcp/protocol.c:30: +In file included from ../include/trace/events/mptcp.h:184: @@ -17890,2 +20314,2 @@ -../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/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, @@ -17892,0 +20317,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17901,4 +20328,3 @@ -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/usb_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +make[5]: *** [../scripts/Makefile.build:244: net/mptcp/protocol.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: @@ -17907,2 +20333,2 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_reg_evt, +../drivers/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, @@ -17916,2 +20342,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17920 +20346 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -17927,2 +20353,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17931 +20357 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -17938,2 +20364,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17942 +20368 @@ -../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/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] @@ -17949,2 +20375,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17953 +20379 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' @@ -17960,2 +20386,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17964 +20390 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' @@ -17971,2 +20397,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17975,2 +20401,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/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, @@ -17977,0 +20404,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17984,2 +20413,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17988 +20417,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -17995,2 +20427,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -17999 +20431,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18006,2 +20441,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18010 +20445,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/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, \ + | ^ @@ -18017,2 +20455,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18021 +20459,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18028,2 +20469,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/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18032 +20473,4 @@ -../drivers/net/wireless/mediatek/mt76/usb_trace.h:54: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18039,4 +20483,2 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 -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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18045,2 +20487,2 @@ -../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, +../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, @@ -18047,0 +20490,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18054,2 +20499,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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18058 +20503,4 @@ -../drivers/usb/typec/ucsi/trace.h:16: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18065,2 +20513,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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18069 +20517,4 @@ -../drivers/usb/typec/ucsi/trace.h:16: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18076,2 +20527,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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18080 +20531,4 @@ -../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] +../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, \ + | ^ @@ -18087,2 +20541,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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18091 +20545,4 @@ -../drivers/usb/typec/ucsi/trace.h:16: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18098,2 +20555,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 ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: @@ -18102 +20559,4 @@ -../drivers/usb/typec/ucsi/trace.h:16: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18109,6 +20569,6 @@ -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, +In file included from ../drivers/gpu/drm/scheduler/sched_main.c:88: +In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 35 | DECLARE_EVENT_CLASS(drm_sched_job, @@ -18116,13 +20576,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/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/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -18130,10 +20579,2 @@ -../include/trace/trace_events.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/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -18141,38 +20582,7 @@ -../include/trace/trace_events.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: +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 +make[4]: *** [../scripts/Makefile.build:485: net/mptcp] Error 2 +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18181,2 +20591,2 @@ -../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, +../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( @@ -18183,0 +20594,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18190,2 +20603,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18194 +20607,4 @@ -../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -18201,2 +20617,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18205 +20621,4 @@ -../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18212,2 +20631,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18216 +20635,4 @@ -../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] +../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, \ + | ^ @@ -18223,2 +20645,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18227 +20649,4 @@ -../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -18234,2 +20659,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18238 +20663,4 @@ -../drivers/usb/typec/ucsi/trace.h:85:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:67:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18245,6 +20673,2 @@ -18 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/usb/gadget/udc/trace.c:10: -In file included from ../drivers/usb/gadget/udc/trace.h:294: +In file included from ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18253,2 +20677,2 @@ -../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, +../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( @@ -18255,0 +20680,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18262,2 +20689,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18266 +20693,4 @@ -../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -18273,2 +20703,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18277 +20707,4 @@ -../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18284,2 +20717,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18288 +20721,4 @@ -../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] +../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, \ + | ^ @@ -18295,2 +20731,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18299 +20735,4 @@ -../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -18306,2 +20745,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18310 +20749,4 @@ -../drivers/usb/gadget/udc/trace.h:20:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:88:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -18317,2 +20759,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18321,2 +20763,2 @@ -../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, +../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, @@ -18330,2 +20772,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18334 +20776 @@ -../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' @@ -18341,2 +20783,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18345 +20787 @@ -../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' @@ -18352,2 +20794,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18356 +20798 @@ -../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] +../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] @@ -18363,2 +20805,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18367 +20809 @@ -../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'preempt_notrace' +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'preempt_notrace' @@ -18374,2 +20816,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18378 +20820 @@ -../drivers/usb/gadget/udc/trace.h:144:1: error: use of undeclared identifier 'trace_event_guard' +../arch/x86/kvm/mmu/mmutrace.h:106:1: error: use of undeclared identifier 'trace_event_guard' @@ -18385,2 +20827,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 ../arch/x86/kvm/mmu/mmu.c:193: +In file included from ../arch/x86/kvm/mmu/mmutrace.h:451: @@ -18389,2 +20831,2 @@ -../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, +../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( @@ -18392,13 +20834,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/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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -18406,8 +20836,0 @@ -../include/trace/trace_events.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' @@ -18417 +20840 @@ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' +../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' @@ -18419,30 +20841,0 @@ - | ^ -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), \ @@ -18450,8 +20843,7 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -18 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/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[5]: *** [../scripts/Makefile.build:244: arch/x86/kvm/mmu/mmu.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 +make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18460,2 +20852,2 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 39 | TRACE_EVENT(ath6kl_wmi_cmd, +../drivers/net/wireless/ath/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, @@ -18472,2 +20864,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18476 +20868 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -18486,2 +20878,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18490 +20882 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39: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' @@ -18500,2 +20892,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18504 +20896 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/wireless/ath/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] @@ -18514,2 +20906,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18518 +20910 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -18528,2 +20920,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18532 +20924 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:39: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' @@ -18542,2 +20934,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18546,2 +20938,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, +../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, @@ -18558,2 +20950,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18562 +20954 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -18572,2 +20964,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18576 +20968 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62: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' @@ -18586,2 +20978,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18590 +20982 @@ -../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] +../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] @@ -18600,2 +20992,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18604 +20996 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -18614,2 +21006,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18618 +21010 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:62: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' @@ -18628,2 +21020,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18632,2 +21024,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/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, @@ -18644,2 +21036,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18648 +21040 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -18658,2 +21050,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18662 +21054 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85: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' @@ -18672,2 +21064,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18676 +21068 @@ -../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/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] @@ -18686,2 +21078,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18690 +21082 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -18700,2 +21092,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18704 +21096 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:85: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' @@ -18714,2 +21106,2 @@ -In file included from ../drivers/net/wireless/ath/ath6kl/trace.c:20: -In file included from ../drivers/net/wireless/ath/ath6kl/trace.h:327: +In file included from ../drivers/net/wireless/ath/ath12k/trace.c:10: +In file included from ../drivers/net/wireless/ath/ath12k/trace.h:179: @@ -18718,2 +21110,2 @@ -../drivers/net/wireless/ath/ath6kl/trace.h:120:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 120 | TRACE_EVENT(ath6kl_sdio_scat, +../drivers/net/wireless/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, @@ -18732,4 +21124,4 @@ -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: +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/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18738,2 +21130,2 @@ -../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, +../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, @@ -18741,3 +21132,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18750,2 +21139,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18754,4 +21143 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -18764,2 +21150,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18768,4 +21154 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -18778,2 +21161,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18782,4 +21165 @@ -../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, \ - | ^ +../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] @@ -18792,2 +21172,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18796,4 +21176 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'preempt_notrace' @@ -18806,2 +21183,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18810,4 +21187 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: use of undeclared identifier 'trace_event_guard' @@ -18820,2 +21194,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18824,2 +21198,2 @@ -../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, +../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, @@ -18836,2 +21210,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18840 +21214 @@ -../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -18850,2 +21224,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18854 +21228 @@ -../drivers/usb/typec/tipd/trace.h:253: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' @@ -18864,2 +21238,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18868 +21242 @@ -../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] +../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] @@ -18878,2 +21252,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18882 +21256 @@ -../drivers/usb/typec/tipd/trace.h:253:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -18892,2 +21266,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18896 +21270 @@ -../drivers/usb/typec/tipd/trace.h:253: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' @@ -18906,2 +21280,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18910,2 +21284,2 @@ -../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, +../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, @@ -18913,3 +21286,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -18922,2 +21293,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18926,4 +21297 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -18936,2 +21304,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18940,4 +21308 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -18950,2 +21315,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18954,4 +21319 @@ -../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, \ - | ^ +../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] @@ -18964,2 +21326,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18968,4 +21330 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'preempt_notrace' @@ -18978,2 +21337,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 ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: @@ -18982,4 +21341 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/trace.h:82:1: error: use of undeclared identifier 'trace_event_guard' @@ -18992,6 +21348,6 @@ -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, +In file included from ../drivers/net/wireless/mediatek/mt76/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/trace.h:111: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/trace.h:32:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 32 | DECLARE_EVENT_CLASS(dev_reg_evt, @@ -18999,2 +21355,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) @@ -19002,5 +21358,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:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -19010,5 +21363,4 @@ -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/net/wireless/ath/wil6210/trace.c:9: -In file included from ../drivers/net/wireless/ath/wil6210/trace.h:285: +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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19017,2 +21369,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/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, @@ -19026,2 +21378,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19030 +21382 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' @@ -19037,2 +21389,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19041 +21393 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' @@ -19048,2 +21400,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19052 +21404 @@ -../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/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] @@ -19059,2 +21411,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19063 +21415 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' @@ -19070,2 +21422,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19074 +21426 @@ -../drivers/net/wireless/ath/wil6210/trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' @@ -19081,2 +21433,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19085,2 +21437,2 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 69 | DECLARE_EVENT_CLASS(wil6210_log_event, +../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, @@ -19094,2 +21446,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19098 +21450 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' @@ -19105,2 +21457,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19109 +21461 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' @@ -19116,2 +21468,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19120 +21472 @@ -../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] +../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] @@ -19127,2 +21479,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19131 +21483 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'preempt_notrace' @@ -19138,2 +21490,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19142 +21494 @@ -../drivers/net/wireless/ath/wil6210/trace.h:69:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/silabs/wfx/traces.h:236:1: error: use of undeclared identifier 'trace_event_guard' @@ -19149,2 +21501,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19153,2 +21505,2 @@ -../drivers/net/wireless/ath/wil6210/trace.h:101:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 101 | TRACE_EVENT(wil6210_irq_pseudo, +../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, @@ -19156,3 +21507,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -19165,2 +21514,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19169,4 +21518 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' @@ -19179,2 +21525,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19183,4 +21529 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' @@ -19193,2 +21536,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19197,4 +21540 @@ -../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, \ - | ^ +../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] @@ -19207,2 +21547,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19211,4 +21551 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' @@ -19221,2 +21558,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19225,4 +21562 @@ -../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, \ - | ^ +../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' @@ -19235,2 +21569,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/silabs/wfx/debug.c:20: +In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: @@ -19239,2 +21573,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/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, @@ -19250,4 +21584,5 @@ -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/ath10k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath10k/trace.h:531: +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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19256,2 +21591,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/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, @@ -19258,0 +21594,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19265,2 +21603,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19269 +21607,4 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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, \ + | ^ @@ -19276,2 +21617,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19280 +21621,4 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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, \ + | ^ @@ -19287,2 +21631,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19291 +21635,4 @@ -../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/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, \ + | ^ @@ -19298,2 +21645,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19302 +21649,4 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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, \ + | ^ @@ -19309,2 +21659,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19313 +21663,4 @@ -../drivers/net/wireless/ath/ath10k/trace.h:49: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, \ + | ^ @@ -19320,2 +21673,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19324,2 +21677,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/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, @@ -19336,2 +21689,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19340 +21693 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -19350,2 +21703,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19354 +21707 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -19364,2 +21717,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19368 +21721 @@ -../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/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] @@ -19378,2 +21731,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19382 +21735 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -19392,2 +21745,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19396 +21749 @@ -../drivers/net/wireless/ath/ath10k/trace.h:85: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' @@ -19406,2 +21759,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19410,2 +21763,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/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, @@ -19422,2 +21775,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19426 +21779 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -19436,2 +21789,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19440 +21793 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -19450,2 +21803,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19454 +21807 @@ -../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/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] @@ -19464,2 +21817,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19468 +21821 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -19478,2 +21831,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19482 +21835 @@ -../drivers/net/wireless/ath/ath10k/trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -19492,2 +21845,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/ethernet/marvell/octeontx2/af/rvu_trace.c:9: +In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: @@ -19496,2 +21849,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/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, @@ -19510,4 +21863,7 @@ -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/gpu/drm/scheduler/sched_main.c:88: -In file included from ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:114: +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 +make[6]: *** 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: @@ -19516,2 +21872,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/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, @@ -19518,0 +21875,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19525,2 +21884,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19529 +21888,4 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19536,2 +21898,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19540 +21902,4 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19547,2 +21912,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19551 +21916,4 @@ -../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/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, \ + | ^ @@ -19558,2 +21926,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19562 +21930,4 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19569,2 +21940,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19573 +21944,4 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19580,2 +21954,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19584,2 +21958,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/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, @@ -19596,2 +21970,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19600 +21974 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -19610,2 +21984,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19614 +21988 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72: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' @@ -19624,2 +21998,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19628 +22002 @@ -../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/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] @@ -19638,2 +22012,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19642 +22016 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -19652,2 +22026,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19656 +22030 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:72: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' @@ -19666,2 +22040,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19670,2 +22044,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/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, @@ -19682,2 +22056,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19686 +22060 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -19696,2 +22070,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19700 +22074 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85: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' @@ -19710,2 +22084,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19714 +22088 @@ -../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] +../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] @@ -19724,2 +22098,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19728 +22102 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' @@ -19738,2 +22112,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/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19742 +22116 @@ -../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h:85: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' @@ -19752,5 +22126,2 @@ -18 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/usb/cdns3/cdnsp-trace.c:12: -In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: +In file included from ../drivers/net/wireless/ath/ath11k/trace.c:9: +In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: @@ -19759,2 +22130,2 @@ -../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, +../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, @@ -19768,2 +22139,7 @@ -In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: -In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: +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/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -19772 +22148,20 @@ -../drivers/usb/cdns3/cdnsp-trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -19779,2 +22174,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -19783 +22178,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:37: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, \ + | ^ @@ -19790,2 +22188,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -19794 +22192,4 @@ -../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] +../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, \ + | ^ @@ -19801,2 +22202,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -19805 +22206,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:37: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, \ + | ^ @@ -19812,2 +22216,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 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:51: @@ -19816 +22220,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:37: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, \ + | ^ @@ -19823,6 +22230,6 @@ -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, +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, @@ -19830,2 +22237,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, \ @@ -19833,2 +22240,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) @@ -19836,7 +22243,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: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/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -19844,2 +22246,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/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); \ @@ -19847,7 +22260,7 @@ -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), \ +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, \ @@ -19855,2 +22268,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); \ @@ -19858,7 +22274,7 @@ -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), \ +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, \ @@ -19866,2 +22282,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)(); \ @@ -19869,7 +22288,7 @@ -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), \ +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, \ @@ -19877,2 +22296,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)(); \ @@ -19880,7 +22302,7 @@ -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), \ +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, \ @@ -19888,2 +22310,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)(); \ @@ -19891,2 +22316,5 @@ -In file included from ../drivers/usb/cdns3/cdnsp-trace.c:12: -In file included from ../drivers/usb/cdns3/cdnsp-trace.h:826: +12 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/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: @@ -19895,2 +22323,2 @@ -../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, +../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, @@ -19897,0 +22326,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19904,2 +22335,3 @@ -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 ../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: @@ -19908 +22340,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:134: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19915,2 +22350,3 @@ -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 ../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: @@ -19919 +22355,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:134: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19926,2 +22365,3 @@ -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 ../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: @@ -19930 +22370,4 @@ -../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] +../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, \ + | ^ @@ -19937,2 +22380,3 @@ -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 ../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: @@ -19941 +22385,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:134: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19948,2 +22395,3 @@ -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 ../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: @@ -19952 +22400,4 @@ -../drivers/usb/cdns3/cdnsp-trace.h:134: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -19959,2 +22410,3 @@ -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 ../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: @@ -19963,2 +22415,2 @@ -../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, +../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, @@ -19975,6 +22427,3 @@ -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/silabs/wfx/debug.c:20: -In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: +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: @@ -19983,8 +22432,3 @@ -../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); \ +../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, \ @@ -19992,5 +22435,0 @@ -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' @@ -20003,2 +22442,3 @@ -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/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: @@ -20007 +22447,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20014,2 +22457,3 @@ -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/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: @@ -20018 +22462,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/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, \ + | ^ @@ -20025,2 +22472,3 @@ -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/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: @@ -20029 +22477,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20036,2 +22487,3 @@ -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/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: @@ -20040 +22492,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:159:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:34:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20047,2 +22502,3 @@ -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/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: @@ -20051,2 +22507,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/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, @@ -20053,0 +22510,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20060,2 +22519,3 @@ -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/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: @@ -20064 +22524,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236: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, \ + | ^ @@ -20071,2 +22534,3 @@ -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/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: @@ -20075 +22539,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236: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, \ + | ^ @@ -20082,2 +22549,3 @@ -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/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: @@ -20086 +22554,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/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, \ + | ^ @@ -20093,2 +22564,3 @@ -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/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: @@ -20097 +22569,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236: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, \ + | ^ @@ -20104,2 +22579,3 @@ -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/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: @@ -20108 +22584,4 @@ -../drivers/net/wireless/silabs/wfx/traces.h:236: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, \ + | ^ @@ -20115,2 +22594,3 @@ -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/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: @@ -20119,2 +22599,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/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, @@ -20121,0 +22602,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20128,2 +22611,7 @@ -In file included from ../drivers/net/wireless/silabs/wfx/debug.c:20: -In file included from ../drivers/net/wireless/silabs/wfx/traces.h:496: +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/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -20132 +22620,14 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -20139,2 +22640,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/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -20143 +22644 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -20150,2 +22651,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/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -20154 +22655 @@ -../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/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] @@ -20161,2 +22662,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/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -20165 +22666 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' @@ -20172,2 +22673,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/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: @@ -20176 +22677 @@ -../drivers/net/wireless/silabs/wfx/traces.h:279:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'trace_event_guard' @@ -20183,6 +22684,6 @@ -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, +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, @@ -20190,2 +22691,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) @@ -20193,2 +22694,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); \ @@ -20196,6 +22697,60 @@ -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 -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/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: +In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/lima/lima_trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/lima] 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: @@ -20204,2 +22759,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/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, @@ -20207,3 +22761,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20216,2 +22768,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20220,4 +22772 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -20230,2 +22779,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20234,4 +22783 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -20244,2 +22790,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20248,4 +22794 @@ -../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, \ - | ^ +../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] @@ -20258,2 +22801,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20262,4 +22805 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -20272,2 +22812,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20276,4 +22816 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -20286,2 +22823,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20290,2 +22827,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/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, @@ -20293,3 +22829,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20302,2 +22836,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20306,4 +22840 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -20316,2 +22847,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20320,4 +22851 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -20330,2 +22858,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20334,4 +22862 @@ -../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, \ - | ^ +../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] @@ -20344,2 +22869,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20348,4 +22873 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'preempt_notrace' @@ -20358,2 +22880,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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: @@ -20362,4 +22884 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: use of undeclared identifier 'trace_event_guard' @@ -20372,2 +22891,86 @@ -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/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_reg_evt, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/usb_trace.h:86: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/usb_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 54 | DECLARE_EVENT_CLASS(urb_transfer, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/usb_trace.o] Error 1 +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: @@ -20376,2 +22979,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/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, @@ -20385,2 +22988,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20389 +22992 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' @@ -20396,2 +22999,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20400 +23003 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' @@ -20407,2 +23010,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20411 +23014 @@ -../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/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] @@ -20418,2 +23021,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20422 +23025 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' @@ -20429,2 +23032,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20433 +23036 @@ -../arch/x86/kvm/mmu/mmutrace.h:106: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' @@ -20440,2 +23043,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20444,2 +23047,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/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, @@ -20456,8 +23059,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[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/silabs] Error 2 -make[4]: *** [../scripts/Makefile.build:485: arch/x86/kvm] Error 2 -make[3]: *** [../scripts/Makefile.build:485: arch/x86] Error 2 -In file included from ../drivers/net/ethernet/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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20466,8 +23063,3 @@ -../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); \ +../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, \ @@ -20475,5 +23066,0 @@ -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' @@ -20486,2 +23073,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20490 +23077,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20497,2 +23087,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20501 +23091,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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, \ + | ^ @@ -20508,2 +23101,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20512 +23105,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20519,2 +23115,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/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: @@ -20523 +23119,4 @@ -../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -20530,4 +23129,87 @@ -6 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/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 26 | DECLARE_EVENT_CLASS(dev_evt, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mac_txstat_fetch, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 @@ -20792 +23474,18 @@ -18 errors generated. +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_rx.c:15: +In file included from ../drivers/net/ethernet/fungible/funeth/funeth_trace.h:117: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/fungible/funeth/funeth_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 13 | TRACE_EVENT(funeth_tx, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. @@ -20796,4 +23495,2 @@ -make[6]: *** Waiting for unfinished jobs.... -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20802,2 +23499,2 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:17:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 17 | TRACE_EVENT(iwlwifi_dev_ioread32, +../drivers/net/wireless/mediatek/mt76/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, @@ -20805,3 +23501,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20814,3 +23508,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20819,4 +23512 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -20829,3 +23519,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20834,4 +23523 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -20844,3 +23530,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20849,4 +23534 @@ -../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, \ - | ^ +../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] @@ -20859,3 +23541,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20864,4 +23545 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -20874,3 +23552,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: @@ -20879,4 +23556 @@ -../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, \ - | ^ +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -20889,3 +23563,76 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 27 | DECLARE_EVENT_CLASS(dev_token, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: +In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 +make[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/wireless] Error 2 +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20894,2 +23641,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/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, @@ -20897,3 +23643,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -20906,3 +23650,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20911,4 +23654 @@ -../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, \ - | ^ +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -20921,3 +23661,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20926,4 +23665 @@ -../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, \ - | ^ +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -20936,3 +23672,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20941,4 +23676 @@ -../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, \ - | ^ +../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] @@ -20951,3 +23683,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20956,4 +23687 @@ -../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, \ - | ^ +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' @@ -20966,3 +23694,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: @@ -20971,4 +23698 @@ -../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, \ - | ^ +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'trace_event_guard' @@ -20981,3 +23705,74 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 29 | DECLARE_EVENT_CLASS(dpaa_eth_fd, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:45: +In file included from ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:115: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h:29:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa/dpaa_eth.o] Error 1 +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: @@ -20986,2 +23781,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/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, @@ -20998,3 +23793,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21003 +23797 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51: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' @@ -21013,3 +23807,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21018 +23811 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51: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' @@ -21028,3 +23821,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21033 +23825 @@ -../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] +../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] @@ -21043,3 +23835,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21048 +23839 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51: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' @@ -21058,3 +23849,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21063 +23853 @@ -../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:51: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' @@ -21073,3 +23863,2 @@ -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.c:18: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace.h:92: -In file included from ../drivers/net/wireless/intel/iwlwifi/iwl-devtrace-io.h:194: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21078,2 +23867,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/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, @@ -21090,7 +23879,2 @@ -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/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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21099,8 +23883,3 @@ -../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); \ +../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, \ @@ -21108,5 +23886,0 @@ -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' @@ -21119,2 +23893,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21123 +23897,4 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33: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, \ + | ^ @@ -21130,2 +23907,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21134 +23911,4 @@ -../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] +../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, \ + | ^ @@ -21141,2 +23921,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21145 +23925,4 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33: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, \ + | ^ @@ -21152,2 +23935,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21156 +23939,4 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:33: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, \ + | ^ @@ -21163,2 +23949,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21167,2 +23953,2 @@ -../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, +../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, @@ -21176,2 +23962,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21180 +23966 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:60: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' @@ -21187,2 +23973,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21191 +23977 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:60: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' @@ -21198,2 +23984,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21202 +23988 @@ -../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] +../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] @@ -21209,2 +23995,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21213 +23999 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:60: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' @@ -21220,2 +24006,2 @@ -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 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: @@ -21224 +24010 @@ -../drivers/usb/gadget/udc/cdns2/cdns2-trace.h:60: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' @@ -21231,6 +24017,6 @@ -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, +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 16 | TRACE_EVENT(hclge_vf_mbx_get, @@ -21240,0 +24027,17 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.o] Error 1 +make[8]: *** Waiting for unfinished jobs.... +In file included from ../drivers/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, + | ^ @@ -21247,2 +24050,2 @@ -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 ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -21251,4 +24054 @@ -../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, \ - | ^ +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -21261,2 +24061,2 @@ -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 ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -21265,4 +24065 @@ -../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, \ - | ^ +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -21275,2 +24072,2 @@ -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 ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -21279,4 +24076 @@ -../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, \ - | ^ +../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] @@ -21289,2 +24083,2 @@ -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 ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -21293,4 +24087 @@ -../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, \ - | ^ +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' @@ -21303,2 +24094,2 @@ -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 ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: @@ -21307,4 +24098 @@ -../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, \ - | ^ +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' @@ -21317,6 +24105,6 @@ -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, +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, @@ -21324,2 +24112,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) @@ -21327,2 +24115,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:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ @@ -21330,2 +24118,7 @@ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ +In file included from ../drivers/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) @@ -21333,9 +24126,52 @@ -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/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/tegra/trace.c:2: +In file included from ../drivers/gpu/drm/tegra/trace.h:68: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/tegra/trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/tegra] Error 2 +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21344,2 +24180,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/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, @@ -21347,3 +24182,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21356,2 +24189,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21360,4 +24193 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -21370,2 +24200,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21374,4 +24204 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -21384,2 +24211,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21388,4 +24215 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/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] @@ -21398,2 +24222,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21402,4 +24226 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -21412,2 +24233,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21416,4 +24237 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:16:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ +../drivers/net/thunderbolt/trace.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -21426,2 +24244,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21430,2 +24248,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/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, @@ -21433,3 +24250,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21442,2 +24257,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21446,4 +24261 @@ -../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, \ - | ^ +../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' @@ -21456,2 +24268,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21460,4 +24272 @@ -../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, \ - | ^ +../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' @@ -21470,2 +24279,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21474,4 +24283 @@ -../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, \ - | ^ +../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] @@ -21484,2 +24290,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21488,4 +24294 @@ -../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, \ - | ^ +../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'preempt_notrace' @@ -21498,2 +24301,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21502,4 +24305 @@ -../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, \ - | ^ +../drivers/net/thunderbolt/trace.h:64:1: error: use of undeclared identifier 'trace_event_guard' @@ -21512,2 +24312,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21516,2 +24316,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/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, @@ -21525,2 +24325,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21529 +24329 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -21536,2 +24336,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21540 +24340 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -21547,2 +24347,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21551 +24351 @@ -../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/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] @@ -21558,2 +24358,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21562 +24362 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' @@ -21569,2 +24369,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_mbx.c:9: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:137: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: @@ -21573 +24373 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h:80:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/thunderbolt/trace.h:98:1: error: use of undeclared identifier 'trace_event_guard' @@ -21580,5 +24380,19 @@ -18 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/scsi/scsi_transport_iscsi.c:30: -In file included from ../include/trace/events/iscsi.h:107: +In file included from ../drivers/net/thunderbolt/trace.c:10: +In file included from ../drivers/net/thunderbolt/trace.h:141: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/thunderbolt/trace.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 25 | DECLARE_EVENT_CLASS(tbnet_frame, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/net/thunderbolt/trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/thunderbolt] Error 2 +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21587,2 +24401,2 @@ -../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, +../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( @@ -21596,2 +24410,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/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21600 +24414 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -21607,2 +24421,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/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21611 +24425 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -21618,2 +24432,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/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21622 +24436 @@ -../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/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] @@ -21629,2 +24443,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/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21633 +24447 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -21640,2 +24454,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/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21644 +24458 @@ -../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -21651,5 +24465,2 @@ -6 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/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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21658,2 +24469,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/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( @@ -21667,2 +24478,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21671 +24482 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' @@ -21678,2 +24489,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21682 +24493 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' @@ -21689,2 +24500,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21693 +24504 @@ -../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/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] @@ -21700,2 +24511,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21704 +24515 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'preempt_notrace' @@ -21711,2 +24522,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21715 +24526 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: use of undeclared identifier 'trace_event_guard' @@ -21722,2 +24533,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21726,2 +24537,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/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( @@ -21735,2 +24546,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21739 +24550 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' @@ -21746,2 +24557,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21750 +24561 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' @@ -21757,2 +24568,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21761 +24572 @@ -../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/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] @@ -21768,2 +24579,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21772 +24583 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'preempt_notrace' @@ -21779,2 +24590,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/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: @@ -21783 +24594 @@ -../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: use of undeclared identifier 'trace_event_guard' @@ -21790,6 +24601,20 @@ -12 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/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: +In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 59 | DECLARE_EVENT_CLASS( + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/iavf/iavf_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/iavf] Error 2 +make[7]: *** Waiting for unfinished jobs.... +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21798,2 +24623,2 @@ -../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(e1000e_trace_mac_register, +../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, @@ -21801,3 +24625,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -21810,2 +24632,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21814,4 +24636 @@ -../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/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -21824,2 +24643,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21828,4 +24647 @@ -../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/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -21838,2 +24654,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21842,4 +24658 @@ -../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/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] @@ -21852,2 +24665,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21856,4 +24669 @@ -../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/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -21866,2 +24676,2 @@ -In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: -In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: @@ -21870,4 +24680 @@ -../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/events/iscsi.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -21880,18 +24687,73 @@ -../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 6 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/wireless/ath/ath11k/trace.c:9: -In file included from ../drivers/net/wireless/ath/ath11k/trace.h:346: +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 21 | DECLARE_EVENT_CLASS(iscsi_log_msg, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/scsi/scsi_transport_iscsi.c:30: +In file included from ../include/trace/events/iscsi.h:107: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../include/trace/events/iscsi.h:21:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[5]: *** [../scripts/Makefile.build:244: drivers/scsi/scsi_transport_iscsi.o] Error 1 +make[4]: *** [../scripts/Makefile.build:485: drivers/scsi] Error 2 +In file included from ../drivers/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21900,2 +24762,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/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, @@ -21912,2 +24774,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21916 +24778 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -21926,2 +24788,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21930 +24792 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36: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' @@ -21940,2 +24802,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21944 +24806 @@ -../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/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] @@ -21954,2 +24816,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21958 +24820 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:17:1: error: use of undeclared identifier 'preempt_notrace' @@ -21968,2 +24830,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21972 +24834 @@ -../drivers/net/wireless/ath/ath11k/trace.h:36: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' @@ -21982,2 +24844,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -21986,2 +24848,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/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, @@ -21998,2 +24860,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22002 +24864 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -22012,2 +24874,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22016 +24878 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67: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' @@ -22026,2 +24888,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22030 +24892 @@ -../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/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] @@ -22040,2 +24902,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22044 +24906 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -22054,2 +24916,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22058 +24920 @@ -../drivers/net/wireless/ath/ath11k/trace.h:67: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' @@ -22068,2 +24930,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22072,2 +24934,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/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, @@ -22084,2 +24946,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22088 +24950 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -22098,2 +24960,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22102 +24964 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94: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' @@ -22112,2 +24974,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22116 +24978 @@ -../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/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] @@ -22126,2 +24988,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22130 +24992 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' @@ -22140,2 +25002,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22144 +25006 @@ -../drivers/net/wireless/ath/ath11k/trace.h:94: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' @@ -22154,2 +25016,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/gpu/drm/vc4/vc4_trace_points.c:10: +In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: @@ -22158,2 +25020,2 @@ -../drivers/net/wireless/ath/ath11k/trace.h:124:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 124 | DECLARE_EVENT_CLASS(ath11k_log_event, +../drivers/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, @@ -22160,0 +25023,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -22169,3 +25034,4 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/ath/ath11k/trace.o] Error 1 -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[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/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22174,2 +25040,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/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, @@ -22186,2 +25052,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22190 +25056 @@ -../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -22200,2 +25066,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22204 +25070 @@ -../drivers/net/wireless/ath/ath12k/trace.h:24: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' @@ -22214,2 +25080,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22218 +25084 @@ -../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] +../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] @@ -22228,2 +25094,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22232 +25098 @@ -../drivers/net/wireless/ath/ath12k/trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -22242,2 +25108,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22246 +25112 @@ -../drivers/net/wireless/ath/ath12k/trace.h:24: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' @@ -22256,2 +25122,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22260,2 +25126,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/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, @@ -22272,2 +25138,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22276 +25142 @@ -../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -22286,2 +25152,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22290 +25156 @@ -../drivers/net/wireless/ath/ath12k/trace.h:55: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' @@ -22300,2 +25166,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22304 +25170 @@ -../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] +../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] @@ -22314,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22318 +25184 @@ -../drivers/net/wireless/ath/ath12k/trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: use of undeclared identifier 'preempt_notrace' @@ -22328,2 +25194,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22332 +25198 @@ -../drivers/net/wireless/ath/ath12k/trace.h:55: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' @@ -22342,2 +25208,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22346,2 +25212,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/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, @@ -22358,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22362 +25228 @@ -../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -22372,2 +25238,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22376 +25242 @@ -../drivers/net/wireless/ath/ath12k/trace.h:98: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' @@ -22386,2 +25252,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22390 +25256 @@ -../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] +../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] @@ -22400,2 +25266,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22404 +25270 @@ -../drivers/net/wireless/ath/ath12k/trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/radeon/radeon_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -22414,2 +25280,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22418 +25284 @@ -../drivers/net/wireless/ath/ath12k/trace.h:98: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' @@ -22428,2 +25294,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/gpu/drm/radeon/radeon_trace_points.c:10: +In file included from ../drivers/gpu/drm/radeon/radeon_trace.h:209: @@ -22432,2 +25298,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/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, @@ -22446,6 +25312,4 @@ -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/ath11k] Error 2 -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/net/ethernet/marvell/octeontx2/af/rvu_trace.c:9: -In file included from ../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:106: +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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22454,2 +25318,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, +../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, @@ -22457,3 +25320,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -22466,2 +25327,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22470,4 +25331 @@ -../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, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' @@ -22480,2 +25338,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22484,4 +25342 @@ -../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, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' @@ -22494,2 +25349,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22498,4 +25353 @@ -../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, \ - | ^ +../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] @@ -22508,2 +25360,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22512,4 +25364 @@ -../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, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'preempt_notrace' @@ -22522,2 +25371,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22526,4 +25375 @@ -../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, \ - | ^ +../net/wireless/trace.h:249:1: error: use of undeclared identifier 'trace_event_guard' @@ -22536,2 +25382,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22540,2 +25386,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, +../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, @@ -22552,2 +25398,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22556 +25402 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -22566,2 +25412,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22570 +25416 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -22580,2 +25426,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22584 +25430 @@ -../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] +../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] @@ -22594,2 +25440,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22598 +25444 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'preempt_notrace' @@ -22608,2 +25454,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22612 +25458 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:35:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:286:1: error: use of undeclared identifier 'trace_event_guard' @@ -22622,2 +25468,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22626,2 +25472,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, +../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, @@ -22638,2 +25484,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22642 +25488 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' @@ -22652,2 +25498,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22656 +25502 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' @@ -22666,2 +25512,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22670 +25516 @@ -../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] +../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] @@ -22680,2 +25526,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22684 +25530 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'preempt_notrace' @@ -22694,2 +25540,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22698 +25544 @@ -../drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../net/wireless/trace.h:307:1: error: use of undeclared identifier 'trace_event_guard' @@ -22708,2 +25554,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 ../net/wireless/trace.c:5: +In file included from ../net/wireless/trace.h:4093: @@ -22712,2 +25558,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, +../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, @@ -22726,6 +25572,5 @@ -make[9]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/marvell/octeontx2/af/rvu_trace.o] Error 1 -make[8]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2/af] Error 2 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell/octeontx2] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/marvell] Error 2 -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +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/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22734,2 +25579,2 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 13 | DECLARE_EVENT_CLASS(lima_task, +../drivers/gpu/drm/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, @@ -22743,2 +25588,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22747 +25592 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -22754,2 +25599,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22758 +25603 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -22765,2 +25610,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22769 +25614 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/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] @@ -22776,2 +25621,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22780 +25625 @@ -../drivers/gpu/drm/lima/lima_trace.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -22787,2 +25632,2 @@ -In file included from ../drivers/gpu/drm/lima/lima_trace.c:7: -In file included from ../drivers/gpu/drm/lima/lima_trace.h:50: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: @@ -22791 +25636 @@ -../drivers/gpu/drm/lima/lima_trace.h:13: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' @@ -22798,5 +25643,72 @@ -6 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/vc4/vc4_trace_points.c:10: -In file included from ../drivers/gpu/drm/vc4/vc4_trace.h:155: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | DECLARE_EVENT_CLASS(virtio_gpu_cmd, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: +In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/virtio/virtgpu_trace_points.o] Error 1 +In file included from ../drivers/net/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22805,2 +25717,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/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, @@ -22808,3 +25719,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -22817,2 +25726,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22821,4 +25730 @@ -../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, \ - | ^ +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -22831,2 +25737,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22835,4 +25741 @@ -../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, \ - | ^ +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -22845,2 +25748,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22849,4 +25752 @@ -../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, \ - | ^ +../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] @@ -22859,2 +25759,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22863,4 +25763 @@ -../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, \ - | ^ +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -22873,2 +25770,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22877,4 +25774 @@ -../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, \ - | ^ +../drivers/net/hyperv/netvsc_trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -22887,2 +25781,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22891,2 +25785,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/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, @@ -22903,2 +25797,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22907 +25801 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' @@ -22917,2 +25811,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22921 +25815 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' @@ -22931,2 +25825,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22935 +25829 @@ -../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/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] @@ -22945,2 +25839,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22949 +25843 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'preempt_notrace' @@ -22959,2 +25853,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22963 +25857 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:115:1: error: use of undeclared identifier 'trace_event_guard' @@ -22973,2 +25867,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22977,2 +25871,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/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, @@ -22989,2 +25883,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -22993 +25887 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' @@ -23003,2 +25897,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23007 +25901 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' @@ -23017,2 +25911,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23021 +25915 @@ -../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/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] @@ -23031,2 +25925,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23035 +25929 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'preempt_notrace' @@ -23045,2 +25939,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23049 +25943 @@ -../drivers/gpu/drm/vc4/vc4_trace.h:55:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/hyperv/netvsc_trace.h:132:1: error: use of undeclared identifier 'trace_event_guard' @@ -23059,2 +25953,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/hyperv/netvsc_trace.c:7: +In file included from ../drivers/net/hyperv/netvsc_trace.h:182: @@ -23063,2 +25957,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/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, @@ -23077,4 +25971,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/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +make[6]: *** [../scripts/Makefile.build:244: drivers/net/hyperv/netvsc_trace.o] Error 1 +make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/virtio] Error 2 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/hyperv] Error 2 +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23083,2 +25978,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/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, @@ -23085,0 +25981,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23092,2 +25990,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23096 +25994,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23103,2 +26004,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23107 +26008,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23114,2 +26018,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23118 +26022,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/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, \ + | ^ @@ -23125,2 +26032,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23129 +26036,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23136,2 +26046,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23140 +26050,4 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:18:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23147,2 +26060,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23151,2 +26064,2 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 43 | TRACE_EVENT(mac_txstat_fetch, +../drivers/net/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, @@ -23163,2 +26076,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23167 +26080 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -23177,2 +26090,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23181 +26094 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -23191,2 +26104,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23195 +26108 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/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] @@ -23205,2 +26118,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23209 +26122 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' @@ -23219,2 +26132,2 @@ -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:87: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23223 +26136 @@ -../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h:43:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' @@ -23233,4 +26146,2 @@ -12 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt76x02_trace.o] Error 1 -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23239,2 +26150,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/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, @@ -23251,2 +26162,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23255 +26166 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -23265,2 +26176,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23269 +26180 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -23279,2 +26190,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23283 +26194 @@ -../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/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] @@ -23293,2 +26204,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23297 +26208 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' @@ -23307,2 +26218,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23311 +26222 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/fjes/fjes_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' @@ -23321,2 +26232,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/fjes/fjes_trace.c:13: +In file included from ../drivers/net/fjes/fjes_trace.h:365: @@ -23325,2 +26236,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/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, @@ -23337,2 +26248,6 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[6]: *** [../scripts/Makefile.build:244: drivers/net/fjes/fjes_trace.o] Error 1 +make[5]: *** [../scripts/Makefile.build:485: drivers/net/fjes] Error 2 +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -23341 +26256,17 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -23351,2 +26282,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -23355 +26286 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -23365,2 +26296,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -23369 +26300 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/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] @@ -23379,2 +26310,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -23383 +26314 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -23393,2 +26324,2 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: +In file included from ../drivers/net/ethernet/intel/e1000e/netdev.c:31: +In file included from ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:42: @@ -23397 +26328 @@ -../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/e1000e/e1000e_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -23407,6 +26338,6 @@ -In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: -In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/v3d/v3d_trace.h: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, +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, @@ -23417,2 +26348,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) @@ -23420,2 +26351,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); \ @@ -23423,5 +26354,5 @@ -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' +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' @@ -23431,2 +26362,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) @@ -23434,2 +26365,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); \ @@ -23437,5 +26368,5 @@ -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' +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' @@ -23445,2 +26376,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) @@ -23448,2 +26379,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); \ @@ -23451,5 +26382,5 @@ -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] +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] @@ -23459,2 +26390,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) @@ -23462,2 +26393,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)(); \ @@ -23465,5 +26396,5 @@ -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' +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' @@ -23473,2 +26404,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) @@ -23476,2 +26407,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)(); \ @@ -23479,5 +26410,5 @@ -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' +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' @@ -23487,2 +26418,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) @@ -23490,2 +26421,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)(); \ @@ -23493,21 +26424,17 @@ -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 -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +../drivers/net/ethernet/intel/e1000e/netdev.c:4460:22: warning: shift count >= width of type [-Wshift-count-overflow] + 4460 | adapter->cc.mask = CYCLECOUNTER_MASK(64); + | ^~~~~~~~~~~~~~~~~~~~~ +../include/linux/timecounter.h:14:59: note: expanded from macro 'CYCLECOUNTER_MASK' + 14 | #define CYCLECOUNTER_MASK(bits) (u64)((bits) < 64 ? ((1ULL<<(bits))-1) : -1) + | ^ ~~~~~~ +../drivers/net/ethernet/intel/e1000e/netdev.c:7383:46: warning: shift count >= width of type [-Wshift-count-overflow] + 7383 | err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); + | ^~~~~~~~~~~~~~~~ +../include/linux/dma-mapping.h:77:54: note: expanded from macro 'DMA_BIT_MASK' + 77 | #define DMA_BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1)) + | ^ ~~~ +2 warnings and 12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/e1000e/netdev.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/e1000e] Error 2 +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23516,2 +26443,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 11 | TRACE_EVENT(msm_atomic_commit_tail_start, +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 11 | TRACE_EVENT(msm_gpu_submit, @@ -23528,2 +26455,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23532 +26459 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -23542,2 +26469,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23546 +26473 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -23556,2 +26483,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23560 +26487 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23570,2 +26497,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23574 +26501 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -23584,2 +26511,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23588 +26515 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -23598,2 +26525,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23602,2 +26529,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 26 | TRACE_EVENT(msm_atomic_commit_tail_finish, +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 33 | TRACE_EVENT(msm_gpu_submit_flush, @@ -23614,2 +26541,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23618 +26545 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -23628,2 +26555,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23632 +26559 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -23642,2 +26569,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23646 +26573 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23656,2 +26583,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23660 +26587 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' @@ -23670,2 +26597,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23674 +26601 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:26:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' @@ -23684,2 +26611,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23688,2 +26615,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 41 | TRACE_EVENT(msm_atomic_async_commit_start, +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 56 | TRACE_EVENT(msm_gpu_submit_retired, @@ -23700,2 +26627,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23704 +26631 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -23714,2 +26641,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23718 +26645 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -23728,2 +26655,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23732 +26659 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] @@ -23742,2 +26669,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23746 +26673 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'preempt_notrace' @@ -23756,2 +26683,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23760 +26687 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:41:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_gpu_trace.h:56:1: error: use of undeclared identifier 'trace_event_guard' @@ -23770,2 +26697,2 @@ -In file included from ../drivers/gpu/drm/msm/msm_atomic_tracepoints.c:3: -In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: +In file included from ../drivers/gpu/drm/msm/msm_gpu_tracepoints.c:6: +In file included from ../drivers/gpu/drm/msm/msm_gpu_trace.h:184: @@ -23774,2 +26701,2 @@ -../drivers/gpu/drm/msm/msm_atomic_trace.h:54:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 54 | TRACE_EVENT(msm_atomic_async_commit_finish, +../drivers/gpu/drm/msm/msm_gpu_trace.h:87:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 87 | TRACE_EVENT(msm_gpu_freq_change, @@ -23788 +26715 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 @@ -23790,3 +26717,2 @@ -make[6]: *** [../scripts/Makefile.build:485: drivers/gpu/drm/v3d] Error 2 -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/trace.c:10: -In file included from ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:56: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23795,2 +26721,2 @@ -../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h:27:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 27 | DECLARE_EVENT_CLASS(dev_token, +../drivers/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, @@ -23798,57 +26724,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/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:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ @@ -23856,12 +26726,0 @@ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -6 errors generated. -make[9]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt7615/trace.o] Error 1 -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, - | ^ @@ -23874,2 +26733,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23878 +26737,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -23885,2 +26747,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23889 +26751,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23896,2 +26761,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23900 +26765,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/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, \ + | ^ @@ -23907,2 +26775,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23911 +26779,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -23918,2 +26789,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23922 +26793,4 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -23929,2 +26803,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23933,2 +26807,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 67 | TRACE_EVENT(hns3_tx_desc, +../drivers/gpu/drm/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, @@ -23945,2 +26819,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23949 +26823 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -23959,2 +26833,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23963 +26837 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -23973,2 +26847,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23976,3 +26850,2 @@ -In file inmake[8]: *** [../scripts/Makefile.build:485: drivers/net/wireless/mediatek/mt76/mt7615] Error 2 -cluded 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] +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] @@ -23988,2 +26861,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -23992 +26865 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:37:1: error: use of undeclared identifier 'preempt_notrace' @@ -24002,2 +26875,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24006 +26879 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:67: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' @@ -24016,2 +26889,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24020,2 +26893,2 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 98 | TRACE_EVENT(hns3_rx_desc, +../drivers/gpu/drm/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, @@ -24032,2 +26905,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24036 +26909 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -24046,2 +26919,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24050 +26923 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -24060,2 +26933,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24064 +26937 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/gpu/drm/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] @@ -24074,2 +26947,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24078 +26951 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/v3d/v3d_trace.h:67:1: error: use of undeclared identifier 'preempt_notrace' @@ -24088,2 +26961,2 @@ -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../drivers/gpu/drm/v3d/v3d_trace_points.c:8: +In file included from ../drivers/gpu/drm/v3d/v3d_trace.h:354: @@ -24092 +26965 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:98: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' @@ -24102,4 +26975,2 @@ -18 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +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: @@ -24108,2 +26979,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/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, @@ -24110,0 +26982,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -24117,2 +26991,6 @@ -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace_points.c:5: -In file included from ../drivers/gpu/drm/virtio/virtgpu_trace.h:56: +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/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24121 +26999,14 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -24128,2 +27019,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24132 +27023 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -24139,2 +27030,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24143 +27034 @@ -../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/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] @@ -24150,2 +27041,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24154 +27045 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' @@ -24161,2 +27052,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24165 +27056 @@ -../drivers/gpu/drm/virtio/virtgpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' @@ -24172,5 +27063,2 @@ -6 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/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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24179,2 +27067,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/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, @@ -24191,2 +27079,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24195 +27083 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23: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' @@ -24205,2 +27093,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24209 +27097 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23: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' @@ -24219,2 +27107,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24223 +27111 @@ -../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] +../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] @@ -24233,2 +27121,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24237 +27125 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23: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' @@ -24247,2 +27135,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/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24251 +27139 @@ -../drivers/net/wireless/mediatek/mt76/mt792x_trace.h:23: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' @@ -24261,75 +27149,2 @@ -6 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/wireless/mediatek/mt76/mt792x_trace.o] Error 1 -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 ../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 ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: @@ -24338,2 +27153,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/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, @@ -24350,2 +27165,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24354 +27169 @@ -../net/wireless/trace.h:286: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' @@ -24364,2 +27179,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24368 +27183 @@ -../net/wireless/trace.h:286: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' @@ -24378,2 +27193,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24382 +27197 @@ -../net/wireless/trace.h:286:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -24392,2 +27207,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24396 +27211 @@ -../net/wireless/trace.h:286: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' @@ -24406,2 +27221,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24410 +27225 @@ -../net/wireless/trace.h:286: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' @@ -24420,2 +27235,18 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_enet.c:35: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:138: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 15 | DECLARE_EVENT_CLASS(hns3_skb_template, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/hisilicon/hns3/hns3_enet.o] Error 1 +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24424,2 +27255,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/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, @@ -24427,3 +27257,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -24436,2 +27264,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24440,4 +27268 @@ -../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/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -24450,2 +27275,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24454,4 +27279 @@ -../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/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -24464,2 +27286,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24468,4 +27290 @@ -../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/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] @@ -24478,2 +27297,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24482,4 +27301 @@ -../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/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' @@ -24492,2 +27308,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: +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: @@ -24496,4 +27312 @@ -../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/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' @@ -24506,23 +27319,2 @@ -In file included from ../net/wireless/trace.c:5: -In file included from ../net/wireless/trace.h:4093: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../net/wireless/trace.h:323:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 323 | TRACE_EVENT(rdev_suspend, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[5]: *** [../scripts/Makefile.build:244: net/wireless/trace.o] Error 1 -make[4]: *** [../scripts/Makefile.build:485: net/wireless] Error 2 -make[3]: *** [../scripts/Makefile.build:485: net] 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 ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24531,2 +27323,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/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, @@ -24540,2 +27332,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/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24544 +27336 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -24551,2 +27343,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/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24555 +27347 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' @@ -24562,2 +27354,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/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24566 +27358 @@ -../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/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] @@ -24573,2 +27365,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/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24577 +27369 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'preempt_notrace' @@ -24584,2 +27376,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/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: @@ -24588 +27380 @@ -../drivers/gpu/drm/tegra/trace.h:10:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: use of undeclared identifier 'trace_event_guard' @@ -24595,3 +27387,86 @@ -6 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/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 24 | DECLARE_EVENT_CLASS(dpaa2_eth_fd, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:24:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.c:29: +In file included from ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:197: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h:109:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 109 | DECLARE_EVENT_CLASS(dpaa2_eth_buf, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/freescale/dpaa2/dpaa2-eth.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale/dpaa2] Error 2 +make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/freescale] Error 2 @@ -25013 +27888,83 @@ -12 errors generated. +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 20 | DECLARE_EVENT_CLASS(xe_guc_ct_flow_control, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:20:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_guc.h:110: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/gpu/drm/xe/xe_trace_guc.h:61:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 61 | DECLARE_EVENT_CLASS(xe_guc_ctb, + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. @@ -25016,2 +27973,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25020,2 +27977,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 15 | TRACE_EVENT(radeon_bo_create, +../drivers/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, @@ -25032,2 +27989,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25036 +27993 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -25046,2 +28003,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25050 +28007 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -25060,2 +28017,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25064 +28021 @@ -../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/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] @@ -25074,2 +28031,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25078 +28035 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' @@ -25088,2 +28045,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25092 +28049 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:15:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/msm_atomic_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' @@ -25102,2 +28059,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25106,2 +28063,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 30 | TRACE_EVENT(radeon_cs, +../drivers/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, @@ -25118,2 +28075,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25122 +28079 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -25132,2 +28089,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25136 +28093 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -25146,2 +28103,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25150 +28107 @@ -../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/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] @@ -25160,2 +28117,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25164 +28121 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -25174,2 +28131,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25178 +28135 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:30: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' @@ -25188,2 +28145,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25192,2 +28149,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/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, @@ -25204,2 +28161,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25208 +28165 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50: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' @@ -25218,2 +28175,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25222 +28179 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50: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' @@ -25232,2 +28189,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25236 +28193 @@ -../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/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] @@ -25246,2 +28203,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25250 +28207 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50: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' @@ -25260,2 +28217,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25264 +28221 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:50: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' @@ -25274,2 +28231,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/gpu/drm/msm/msm_atomic_tracepoints.c:3: +In file included from ../drivers/gpu/drm/msm/msm_atomic_trace.h:110: @@ -25278,2 +28235,2 @@ -../drivers/gpu/drm/radeon/radeon_trace.h:65:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 65 | TRACE_EVENT(radeon_vm_bo_update, +../drivers/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, @@ -25292,4 +28249,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/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_atomic_tracepoints.o] Error 1 +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25298,2 +28254,2 @@ -../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/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, @@ -25300,0 +28257,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25307,2 +28266,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25311 +28270,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -25318,2 +28280,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25322 +28284,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -25329,2 +28294,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25333 +28298,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/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, \ + | ^ @@ -25340,2 +28308,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25344 +28312,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -25351,2 +28322,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25355 +28326,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:59: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, \ + | ^ @@ -25362,2 +28336,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25366,2 +28340,2 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 111 | DECLARE_EVENT_CLASS( +../drivers/net/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, @@ -25368,0 +28343,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25375,2 +28352,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25379 +28356,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111: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, \ + | ^ @@ -25386,2 +28366,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25390 +28370,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111: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, \ + | ^ @@ -25397,2 +28380,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25401 +28384,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/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, \ + | ^ @@ -25408,2 +28394,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25412 +28398,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111: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, \ + | ^ @@ -25419,2 +28408,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25423 +28412,4 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:111: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, \ + | ^ @@ -25430,2 +28422,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25434,2 +28426,2 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 156 | DECLARE_EVENT_CLASS( +../drivers/net/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, @@ -25443,2 +28435,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25447 +28439 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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' @@ -25454,2 +28446,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25458 +28450 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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' @@ -25465,2 +28457,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25469 +28461 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/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] @@ -25476,2 +28468,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25480 +28472 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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' @@ -25487,2 +28479,2 @@ -In file included from ../drivers/net/ethernet/intel/iavf/iavf_main.c:13: -In file included from ../drivers/net/ethernet/intel/iavf/iavf_trace.h:209: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25491 +28483 @@ -../drivers/net/ethernet/intel/iavf/iavf_trace.h:156: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' @@ -25498,11 +28490,2 @@ -../drivers/net/ethernet/intel/iavf/iavf_main.c:5063:46: warning: shift count >= width of type [-Wshift-count-overflow] - 5063 | 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)) - | ^ ~~~ -1 warning and 18 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/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: +In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: @@ -25511,2 +28494,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | DECLARE_EVENT_CLASS(mlx5_sf_dev_template, +../drivers/net/ethernet/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, @@ -25520,2 +28503,7 @@ -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: +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/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -25524 +28512,20 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: 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, \ + | ^ @@ -25531,2 +28538,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -25535 +28542,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25542,2 +28552,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -25546 +28556,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25553,2 +28566,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -25557 +28570,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25564,2 +28580,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: @@ -25568 +28584,4 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25575,2 +28594,88 @@ -6 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/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 14 | TRACE_EVENT(mlx5_sf_vhca_event, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.o] Error 1 @@ -25578,2 +28683,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25582,2 +28687,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/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, @@ -25594,2 +28699,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25598 +28703 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13: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' @@ -25608,2 +28713,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25612 +28717 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13: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' @@ -25622,2 +28727,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25626 +28731 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -25636,2 +28741,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25640 +28745 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13: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' @@ -25650,2 +28755,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25654 +28759 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13: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' @@ -25664,4 +28769,2 @@ -6 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.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 ../drivers/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25670,2 +28773,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/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( @@ -25679,2 +28782,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25683 +28786 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -25690,2 +28793,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25694 +28797 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -25701,2 +28804,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25705 +28808 @@ -../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/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] @@ -25712,2 +28815,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25716 +28819 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' @@ -25723,2 +28826,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25727 +28830 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' @@ -25734,2 +28837,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25738,2 +28841,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/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( @@ -25741,3 +28843,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -25750,2 +28850,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25754,4 +28854 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' @@ -25764,2 +28861,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25768,4 +28865 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' @@ -25778,2 +28872,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25782,4 +28876 @@ -../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, \ - | ^ +../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] @@ -25792,2 +28883,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25796,4 +28887 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' @@ -25806,2 +28894,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25810,4 +28898 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' @@ -25820,2 +28905,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/net/ethernet/intel/i40e/i40e_main.c:25: +In file included from ../drivers/net/ethernet/intel/i40e/i40e_trace.h:258: @@ -25824,2 +28909,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/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( @@ -25833,2 +28918,6 @@ -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: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 +make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -25837 +28926,20 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' +../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, \ + | ^ @@ -25844,2 +28952,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/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -25848 +28956,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25855,2 +28966,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/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -25859 +28970,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/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, \ + | ^ @@ -25866,2 +28980,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/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -25870 +28984,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25877,2 +28994,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/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: @@ -25881 +28998,4 @@ -../drivers/gpu/drm/xe/xe_trace_bo.h:78: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -25888,6 +29008,6 @@ -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, +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, @@ -25895,2 +29015,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, \ @@ -25898,2 +29018,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) @@ -25901,3 +29021,75 @@ -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 +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/cmd.c:48: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:45: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h:13:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/cmd.o] Error 1 @@ -25990 +29182,87 @@ -6 errors generated. +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 43 | TRACE_EVENT(mlx5_fw, + | ^ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c:35: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:78: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h:43:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. @@ -25992,2 +29270,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/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: @@ -25996,2 +29274,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/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, @@ -26008,2 +29286,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/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: @@ -26012 +29290 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' @@ -26022,2 +29300,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/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: @@ -26026 +29304 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' @@ -26036,2 +29314,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/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: @@ -26040 +29318 @@ -../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/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] @@ -26050,2 +29328,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/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: @@ -26054 +29332 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'preempt_notrace' @@ -26064,2 +29342,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/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: @@ -26068 +29346 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:11:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:64:1: error: use of undeclared identifier 'trace_event_guard' @@ -26078,2 +29356,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/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: @@ -26082,2 +29360,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/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, @@ -26094,2 +29372,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/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: @@ -26098 +29376 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -26108,2 +29386,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/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: @@ -26112 +29390 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -26122,2 +29400,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/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: @@ -26126 +29404 @@ -../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/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] @@ -26136,2 +29414,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/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: @@ -26140 +29418 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -26150,2 +29428,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/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: @@ -26154 +29432 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:33:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -26164,2 +29442,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/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: @@ -26168,2 +29446,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/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, @@ -26180,2 +29458,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/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: @@ -26184 +29462 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -26194,2 +29472,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/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: @@ -26198 +29476 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -26208,2 +29486,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/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: @@ -26212 +29490 @@ -../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/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] @@ -26222,2 +29500,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/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: @@ -26226 +29504 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -26236,2 +29514,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/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: @@ -26240 +29518 @@ -../drivers/gpu/drm/msm/msm_gpu_trace.h:56: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' @@ -26250,2 +29528,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/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: @@ -26254,2 +29532,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/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, @@ -26268,3 +29546,3 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/msm/msm_gpu_tracepoints.o] Error 1 -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c:10: -In file included from ../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:181: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.o] Error 1 +In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26273,2 +29551,2 @@ -../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/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, @@ -26276,3 +29553,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26285,2 +29560,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26289,4 +29564 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -26299,2 +29571,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26303,4 +29575 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -26313,2 +29582,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26317,4 +29586 @@ -../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, \ - | ^ +../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] @@ -26327,2 +29593,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26331,4 +29597 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'preempt_notrace' @@ -26341,2 +29604,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26345,4 +29608 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:27:1: error: use of undeclared identifier 'trace_event_guard' @@ -26355,2 +29615,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26359,2 +29619,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/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, @@ -26362,3 +29621,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26371,2 +29628,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26375,4 +29632 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -26385,2 +29639,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26389,4 +29643 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -26399,2 +29650,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26403,4 +29654 @@ -../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, \ - | ^ +../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] @@ -26413,2 +29661,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26417,4 +29665 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' @@ -26427,2 +29672,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26431,4 +29676 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' @@ -26441,2 +29683,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26445,2 +29687,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/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, @@ -26454,2 +29696,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26458 +29700 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' @@ -26465,2 +29707,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26469 +29711 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' @@ -26476,2 +29718,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26480 +29722 @@ -../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/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] @@ -26487,2 +29729,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26491 +29733 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' @@ -26498,2 +29740,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26502 +29744 @@ -../drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' @@ -26509,2 +29751,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/xe/xe_trace.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: @@ -26513,2 +29755,2 @@ -../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, +../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, @@ -26524,5 +29766,3 @@ -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: +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace.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: @@ -26531,2 +29771,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/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, @@ -26534,3 +29773,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26543,2 +29780,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26547,4 +29784 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -26557,2 +29791,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26561,4 +29795 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -26571,2 +29802,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26575,4 +29806 @@ -../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, \ - | ^ +../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] @@ -26585,2 +29813,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26589,4 +29817 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' @@ -26599,2 +29824,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26603,4 +29828 @@ -../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, \ - | ^ +../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' @@ -26613,2 +29835,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26617,2 +29839,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/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, @@ -26626,2 +29848,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26630 +29852 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -26637,2 +29859,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26641 +29863 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -26648,2 +29870,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26652 +29874 @@ -../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/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] @@ -26659,2 +29881,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26663 +29885 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' @@ -26670,2 +29892,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26674 +29896 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:108:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' @@ -26681,2 +29903,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26685,2 +29907,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/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, @@ -26694,2 +29916,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26698 +29920 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -26705,2 +29927,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26709 +29931 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -26716,2 +29938,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26720 +29942 @@ -../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/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] @@ -26727,2 +29949,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26731 +29953 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' @@ -26738,2 +29960,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26742 +29964 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:160:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' @@ -26749,2 +29971,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/intel/ice/ice_main.c:24: +In file included from ../drivers/net/ethernet/intel/ice/ice_trace.h:364: @@ -26753,2 +29975,2 @@ -../drivers/net/ethernet/intel/i40e/i40e_trace.h:205:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 205 | DECLARE_EVENT_CLASS( +../drivers/net/ethernet/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, @@ -26764,4 +29986,5 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/i40e/i40e_main.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/i40e] Error 2 -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/vhca_event.c:10: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:40: +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: @@ -26770,2 +29993,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h:14:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 14 | TRACE_EVENT(mlx5_sf_vhca_event, +../drivers/gpu/drm/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, @@ -26773,3 +29995,0 @@ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ @@ -26782,2 +30002,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: @@ -26786,4 +30006 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -26796,2 +30013,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: @@ -26800,4 +30017 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -26810,2 +30024,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: @@ -26814,4 +30028 @@ -../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, \ - | ^ +../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] @@ -26824,2 +30035,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: @@ -26828,4 +30039 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'preempt_notrace' @@ -26838,2 +30046,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: @@ -26842,4 +30050 @@ -../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, \ - | ^ +../drivers/gpu/drm/xe/xe_trace_bo.h:23:1: error: use of undeclared identifier 'trace_event_guard' @@ -26852,4 +30057,2 @@ -6 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/xe/xe_trace.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: +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: @@ -26858,2 +30061,2 @@ -../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, +../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, @@ -26860,0 +30064,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26867,2 +30073,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26871 +30077,4 @@ -../drivers/gpu/drm/xe/xe_trace.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26878,2 +30087,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26882 +30091,4 @@ -../drivers/gpu/drm/xe/xe_trace.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26889,2 +30101,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26893 +30105,4 @@ -../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] +../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, \ + | ^ @@ -26900,2 +30115,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26904 +30119,4 @@ -../drivers/gpu/drm/xe/xe_trace.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26911,2 +30129,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26915 +30133,4 @@ -../drivers/gpu/drm/xe/xe_trace.h:27: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' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -26922,2 +30143,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26926,2 +30147,2 @@ -../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, +../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, @@ -26935,2 +30156,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26939 +30160 @@ -../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -26946,2 +30167,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26950 +30171 @@ -../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -26957,2 +30178,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26961 +30182 @@ -../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] +../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] @@ -26968,2 +30189,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26972 +30193 @@ -../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'preempt_notrace' @@ -26979,2 +30200,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26983 +30204 @@ -../drivers/gpu/drm/xe/xe_trace.h:83:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/xe/xe_trace_bo.h:78:1: error: use of undeclared identifier 'trace_event_guard' @@ -26990,2 +30211,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 ../drivers/gpu/drm/xe/xe_trace_bo.c:8: +In file included from ../drivers/gpu/drm/xe/xe_trace_bo.h:247: @@ -26994,2 +30215,2 @@ -../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, +../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, @@ -27003,2 +30224,5 @@ -In file included from ../drivers/gpu/drm/xe/xe_trace.c:8: -In file included from ../drivers/gpu/drm/xe/xe_trace.h:379: +fatal error: too many errors emitted, stopping now [-ferror-limit=] +20 errors generated. +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/xe/xe_trace_bo.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: @@ -27007 +30231,14 @@ -../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' +../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' @@ -27014,2 +30251,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 ../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: @@ -27018 +30255 @@ -../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -27025,2 +30262,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 ../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: @@ -27029 +30266 @@ -../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] +../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] @@ -27036,2 +30273,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 ../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: @@ -27040 +30277 @@ -../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -27047,2 +30284,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 ../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: @@ -27051 +30288 @@ -../drivers/gpu/drm/xe/xe_trace.h:205:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -27058,6 +30295,6 @@ -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, +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, @@ -27065,2 +30302,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) @@ -27068,2 +30305,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); \ @@ -27071,5 +30308,59 @@ -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/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/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.c:13: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:58: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/dev/dev.o] Error 1 +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27078,2 +30369,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/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, @@ -27080,0 +30372,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27087,2 +30381,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27091 +30385,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27098,2 +30395,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27102 +30399,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27109,2 +30409,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27113 +30413,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/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, \ + | ^ @@ -27120,2 +30423,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27124 +30427,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27131,2 +30437,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27135 +30441,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:63:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27142,2 +30451,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27146,2 +30455,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/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, @@ -27148,0 +30458,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27155,2 +30467,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27159 +30471,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27166,2 +30481,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27170 +30485,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27177,2 +30495,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27181 +30499,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/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, \ + | ^ @@ -27188,2 +30509,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27192 +30513,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27199,2 +30523,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27203 +30527,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:90:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27210,2 +30537,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27214,2 +30541,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/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, @@ -27216,0 +30544,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27223,2 +30553,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27227 +30557,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27234,2 +30567,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27238 +30571,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27245,2 +30581,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27249 +30585,4 @@ -../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/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, \ + | ^ @@ -27256,2 +30595,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27260 +30599,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27267,2 +30609,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27271 +30613,4 @@ -../drivers/net/ethernet/intel/ice/ice_trace.h:118:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27278,2 +30623,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/gpu/drm/msm/disp/dpu1/dpu_kms.c:40: +In file included from ../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:1012: @@ -27282,2 +30627,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/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, @@ -27284,0 +30630,3 @@ +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ @@ -27293,3 +30641,2 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/intel/ice/ice_main.o] Error 1 -make[7]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel/ice] Error 2 -make[6]: *** [../scripts/Makefile.build:485: drivers/net/ethernet/intel] Error 2 +make[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 @@ -27382,8 +30729,6 @@ -6 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/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, +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, @@ -27393,0 +30739,85 @@ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:2: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:24: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:49:41: note: expanded from macro '__BPF_DECLARE_TRACE' + 49 | DEFINE_INACTIVE_GUARD(preempt_notrace, bpf_trace_guard); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:3: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:18: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/en_rep.c:58: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:54: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h:14:1: error: use of undeclared identifier 'bpf_trace_guard' +../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' + 40 | DECLARE_EVENT_CLASS(name, \ + | ^ +../include/trace/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) + | ^ +../include/trace/bpf_probe.h:53:35: note: expanded from macro '__BPF_DECLARE_TRACE' + 53 | activate_guard(preempt_notrace, bpf_trace_guard)(); \ + | ^ +12 errors generated. +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/en_rep.o] Error 1 +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/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, + | ^ @@ -27400,2 +30830,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27404,4 +30834 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -27414,2 +30841,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27418,4 +30845 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -27428,2 +30852,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27432,4 +30856 @@ -../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, \ - | ^ +../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] @@ -27442,2 +30863,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27446,4 +30867 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'preempt_notrace' @@ -27456,2 +30874,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27460,4 +30878 @@ -../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, \ - | ^ +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: use of undeclared identifier 'trace_event_guard' @@ -27470,2 +30885,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27474,2 +30889,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 83 | TRACE_EVENT(mlx5_fs_del_ft, +../drivers/net/ethernet/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, @@ -27486,2 +30901,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27490 +30905 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -27500,2 +30915,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27504 +30919 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -27514,2 +30929,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27518 +30933 @@ -../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/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] @@ -27528,2 +30943,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27532 +30947 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -27542,2 +30957,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27546 +30961 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:83: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' @@ -27556,2 +30971,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27560,2 +30975,2 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 99 | TRACE_EVENT(mlx5_fs_add_fg, +../drivers/net/ethernet/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, @@ -27572,2 +30987,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27576 +30991 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -27586,2 +31001,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27590 +31005 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -27600,2 +31015,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27604 +31019 @@ -../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/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] @@ -27614,2 +31029,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27618 +31033 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -27628,2 +31043,2 @@ -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c:35: -In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:323: +In file included from ../drivers/net/ethernet/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: @@ -27632 +31047 @@ -../drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.h:99: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' @@ -27642,6 +31057,6 @@ -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, +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.c:5: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:114: +In file included from ../include/trace/define_trace.h:110: +In file included from ../include/trace/bpf_probe.h:128: +../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h:25:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + 25 | DECLARE_EVENT_CLASS(mlx5e_flower_template, @@ -27649,5 +31064,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/bpf_probe.h:61:2: note: expanded from macro 'DECLARE_EVENT_CLASS' + 61 | __BPF_DECLARE_TRACE(call, PARAMS(proto), PARAMS(args), 0) @@ -27655,2 +31067,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); \ @@ -27660,3 +31072,3 @@ -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/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/diag/en_tc_tracepoint.o] Error 1 +In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27665,2 +31077,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/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, @@ -27677,2 +31089,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27681 +31093 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -27691,2 +31103,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27695 +31107 @@ -../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/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -27705,2 +31117,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27709 +31121 @@ -../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/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] @@ -27719,2 +31131,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27723 +31135 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: use of undeclared identifier 'preempt_notrace' @@ -27733,2 +31145,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27737 +31149 @@ -../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/gvt/trace.h:42:1: error: use of undeclared identifier 'trace_event_guard' @@ -27747,2 +31159,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27751,2 +31163,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/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, @@ -27763,2 +31175,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27767 +31179 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -27777,2 +31189,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27781 +31193 @@ -../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/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -27791,2 +31203,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27795 +31207 @@ -../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/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] @@ -27805,2 +31217,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27809 +31221 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: use of undeclared identifier 'preempt_notrace' @@ -27819,2 +31231,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27823 +31235 @@ -../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/gvt/trace.h:72:1: error: use of undeclared identifier 'trace_event_guard' @@ -27833,2 +31245,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27837,2 +31249,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/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, @@ -27849,2 +31261,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27853 +31265 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -27863,2 +31275,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27867 +31279 @@ -../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/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -27877,2 +31289,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27881 +31293 @@ -../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/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] @@ -27891,2 +31303,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27895 +31307 @@ -../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: use of undeclared identifier 'preempt_notrace' @@ -27905,2 +31317,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27909 +31321 @@ -../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/gvt/trace.h:97:1: error: use of undeclared identifier 'trace_event_guard' @@ -27919,2 +31331,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/gvt/trace_points.c:33: +In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: @@ -27923,2 +31335,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/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, @@ -27937 +31349,2 @@ -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 +make[7]: *** Waiting for unfinished jobs.... @@ -28179,2 +31592,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28183,2 +31596,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/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, @@ -28195,2 +31608,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28199 +31612 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -28209,2 +31622,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28213 +31626 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -28223,2 +31636,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28227 +31640 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -28237,2 +31650,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28241 +31654 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'preempt_notrace' @@ -28251,2 +31664,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28255 +31668 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:14:1: error: use of undeclared identifier 'trace_event_guard' @@ -28265,2 +31678,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28269,2 +31682,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/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, @@ -28281,2 +31694,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28285 +31698 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -28295,2 +31708,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28299 +31712 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -28309,2 +31722,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28313 +31726 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -28323,2 +31736,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28327 +31740 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -28337,2 +31750,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28341 +31754 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:50:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -28351,2 +31764,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28355,2 +31768,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/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, @@ -28367,2 +31780,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28371 +31784 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -28381,2 +31794,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28385 +31798 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -28395,2 +31808,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28399 +31812 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -28409,2 +31822,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28413 +31826 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'preempt_notrace' @@ -28423,2 +31836,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28427 +31840 @@ -../drivers/gpu/drm/msm/disp/dpu1/dpu_trace.h:74:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:59:1: error: use of undeclared identifier 'trace_event_guard' @@ -28437,2 +31850,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/sf/devlink.c:12: +In file included from ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/sf_tracepoint.h:173: @@ -28441,2 +31854,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/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, @@ -28455,4 +31868,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/gpu/drm/i915/display/intel_display_trace.c:8: -In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: +make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.o] Error 1 +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: @@ -28461,2 +31873,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/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, @@ -28473,2 +31885,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28477 +31889 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28487,2 +31899,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28491 +31903 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28501,2 +31913,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28505 +31917 @@ -../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/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] @@ -28515,2 +31927,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28519 +31931 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' @@ -28529,2 +31941,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28533 +31945 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:24:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' @@ -28543,2 +31955,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28547,2 +31959,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/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, @@ -28559,2 +31971,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28563 +31975 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -28573,2 +31985,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28577 +31989 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -28587,2 +31999,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28591 +32003 @@ -../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/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] @@ -28601,2 +32013,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28605 +32017 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' @@ -28615,2 +32027,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28619 +32031 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:52:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' @@ -28629,2 +32041,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28633,2 +32045,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/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, @@ -28645,2 +32057,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28649 +32061 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -28659,2 +32071,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28663 +32075 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -28673,2 +32085,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28677 +32089 @@ -../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/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] @@ -28687,2 +32099,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28691 +32103 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'preempt_notrace' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' @@ -28701,2 +32113,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28705 +32117 @@ -../drivers/gpu/drm/i915/display/intel_display_trace.h:81:1: error: use of undeclared identifier 'trace_event_guard' +../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' @@ -28715,2 +32127,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/i915/i915_trace_points.c:13: +In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: @@ -28719,2 +32131,2 @@ -../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/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, @@ -28733,244 +32145 @@ -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/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)(); \ - | ^ -18 errors generated. -make[8]: *** [../scripts/Makefile.build:244: drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.o] Error 1 +make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 @@ -29201,280 +32370,2 @@ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 21 | TRACE_EVENT(i915_gem_object_create, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:21:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 38 | TRACE_EVENT(i915_gem_shrink, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:38:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 58 | TRACE_EVENT(i915_vma_bind, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:24: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:41: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:3: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'preempt_notrace' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:18: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:58:1: error: use of undeclared identifier 'trace_event_guard' -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:434:35: note: expanded from macro '_DECLARE_EVENT_CLASS' - 434 | activate_guard(preempt_notrace, trace_event_guard)(); \ - | ^ -In file included from ../drivers/gpu/drm/i915/i915_trace_points.c:13: -In file included from ../drivers/gpu/drm/i915/i915_trace.h:754: -In file included from ../include/trace/define_trace.h:108: -In file included from ../include/trace/trace_events.h:478: -../drivers/gpu/drm/i915/i915_trace.h:84:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 84 | TRACE_EVENT(i915_vma_unbind, - | ^ -../include/trace/trace_events.h:40:2: note: expanded from macro 'TRACE_EVENT' - 40 | DECLARE_EVENT_CLASS(name, \ - | ^ -../include/trace/trace_events.h:457:2: note: expanded from macro 'DECLARE_EVENT_CLASS' - 457 | _DECLARE_EVENT_CLASS(call, PARAMS(proto), PARAMS(args), \ - | ^ -../include/trace/trace_events.h:430:2: note: expanded from macro '_DECLARE_EVENT_CLASS' - 430 | DEFINE_INACTIVE_GUARD(preempt_notrace, trace_event_guard); \ - | ^ -fatal error: too many errors emitted, stopping now [-ferror-limit=] -20 errors generated. -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/i915_trace_points.o] Error 1 -make[7]: *** Waiting for unfinished jobs.... -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29483,2 +32374,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 42 | TRACE_EVENT(spt_alloc, +../drivers/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, @@ -29495,2 +32386,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29499 +32390 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42: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' @@ -29509,2 +32400,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29513 +32404 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42: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' @@ -29523,2 +32414,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29527 +32418 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -29537,2 +32428,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29541 +32432 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42: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' @@ -29551,2 +32442,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29555 +32446 @@ -../drivers/gpu/drm/i915/gvt/trace.h:42: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' @@ -29565,2 +32456,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29569,2 +32460,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 72 | TRACE_EVENT(spt_free, +../drivers/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, @@ -29581,2 +32472,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29585 +32476 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72: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' @@ -29595,2 +32486,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29599 +32490 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72: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' @@ -29609,2 +32500,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29613 +32504 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -29623,2 +32514,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29627 +32518 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72: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' @@ -29637,2 +32528,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29641 +32532 @@ -../drivers/gpu/drm/i915/gvt/trace.h:72: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' @@ -29651,2 +32542,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29655,2 +32546,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 97 | TRACE_EVENT(gma_index, +../drivers/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, @@ -29667,2 +32558,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29671 +32562 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97: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' @@ -29681,2 +32572,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29685 +32576 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97: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' @@ -29695,2 +32586,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29699 +32590 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97:1: error: call to undeclared function 'activate_guard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +../drivers/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] @@ -29709,2 +32600,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29713 +32604 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97: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' @@ -29723,2 +32614,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29727 +32618 @@ -../drivers/gpu/drm/i915/gvt/trace.h:97: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' @@ -29737,2 +32628,2 @@ -In file included from ../drivers/gpu/drm/i915/gvt/trace_points.c:33: -In file included from ../drivers/gpu/drm/i915/gvt/trace.h:383: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.c:8: +In file included from ../drivers/gpu/drm/i915/display/intel_display_trace.h:703: @@ -29741,2 +32632,2 @@ -../drivers/gpu/drm/i915/gvt/trace.h:115:1: error: call to undeclared function 'DEFINE_INACTIVE_GUARD'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] - 115 | TRACE_EVENT(gma_translate, +../drivers/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, @@ -29755 +32646,2 @@ -make[7]: *** [../scripts/Makefile.build:244: drivers/gpu/drm/i915/gvt/trace_points.o] Error 1 +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.qirX2swWga 2024-08-28 09:26:02.178068233 -0700 +++ /tmp/tmp.08Mzq9smV9 2024-08-28 09:26:02.232069394 -0700 @@ -1,3 +1,3 @@ - 6 ../arch/x86/entry/vsyscall/vsyscall_trace.h - 6 ../arch/x86/include/asm/msr-trace.h - 6 ../arch/x86/include/asm/trace/exceptions.h + 12 ../arch/x86/entry/vsyscall/vsyscall_trace.h + 12 ../arch/x86/include/asm/msr-trace.h + 12 ../arch/x86/include/asm/trace/exceptions.h @@ -9,2 +9,2 @@ - 6 ../drivers/base/trace.h - 12 ../drivers/block/null_blk/trace.h + 12 ../drivers/base/trace.h + 19 ../drivers/block/null_blk/trace.h @@ -14,2 +14,2 @@ - 6 ../drivers/dma-buf/sync_trace.h - 12 ../drivers/dma/fsl-edma-trace.h + 12 ../drivers/dma-buf/sync_trace.h + 19 ../drivers/dma/fsl-edma-trace.h @@ -18 +18 @@ - 18 ../drivers/gpu/drm/drm_trace.h + 19 ../drivers/gpu/drm/drm_trace.h @@ -22 +22 @@ - 6 ../drivers/gpu/drm/lima/lima_trace.h + 12 ../drivers/gpu/drm/lima/lima_trace.h @@ -27,2 +27,2 @@ - 18 ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h - 6 ../drivers/gpu/drm/tegra/trace.h + 19 ../drivers/gpu/drm/scheduler/gpu_scheduler_trace.h + 12 ../drivers/gpu/drm/tegra/trace.h @@ -31 +31 @@ - 6 ../drivers/gpu/drm/virtio/virtgpu_trace.h + 12 ../drivers/gpu/drm/virtio/virtgpu_trace.h @@ -33 +33 @@ - 12 ../drivers/gpu/drm/xe/xe_trace_guc.h + 19 ../drivers/gpu/drm/xe/xe_trace_guc.h @@ -35 +34,0 @@ - 12 ../drivers/input/keyboard/applespi_trace.h @@ -37,5 +36,5 @@ - 18 ../drivers/misc/mei/mei-trace.h - 12 ../drivers/net/dsa/mv88e6xxx/trace.h - 12 ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h - 6 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h - 18 ../drivers/net/ethernet/fungible/funeth/funeth_trace.h + 19 ../drivers/misc/mei/mei-trace.h + 19 ../drivers/net/dsa/mv88e6xxx/trace.h + 19 ../drivers/net/ethernet/freescale/dpaa2/dpaa2-eth-trace.h + 12 ../drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h + 19 ../drivers/net/ethernet/fungible/funeth/funeth_trace.h @@ -43,3 +42,3 @@ - 18 ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h - 18 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h - 6 ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h + 19 ../drivers/net/ethernet/hisilicon/hns3/hns3_trace.h + 19 ../drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_trace.h + 12 ../drivers/net/ethernet/intel/e1000e/e1000e_trace.h @@ -48,2 +47 @@ - 1 ../drivers/net/ethernet/intel/iavf/iavf_main.c - 18 ../drivers/net/ethernet/intel/iavf/iavf_trace.h + 19 ../drivers/net/ethernet/intel/iavf/iavf_trace.h @@ -52,3 +50,3 @@ - 6 ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h - 6 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h - 18 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h + 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/cmd_tracepoint.h + 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_rep_tracepoint.h + 19 ../drivers/net/ethernet/mellanox/mlx5/core/diag/en_tc_tracepoint.h @@ -56 +54 @@ - 6 ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h + 12 ../drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer_tracepoint.h @@ -59 +57 @@ - 6 ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h + 12 ../drivers/net/ethernet/mellanox/mlx5/core/sf/dev/diag/dev_tracepoint.h @@ -61 +59,4 @@ - 6 ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h + 12 ../drivers/net/ethernet/mellanox/mlx5/core/sf/diag/vhca_tracepoint.h + 19 ../drivers/net/fjes/fjes_trace.h + 19 ../drivers/net/hyperv/netvsc_trace.h + 19 ../drivers/net/thunderbolt/trace.h @@ -65 +66 @@ - 18 ../drivers/net/wireless/ath/ath5k/trace.h + 19 ../drivers/net/wireless/ath/ath5k/trace.h @@ -67 +68 @@ - 6 ../drivers/net/wireless/ath/trace.h + 12 ../drivers/net/wireless/ath/trace.h @@ -70,2 +71 @@ - 18 ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h - 1 ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac_tx.h + 19 ../drivers/net/wireless/broadcom/brcm80211/brcmsmac/brcms_trace_brcmsmac.h @@ -74,5 +74,5 @@ - 6 ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h - 12 ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h - 6 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h - 18 ../drivers/net/wireless/mediatek/mt76/trace.h - 12 ../drivers/net/wireless/mediatek/mt76/usb_trace.h + 12 ../drivers/net/wireless/mediatek/mt76/mt7615/mt7615_trace.h + 19 ../drivers/net/wireless/mediatek/mt76/mt76x02_trace.h + 12 ../drivers/net/wireless/mediatek/mt76/mt792x_trace.h + 19 ../drivers/net/wireless/mediatek/mt76/trace.h + 19 ../drivers/net/wireless/mediatek/mt76/usb_trace.h @@ -81,15 +81,3 @@ - 18 ../drivers/nvme/target/trace.h - 6 ../drivers/soc/qcom/pmic_pdcharger_ulog.h - 12 ../drivers/soc/qcom/trace-aoss.h - 12 ../drivers/soc/qcom/trace-rpmh.h - 19 ../drivers/usb/cdns3/cdns3-trace.h - 19 ../drivers/usb/cdns3/cdnsp-trace.h - 12 ../drivers/usb/chipidea/trace.h - 19 ../drivers/usb/dwc3/trace.h - 19 ../drivers/usb/gadget/udc/cdns2/cdns2-trace.h - 18 ../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 - 18 ../drivers/usb/typec/ucsi/trace.h + 19 ../drivers/nvme/target/trace.h + 12 ../drivers/soc/qcom/pmic_pdcharger_ulog.h + 19 ../drivers/soc/qcom/trace-aoss.h @@ -97 +85 @@ - 6 ../include/trace/events/avc.h + 12 ../include/trace/events/avc.h @@ -99 +87 @@ - 12 ../include/trace/events/bpf_test_run.h + 19 ../include/trace/events/bpf_test_run.h @@ -101 +89,2 @@ - 18 ../include/trace/events/cpuhp.h + 19 ../include/trace/events/compaction.h + 19 ../include/trace/events/cpuhp.h @@ -103,7 +92,5 @@ - 6 ../include/trace/events/dma_fence.h - 6 ../include/trace/events/fib6.h - 18 ../include/trace/events/filemap.h - 19 ../include/trace/events/firewire.h - 12 ../include/trace/events/firewire_ohci.h - 12 ../include/trace/events/gpio.h - 6 ../include/trace/events/gpu_mem.h + 12 ../include/trace/events/dma_fence.h + 12 ../include/trace/events/fib6.h + 19 ../include/trace/events/filemap.h + 19 ../include/trace/events/gpio.h + 12 ../include/trace/events/gpu_mem.h @@ -112,2 +99,2 @@ - 6 ../include/trace/events/icmp.h - 18 ../include/trace/events/initcall.h + 12 ../include/trace/events/icmp.h + 19 ../include/trace/events/initcall.h @@ -117 +104,2 @@ - 6 ../include/trace/events/iscsi.h + 12 ../include/trace/events/iscsi.h + 19 ../include/trace/events/kmem.h @@ -119,3 +107,3 @@ - 18 ../include/trace/events/maple_tree.h - 12 ../include/trace/events/mctp.h - 6 ../include/trace/events/mdio.h + 19 ../include/trace/events/maple_tree.h + 19 ../include/trace/events/mctp.h + 12 ../include/trace/events/mdio.h @@ -122,0 +111 @@ + 19 ../include/trace/events/mmap_lock.h @@ -124,5 +113,3 @@ - 12 ../include/trace/events/nbd.h - 1 ../include/trace/events/net.h - 6 ../include/trace/events/netlink.h - 6 ../include/trace/events/nmi.h - 6 ../include/trace/events/notifier.h + 19 ../include/trace/events/nbd.h + 12 ../include/trace/events/netlink.h + 12 ../include/trace/events/nmi.h @@ -130,3 +117,4 @@ - 12 ../include/trace/events/pagemap.h - 6 ../include/trace/events/pwm.h - 18 ../include/trace/events/regulator.h + 19 ../include/trace/events/pagemap.h + 19 ../include/trace/events/percpu.h + 12 ../include/trace/events/pwm.h + 19 ../include/trace/events/regulator.h @@ -134,2 +122,2 @@ - 12 ../include/trace/events/signal.h - 18 ../include/trace/events/skb.h + 19 ../include/trace/events/signal.h + 19 ../include/trace/events/skb.h @@ -137 +125 @@ - 12 ../include/trace/events/task.h + 19 ../include/trace/events/task.h @@ -142 +129,0 @@ - 8 ../kernel/signal.c @@ -145 +132 @@ - 6 ../samples/ftrace/sample-trace-array.h + 12 ../samples/ftrace/sample-trace-array.h @@ -147 +134 @@ - 12 ../sound/core/pcm_param_trace.h + 19 ../sound/core/pcm_param_trace.h @@ -149,2 +136,2 @@ - 6 ../sound/firewire/amdtp-stream-trace.h - 12 ../sound/firewire/motu/amdtp-motu-trace.h + 12 ../sound/firewire/amdtp-stream-trace.h + 19 ../sound/firewire/motu/amdtp-motu-trace.h @@ -152 +139,2 @@ - 18 ../sound/pci/hda/hda_controller_trace.h + 19 ../sound/pci/hda/hda_controller_trace.h + 12 ../sound/pci/hda/hda_intel_trace.h