Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2022
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.16 KB | None | 0 0
  1. ========================= error with WIP =========================
  2. In file included from kernel/trace/rv/monitors/wip/wip.c:8:
  3. kernel/trace/rv/monitors/wip/wip.c: In function ‘start_wip’:
  4. ./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]
  5. check_trace_callback_type_##tp(rv_handler); \
  6. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  7. kernel/trace/rv/monitors/wip/wip.c:61:2: note: in expansion of macro ‘rv_attach_trace_probe’
  8. rv_attach_trace_probe("wip", preempt_disable, handle_preempt_disable);
  9. ^~~~~~~~~~~~~~~~~~~~~
  10. In file included from ./include/linux/printk.h:10,
  11. from ./include/linux/kernel.h:29,
  12. from ./include/linux/interrupt.h:6,
  13. from ./include/linux/trace_recursion.h:5,
  14. from ./include/linux/ftrace.h:10,
  15. from kernel/trace/rv/monitors/wip/wip.c:2:
  16. ./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]
  17. WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
  18. ^~~~~~~~~~~~~~~
  19. ./include/linux/once_lite.h:15:27: note: in definition of macro ‘DO_ONCE_LITE_IF’
  20. bool __ret_do_once = !!(condition); \
  21. ^~~~~~~~~
  22. ./include/rv/instrumentation.h:16:3: note: in expansion of macro ‘WARN_ONCE’
  23. WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
  24. ^~~~~~~~~
  25. kernel/trace/rv/monitors/wip/wip.c:61:2: note: in expansion of macro ‘rv_attach_trace_probe’
  26. rv_attach_trace_probe("wip", preempt_disable, handle_preempt_disable);
  27. ^~~~~~~~~~~~~~~~~~~~~
  28. In file included from kernel/trace/rv/monitors/wip/wip.c:8:
  29. ./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]
  30. check_trace_callback_type_##tp(rv_handler); \
  31. ^~~~~~~~~~~~~~~~~~~~~~~~~~
  32. kernel/trace/rv/monitors/wip/wip.c:62:2: note: in expansion of macro ‘rv_attach_trace_probe’
  33. rv_attach_trace_probe("wip", preempt_enable, handle_preempt_enable);
  34. ^~~~~~~~~~~~~~~~~~~~~
  35. In file included from ./include/linux/printk.h:10,
  36. from ./include/linux/kernel.h:29,
  37. from ./include/linux/interrupt.h:6,
  38. from ./include/linux/trace_recursion.h:5,
  39. from ./include/linux/ftrace.h:10,
  40. from kernel/trace/rv/monitors/wip/wip.c:2:
  41. ./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]
  42. WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
  43. ^~~~~~~~~~~~~~~
  44. ./include/linux/once_lite.h:15:27: note: in definition of macro ‘DO_ONCE_LITE_IF’
  45. bool __ret_do_once = !!(condition); \
  46. ^~~~~~~~~
  47. ./include/rv/instrumentation.h:16:3: note: in expansion of macro ‘WARN_ONCE’
  48. WARN_ONCE(register_trace_##tp(rv_handler, NULL), \
  49. ^~~~~~~~~
  50. kernel/trace/rv/monitors/wip/wip.c:62:2: note: in expansion of macro ‘rv_attach_trace_probe’
  51. rv_attach_trace_probe("wip", preempt_enable, handle_preempt_enable);
  52. ^~~~~~~~~~~~~~~~~~~~~
  53. In file included from kernel/trace/rv/monitors/wip/wip.c:8:
  54. kernel/trace/rv/monitors/wip/wip.c: In function ‘stop_wip’:
  55. ./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]
  56. unregister_trace_##tp(rv_handler, NULL); \
  57. ^~~~~~~~~~~~~~~~~
  58. kernel/trace/rv/monitors/wip/wip.c:72:2: note: in expansion of macro ‘rv_detach_trace_probe’
  59. rv_detach_trace_probe("wip", preempt_disable, handle_preempt_disable);
  60. ^~~~~~~~~~~~~~~~~~~~~
  61. ./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]
  62. unregister_trace_##tp(rv_handler, NULL); \
  63. ^~~~~~~~~~~~~~~~~
  64. kernel/trace/rv/monitors/wip/wip.c:73:2: note: in expansion of macro ‘rv_detach_trace_probe’
  65. rv_detach_trace_probe("wip", preempt_enable, handle_preempt_enable);
  66. ^~~~~~~~~~~~~~~~~~~~~
  67. cc1: some warnings being treated as errors
  68. make[3]: *** [scripts/Makefile.build:249: kernel/trace/rv/monitors/wip/wip.o] Error 1
  69. make[2]: *** [scripts/Makefile.build:466: kernel/trace/rv] Error 2
  70. make[1]: *** [scripts/Makefile.build:466: kernel/trace] Error 2
  71. make: *** [Makefile:1843: kernel] Error 2
  72.  
  73.  
  74.  
  75.  
  76. ================== error with wtd =======================
  77. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_close':
  78. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:35: undefined reference to `__tracepoint_watchdog_close'
  79. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_nowayout':
  80. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:51: undefined reference to `__tracepoint_watchdog_nowayout'
  81. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_open':
  82. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:31: undefined reference to `__tracepoint_watchdog_open'
  83. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_ping':
  84. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:47: undefined reference to `__tracepoint_watchdog_ping'
  85. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_timeout':
  86. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:86: undefined reference to `__tracepoint_watchdog_set_timeout'
  87. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_start':
  88. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:39: undefined reference to `__tracepoint_watchdog_start'
  89. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_stop':
  90. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:43: undefined reference to `__tracepoint_watchdog_stop'
  91. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_keep_alive':
  92. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:94: undefined reference to `__tracepoint_watchdog_set_keep_alive'
  93. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_keep_alive':
  94. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:55: undefined reference to `__tracepoint_watchdog_keep_alive'
  95. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_set_pretimeout':
  96. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:90: undefined reference to `__tracepoint_watchdog_set_pretimeout'
  97. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `unregister_trace_watchdog_pretimeout':
  98. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:59: undefined reference to `__tracepoint_watchdog_pretimeout'
  99. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_close':
  100. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:35: undefined reference to `__tracepoint_watchdog_close'
  101. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_nowayout':
  102. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:51: undefined reference to `__tracepoint_watchdog_nowayout'
  103. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_open':
  104. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:31: undefined reference to `__tracepoint_watchdog_open'
  105. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_ping':
  106. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:47: undefined reference to `__tracepoint_watchdog_ping'
  107. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_timeout':
  108. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:86: undefined reference to `__tracepoint_watchdog_set_timeout'
  109. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_start':
  110. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:39: undefined reference to `__tracepoint_watchdog_start'
  111. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_stop':
  112. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:43: undefined reference to `__tracepoint_watchdog_stop'
  113. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_keep_alive':
  114. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:94: undefined reference to `__tracepoint_watchdog_set_keep_alive'
  115. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_keep_alive':
  116. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:55: undefined reference to `__tracepoint_watchdog_keep_alive'
  117. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_set_pretimeout':
  118. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:90: undefined reference to `__tracepoint_watchdog_set_pretimeout'
  119. kernel/trace/rv/monitors/safe_wtd/safe_wtd.o: In function `register_trace_watchdog_pretimeout':
  120. /home/songliubraving/local/kernel/linux-git/./include/trace/events/watchdog.h:59: undefined reference to `__tracepoint_watchdog_pretimeout'
  121. BTF .btf.vmlinux.bin.o
  122. pahole: .tmp_vmlinux.btf: No such file or directory
  123. LD .tmp_vmlinux.kallsyms1
  124. .btf.vmlinux.bin.o: file not recognized: File format not recognized
  125. make: *** [Makefile:1164: vmlinux] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement