Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ========================= error with WIP =========================
- In file included from kernel/trace/rv/monitors/wip/wip.c:8:
- kernel/trace/rv/monitors/wip/wip.c: In function ‘start_wip’:
- ./include/rv/instrumentation.h:15:3: error: implicit declaration of function ‘check_trace_callback_type_preempt_disable’; did you mean ‘check_trace_callback_type_irq_disable’? [-Werror=implicit-function-declaration]
- check_trace_callback_type_##tp(rv_handler); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:61:2: note: in expansion of macro ‘rv_attach_trace_probe’
- rv_attach_trace_probe("wip", preempt_disable, handle_preempt_disable);
- ^~~~~~~~~~~~~~~~~~~~~
- In file included from ./include/linux/printk.h:10,
- from ./include/linux/kernel.h:29,
- from ./include/linux/interrupt.h:6,
- from ./include/linux/trace_recursion.h:5,
- from ./include/linux/ftrace.h:10,
- from kernel/trace/rv/monitors/wip/wip.c:2:
- ./include/rv/instrumentation.h:16:13: error: implicit declaration of function ‘register_trace_preempt_disable’; did you mean ‘register_trace_prio_irq_disable’? [-Werror=implicit-function-declaration]
- WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
- ^~~~~~~~~~~~~~~
- ./include/linux/once_lite.h:15:27: note: in definition of macro ‘DO_ONCE_LITE_IF’
- bool __ret_do_once = !!(condition); \
- ^~~~~~~~~
- ./include/rv/instrumentation.h:16:3: note: in expansion of macro ‘WARN_ONCE’
- WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
- ^~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:61:2: note: in expansion of macro ‘rv_attach_trace_probe’
- rv_attach_trace_probe("wip", preempt_disable, handle_preempt_disable);
- ^~~~~~~~~~~~~~~~~~~~~
- In file included from kernel/trace/rv/monitors/wip/wip.c:8:
- ./include/rv/instrumentation.h:15:3: error: implicit declaration of function ‘check_trace_callback_type_preempt_enable’; did you mean ‘check_trace_callback_type_irq_enable’? [-Werror=implicit-function-declaration]
- check_trace_callback_type_##tp(rv_handler); \
- ^~~~~~~~~~~~~~~~~~~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:62:2: note: in expansion of macro ‘rv_attach_trace_probe’
- rv_attach_trace_probe("wip", preempt_enable, handle_preempt_enable);
- ^~~~~~~~~~~~~~~~~~~~~
- In file included from ./include/linux/printk.h:10,
- from ./include/linux/kernel.h:29,
- from ./include/linux/interrupt.h:6,
- from ./include/linux/trace_recursion.h:5,
- from ./include/linux/ftrace.h:10,
- from kernel/trace/rv/monitors/wip/wip.c:2:
- ./include/rv/instrumentation.h:16:13: error: implicit declaration of function ‘register_trace_preempt_enable’; did you mean ‘register_trace_prio_irq_enable’? [-Werror=implicit-function-declaration]
- WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
- ^~~~~~~~~~~~~~~
- ./include/linux/once_lite.h:15:27: note: in definition of macro ‘DO_ONCE_LITE_IF’
- bool __ret_do_once = !!(condition); \
- ^~~~~~~~~
- ./include/rv/instrumentation.h:16:3: note: in expansion of macro ‘WARN_ONCE’
- WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
- ^~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:62:2: note: in expansion of macro ‘rv_attach_trace_probe’
- rv_attach_trace_probe("wip", preempt_enable, handle_preempt_enable);
- ^~~~~~~~~~~~~~~~~~~~~
- In file included from kernel/trace/rv/monitors/wip/wip.c:8:
- kernel/trace/rv/monitors/wip/wip.c: In function ‘stop_wip’:
- ./include/rv/instrumentation.h:22:3: error: implicit declaration of function ‘unregister_trace_preempt_disable’; did you mean ‘unregister_trace_irq_disable’? [-Werror=implicit-function-declaration]
- unregister_trace_##tp(rv_handler, NULL); \
- ^~~~~~~~~~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:72:2: note: in expansion of macro ‘rv_detach_trace_probe’
- rv_detach_trace_probe("wip", preempt_disable, handle_preempt_disable);
- ^~~~~~~~~~~~~~~~~~~~~
- ./include/rv/instrumentation.h:22:3: error: implicit declaration of function ‘unregister_trace_preempt_enable’; did you mean ‘unregister_trace_irq_enable’? [-Werror=implicit-function-declaration]
- unregister_trace_##tp(rv_handler, NULL); \
- ^~~~~~~~~~~~~~~~~
- kernel/trace/rv/monitors/wip/wip.c:73:2: note: in expansion of macro ‘rv_detach_trace_probe’
- rv_detach_trace_probe("wip", preempt_enable, handle_preempt_enable);
- ^~~~~~~~~~~~~~~~~~~~~
- cc1: some warnings being treated as errors
- make[3]: *** [scripts/Makefile.build:249: kernel/trace/rv/monitors/wip/wip.o] Error 1
- make[2]: *** [scripts/Makefile.build:466: kernel/trace/rv] Error 2
- make[1]: *** [scripts/Makefile.build:466: kernel/trace] Error 2
- make: *** [Makefile:1843: kernel] Error 2
- ================== error with wtd =======================
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_close':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:35: undefined reference to `__tracepoint_watchdog_close'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_nowayout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:51: undefined reference to `__tracepoint_watchdog_nowayout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_open':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:31: undefined reference to `__tracepoint_watchdog_open'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_ping':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:47: undefined reference to `__tracepoint_watchdog_ping'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_timeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:86: undefined reference to `__tracepoint_watchdog_set_timeout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_start':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:39: undefined reference to `__tracepoint_watchdog_start'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_stop':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:43: undefined reference to `__tracepoint_watchdog_stop'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_keep_alive':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:94: undefined reference to `__tracepoint_watchdog_set_keep_alive'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_keep_alive':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:55: undefined reference to `__tracepoint_watchdog_keep_alive'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_pretimeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:90: undefined reference to `__tracepoint_watchdog_set_pretimeout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_pretimeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:59: undefined reference to `__tracepoint_watchdog_pretimeout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_close':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:35: undefined reference to `__tracepoint_watchdog_close'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_nowayout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:51: undefined reference to `__tracepoint_watchdog_nowayout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_open':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:31: undefined reference to `__tracepoint_watchdog_open'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_ping':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:47: undefined reference to `__tracepoint_watchdog_ping'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_timeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:86: undefined reference to `__tracepoint_watchdog_set_timeout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_start':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:39: undefined reference to `__tracepoint_watchdog_start'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_stop':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:43: undefined reference to `__tracepoint_watchdog_stop'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_keep_alive':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:94: undefined reference to `__tracepoint_watchdog_set_keep_alive'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_keep_alive':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:55: undefined reference to `__tracepoint_watchdog_keep_alive'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_pretimeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:90: undefined reference to `__tracepoint_watchdog_set_pretimeout'
- kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_pretimeout':
- /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:59: undefined reference to `__tracepoint_watchdog_pretimeout'
- BTF .btf.vmlinux.bin.o
- pahole: .tmp_vmlinux.btf: No such file or directory
- LD .tmp_vmlinux.kallsyms1
- .btf.vmlinux.bin.o: file not recognized: File format not recognized
- make: *** [Makefile:1164: vmlinux] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement