Advertisement
ebruakagunduz

max_ptes_show

Jun 29th, 2016
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 263.04 KB | None | 0 0
  1. CHK include/config/kernel.release
  2. UPD include/config/kernel.release
  3. CHK include/generated/uapi/linux/version.h
  4. CHK include/generated/utsrelease.h
  5. UPD include/generated/utsrelease.h
  6. CHK include/generated/bounds.h
  7. CHK include/generated/timeconst.h
  8. CHK include/generated/asm-offsets.h
  9. CALL scripts/checksyscalls.sh
  10. CHK include/generated/compile.h
  11. CC init/version.o
  12. LD init/built-in.o
  13. CC kernel/sys.o
  14. CC kernel/trace/trace.o
  15. LD kernel/trace/built-in.o
  16. CHK kernel/config_data.h
  17. LD kernel/built-in.o
  18. CC mm/swap.o
  19. In file included from mm/swap.c:36:0:
  20. include/linux/page_idle.h: In function ‘page_is_young’:
  21. include/linux/page_idle.h:139:0: error: unterminated argument list invoking macro "if"
  22. #endif /* _LINUX_MM_PAGE_IDLE_H */
  23. ^
  24. In file included from mm/swap.c:38:0:
  25. mm/internal.h:38:1: error: expected ‘(’ before ‘void’
  26. void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
  27. ^
  28. mm/internal.h:41:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  29. void unmap_page_range(struct mmu_gather *tlb,
  30. ^
  31. mm/internal.h:53:29: error: invalid storage class for function ‘ra_submit’
  32. static inline unsigned long ra_submit(struct file_ra_state *ra,
  33. ^
  34. mm/internal.h:64:20: error: invalid storage class for function ‘set_page_refcounted’
  35. static inline void set_page_refcounted(struct page *page)
  36. ^
  37. mm/internal.h:131:1: error: invalid storage class for function ‘__find_buddy_index’
  38. __find_buddy_index(unsigned long page_idx, unsigned int order)
  39. ^
  40. mm/internal.h:139:28: error: invalid storage class for function ‘pageblock_pfn_to_page’
  41. static inline struct page *pageblock_pfn_to_page(unsigned long start_pfn,
  42. ^
  43. mm/internal.h:208:28: error: invalid storage class for function ‘page_order’
  44. static inline unsigned int page_order(struct page *page)
  45. ^
  46. mm/internal.h:227:20: error: invalid storage class for function ‘is_cow_mapping’
  47. static inline bool is_cow_mapping(vm_flags_t flags)
  48. ^
  49. mm/internal.h:239:20: error: invalid storage class for function ‘is_exec_mapping’
  50. static inline bool is_exec_mapping(vm_flags_t flags)
  51. ^
  52. mm/internal.h:250:20: error: invalid storage class for function ‘is_stack_mapping’
  53. static inline bool is_stack_mapping(vm_flags_t flags)
  54. ^
  55. mm/internal.h:258:20: error: invalid storage class for function ‘is_data_mapping’
  56. static inline bool is_data_mapping(vm_flags_t flags)
  57. ^
  58. mm/internal.h:272:20: error: invalid storage class for function ‘munlock_vma_pages_all’
  59. static inline void munlock_vma_pages_all(struct vm_area_struct *vma)
  60. ^
  61. mm/internal.h:299:20: error: invalid storage class for function ‘mlock_migrate_page’
  62. static inline void mlock_migrate_page(struct page *newpage, struct page *page)
  63. ^
  64. mm/internal.h:317:1: error: invalid storage class for function ‘__vma_address’
  65. __vma_address(struct page *page, struct vm_area_struct *vma)
  66. ^
  67. mm/internal.h:324:1: error: invalid storage class for function ‘vma_address’
  68. vma_address(struct page *page, struct vm_area_struct *vma)
  69. ^
  70. mm/internal.h:346:28: error: invalid storage class for function ‘mem_map_offset’
  71. static inline struct page *mem_map_offset(struct page *base, int offset)
  72. ^
  73. mm/internal.h:357:28: error: invalid storage class for function ‘mem_map_next’
  74. static inline struct page *mem_map_next(struct page *iter,
  75. ^
  76. mm/internal.h:406:20: error: invalid storage class for function ‘mminit_dprintk’
  77. static inline void mminit_dprintk(enum mminit_level level,
  78. ^
  79. mm/internal.h:411:20: error: invalid storage class for function ‘mminit_verify_pageflags_layout’
  80. static inline void mminit_verify_pageflags_layout(void)
  81. ^
  82. mm/internal.h:415:20: error: invalid storage class for function ‘mminit_verify_zonelist’
  83. static inline void mminit_verify_zonelist(void)
  84. ^
  85. mm/internal.h:425:20: error: invalid storage class for function ‘mminit_validate_memmodel_limits’
  86. static inline void mminit_validate_memmodel_limits(unsigned long *start_pfn,
  87. ^
  88. In file included from include/trace/events/pagemap.h:7:0,
  89. from mm/swap.c:41:
  90. include/linux/tracepoint.h:57:20: error: invalid storage class for function ‘trace_module_has_bad_taint’
  91. static inline bool trace_module_has_bad_taint(struct module *mod)
  92. ^
  93. include/linux/tracepoint.h:62:5: error: invalid storage class for function ‘register_tracepoint_module_notifier’
  94. int register_tracepoint_module_notifier(struct notifier_block *nb)
  95. ^
  96. include/linux/tracepoint.h:67:5: error: invalid storage class for function ‘unregister_tracepoint_module_notifier’
  97. int unregister_tracepoint_module_notifier(struct notifier_block *nb)
  98. ^
  99. include/linux/tracepoint.h:78:20: error: invalid storage class for function ‘tracepoint_synchronize_unregister’
  100. static inline void tracepoint_synchronize_unregister(void)
  101. ^
  102. include/linux/tracepoint.h:183:21: error: invalid storage class for function ‘trace_mm_lru_insertion’
  103. static inline void trace_##name(proto) \
  104. ^
  105. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  106. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  107. ^
  108. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  109. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  110. ^
  111. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  112. TRACE_EVENT(mm_lru_insertion,
  113. ^
  114. include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion’:
  115. include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
  116. struct page *page,
  117. ^
  118. include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
  119. static inline void trace_##name(proto) \
  120. ^
  121. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  122. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  123. ^
  124. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  125. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  126. ^
  127. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  128. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  129. ^
  130. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  131. TRACE_EVENT(mm_lru_insertion,
  132. ^
  133. include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
  134. TP_PROTO(
  135. ^
  136. include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
  137. struct page *page,
  138. ^
  139. include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
  140. static inline void trace_##name(proto) \
  141. ^
  142. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  143. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  144. ^
  145. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  146. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  147. ^
  148. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  149. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  150. ^
  151. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  152. TRACE_EVENT(mm_lru_insertion,
  153. ^
  154. include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
  155. TP_PROTO(
  156. ^
  157. In file included from include/asm-generic/bug.h:4:0,
  158. from ./arch/x86/include/asm/bug.h:35,
  159. from include/linux/bug.h:4,
  160. from include/linux/mmdebug.h:4,
  161. from include/linux/mm.h:8,
  162. from mm/swap.c:16:
  163. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  164. static struct ftrace_branch_data \
  165. ^
  166. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  167. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  168. ^
  169. include/linux/tracepoint.h:185:3: note: in expansion of macro ‘if’
  170. if (static_key_false(&__tracepoint_##name.key)) \
  171. ^
  172. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  173. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  174. ^
  175. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  176. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  177. ^
  178. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  179. TRACE_EVENT(mm_lru_insertion,
  180. ^
  181. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  182. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  183. ^
  184. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  185. ______r = !!(cond); \
  186. ^
  187. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  188. if (!(cond)) \
  189. ^
  190. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  191. __DO_TRACE(&__tracepoint_##name, \
  192. ^
  193. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  194. TP_CONDITION(cond),,); \
  195. ^
  196. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  197. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  198. ^
  199. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  200. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  201. ^
  202. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  203. cpu_online(raw_smp_processor_id()), \
  204. ^
  205. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  206. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  207. ^
  208. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  209. TRACE_EVENT(mm_lru_insertion,
  210. ^
  211. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  212. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  213. ^
  214. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  215. ______r = !!(cond); \
  216. ^
  217. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  218. if (!(cond)) \
  219. ^
  220. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  221. __DO_TRACE(&__tracepoint_##name, \
  222. ^
  223. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  224. TP_CONDITION(cond),,); \
  225. ^
  226. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  227. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  228. ^
  229. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  230. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  231. ^
  232. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  233. cpu_online(raw_smp_processor_id()), \
  234. ^
  235. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  236. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  237. ^
  238. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  239. TRACE_EVENT(mm_lru_insertion,
  240. ^
  241. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  242. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  243. ^
  244. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  245. ______r = !!(cond); \
  246. ^
  247. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  248. if (!(cond)) \
  249. ^
  250. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  251. __DO_TRACE(&__tracepoint_##name, \
  252. ^
  253. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  254. TP_CONDITION(cond),,); \
  255. ^
  256. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  257. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  258. ^
  259. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  260. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  261. ^
  262. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  263. cpu_online(raw_smp_processor_id()), \
  264. ^
  265. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  266. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  267. ^
  268. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  269. TRACE_EVENT(mm_lru_insertion,
  270. ^
  271. In file included from include/asm-generic/bug.h:4:0,
  272. from ./arch/x86/include/asm/bug.h:35,
  273. from include/linux/bug.h:4,
  274. from include/linux/mmdebug.h:4,
  275. from include/linux/mm.h:8,
  276. from mm/swap.c:16:
  277. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  278. union { typeof(x) __val; char __c[1]; } __u; \
  279. ^
  280. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  281. #define READ_ONCE(x) __READ_ONCE(x, 1)
  282. ^
  283. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  284. typeof(p) _________p1 = READ_ONCE(p); \
  285. ^
  286. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  287. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  288. ^
  289. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  290. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  291. ^
  292. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  293. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  294. ^
  295. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  296. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  297. ^
  298. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  299. __DO_TRACE(&__tracepoint_##name, \
  300. ^
  301. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  302. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  303. ^
  304. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  305. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  306. ^
  307. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  308. TRACE_EVENT(mm_lru_insertion,
  309. ^
  310. In file included from include/asm-generic/bug.h:4:0,
  311. from ./arch/x86/include/asm/bug.h:35,
  312. from include/linux/bug.h:4,
  313. from include/linux/mmdebug.h:4,
  314. from include/linux/mm.h:8,
  315. from mm/swap.c:16:
  316. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  317. static struct ftrace_branch_data \
  318. ^
  319. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  320. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  321. ^
  322. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  323. if (check) \
  324. ^
  325. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  326. #define READ_ONCE(x) __READ_ONCE(x, 1)
  327. ^
  328. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  329. typeof(p) _________p1 = READ_ONCE(p); \
  330. ^
  331. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  332. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  333. ^
  334. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  335. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  336. ^
  337. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  338. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  339. ^
  340. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  341. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  342. ^
  343. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  344. __DO_TRACE(&__tracepoint_##name, \
  345. ^
  346. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  347. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  348. ^
  349. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  350. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  351. ^
  352. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  353. TRACE_EVENT(mm_lru_insertion,
  354. ^
  355. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  356. static struct ftrace_branch_data \
  357. ^
  358. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  359. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  360. ^
  361. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  362. if (check) \
  363. ^
  364. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  365. #define READ_ONCE(x) __READ_ONCE(x, 1)
  366. ^
  367. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  368. typeof(p) _________p1 = READ_ONCE(p); \
  369. ^
  370. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  371. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  372. ^
  373. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  374. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  375. ^
  376. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  377. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  378. ^
  379. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  380. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  381. ^
  382. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  383. __DO_TRACE(&__tracepoint_##name, \
  384. ^
  385. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  386. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  387. ^
  388. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  389. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  390. ^
  391. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  392. TRACE_EVENT(mm_lru_insertion,
  393. ^
  394. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  395. static struct ftrace_branch_data \
  396. ^
  397. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  398. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  399. ^
  400. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  401. if (check) \
  402. ^
  403. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  404. #define READ_ONCE(x) __READ_ONCE(x, 1)
  405. ^
  406. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  407. typeof(p) _________p1 = READ_ONCE(p); \
  408. ^
  409. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  410. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  411. ^
  412. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  413. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  414. ^
  415. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  416. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  417. ^
  418. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  419. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  420. ^
  421. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  422. __DO_TRACE(&__tracepoint_##name, \
  423. ^
  424. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  425. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  426. ^
  427. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  428. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  429. ^
  430. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  431. TRACE_EVENT(mm_lru_insertion,
  432. ^
  433. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  434. static struct ftrace_branch_data \
  435. ^
  436. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  437. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  438. ^
  439. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  440. if (check) \
  441. ^
  442. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  443. #define READ_ONCE(x) __READ_ONCE(x, 1)
  444. ^
  445. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  446. typeof(p) _________p1 = READ_ONCE(p); \
  447. ^
  448. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  449. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  450. ^
  451. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  452. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  453. ^
  454. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  455. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  456. ^
  457. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  458. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  459. ^
  460. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  461. __DO_TRACE(&__tracepoint_##name, \
  462. ^
  463. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  464. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  465. ^
  466. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  467. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  468. ^
  469. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  470. TRACE_EVENT(mm_lru_insertion,
  471. ^
  472. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  473. static struct ftrace_branch_data \
  474. ^
  475. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  476. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  477. ^
  478. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  479. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  480. ^
  481. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  482. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  483. ^
  484. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  485. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  486. ^
  487. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  488. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  489. ^
  490. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  491. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  492. ^
  493. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  494. __DO_TRACE(&__tracepoint_##name, \
  495. ^
  496. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  497. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  498. ^
  499. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  500. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  501. ^
  502. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  503. TRACE_EVENT(mm_lru_insertion,
  504. ^
  505. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  506. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  507. ^
  508. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  509. ______r = !!(cond); \
  510. ^
  511. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  512. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  513. ^
  514. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  515. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  516. ^
  517. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  518. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  519. ^
  520. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  521. cpu_online(raw_smp_processor_id()), \
  522. ^
  523. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  524. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  525. ^
  526. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  527. TRACE_EVENT(mm_lru_insertion,
  528. ^
  529. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  530. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  531. ^
  532. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  533. ______r = !!(cond); \
  534. ^
  535. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  536. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  537. ^
  538. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  539. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  540. ^
  541. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  542. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  543. ^
  544. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  545. cpu_online(raw_smp_processor_id()), \
  546. ^
  547. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  548. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  549. ^
  550. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  551. TRACE_EVENT(mm_lru_insertion,
  552. ^
  553. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  554. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  555. ^
  556. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  557. ______r = !!(cond); \
  558. ^
  559. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  560. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  561. ^
  562. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  563. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  564. ^
  565. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  566. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  567. ^
  568. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  569. cpu_online(raw_smp_processor_id()), \
  570. ^
  571. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  572. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  573. ^
  574. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  575. TRACE_EVENT(mm_lru_insertion,
  576. ^
  577. In file included from include/asm-generic/bug.h:4:0,
  578. from ./arch/x86/include/asm/bug.h:35,
  579. from include/linux/bug.h:4,
  580. from include/linux/mmdebug.h:4,
  581. from include/linux/mm.h:8,
  582. from mm/swap.c:16:
  583. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  584. union { typeof(x) __val; char __c[1]; } __u; \
  585. ^
  586. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  587. #define READ_ONCE(x) __READ_ONCE(x, 1)
  588. ^
  589. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  590. typeof(p) _________p1 = READ_ONCE(p); \
  591. ^
  592. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  593. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  594. ^
  595. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  596. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  597. ^
  598. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  599. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  600. ^
  601. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  602. rcu_dereference_sched(__tracepoint_##name.funcs);\
  603. ^
  604. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  605. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  606. ^
  607. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  608. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  609. ^
  610. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  611. TRACE_EVENT(mm_lru_insertion,
  612. ^
  613. In file included from include/asm-generic/bug.h:4:0,
  614. from ./arch/x86/include/asm/bug.h:35,
  615. from include/linux/bug.h:4,
  616. from include/linux/mmdebug.h:4,
  617. from include/linux/mm.h:8,
  618. from mm/swap.c:16:
  619. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  620. static struct ftrace_branch_data \
  621. ^
  622. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  623. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  624. ^
  625. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  626. if (check) \
  627. ^
  628. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  629. #define READ_ONCE(x) __READ_ONCE(x, 1)
  630. ^
  631. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  632. typeof(p) _________p1 = READ_ONCE(p); \
  633. ^
  634. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  635. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  636. ^
  637. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  638. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  639. ^
  640. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  641. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  642. ^
  643. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  644. rcu_dereference_sched(__tracepoint_##name.funcs);\
  645. ^
  646. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  647. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  648. ^
  649. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  650. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  651. ^
  652. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  653. TRACE_EVENT(mm_lru_insertion,
  654. ^
  655. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  656. static struct ftrace_branch_data \
  657. ^
  658. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  659. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  660. ^
  661. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  662. if (check) \
  663. ^
  664. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  665. #define READ_ONCE(x) __READ_ONCE(x, 1)
  666. ^
  667. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  668. typeof(p) _________p1 = READ_ONCE(p); \
  669. ^
  670. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  671. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  672. ^
  673. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  674. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  675. ^
  676. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  677. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  678. ^
  679. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  680. rcu_dereference_sched(__tracepoint_##name.funcs);\
  681. ^
  682. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  683. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  684. ^
  685. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  686. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  687. ^
  688. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  689. TRACE_EVENT(mm_lru_insertion,
  690. ^
  691. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  692. static struct ftrace_branch_data \
  693. ^
  694. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  695. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  696. ^
  697. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  698. if (check) \
  699. ^
  700. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  701. #define READ_ONCE(x) __READ_ONCE(x, 1)
  702. ^
  703. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  704. typeof(p) _________p1 = READ_ONCE(p); \
  705. ^
  706. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  707. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  708. ^
  709. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  710. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  711. ^
  712. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  713. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  714. ^
  715. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  716. rcu_dereference_sched(__tracepoint_##name.funcs);\
  717. ^
  718. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  719. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  720. ^
  721. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  722. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  723. ^
  724. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  725. TRACE_EVENT(mm_lru_insertion,
  726. ^
  727. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  728. static struct ftrace_branch_data \
  729. ^
  730. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  731. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  732. ^
  733. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  734. if (check) \
  735. ^
  736. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  737. #define READ_ONCE(x) __READ_ONCE(x, 1)
  738. ^
  739. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  740. typeof(p) _________p1 = READ_ONCE(p); \
  741. ^
  742. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  743. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  744. ^
  745. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  746. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  747. ^
  748. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  749. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  750. ^
  751. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  752. rcu_dereference_sched(__tracepoint_##name.funcs);\
  753. ^
  754. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  755. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  756. ^
  757. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  758. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  759. ^
  760. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  761. TRACE_EVENT(mm_lru_insertion,
  762. ^
  763. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  764. static struct ftrace_branch_data \
  765. ^
  766. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  767. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  768. ^
  769. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  770. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  771. ^
  772. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  773. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  774. ^
  775. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  776. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  777. ^
  778. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  779. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  780. ^
  781. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  782. rcu_dereference_sched(__tracepoint_##name.funcs);\
  783. ^
  784. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  785. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  786. ^
  787. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  788. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  789. ^
  790. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  791. TRACE_EVENT(mm_lru_insertion,
  792. ^
  793. In file included from include/trace/events/pagemap.h:7:0,
  794. from mm/swap.c:41:
  795. include/trace/events/pagemap.h: In function ‘page_is_young’:
  796. include/linux/tracepoint.h:155:21: error: invalid storage class for function ‘trace_mm_lru_insertion_rcuidle’
  797. static inline void trace_##name##_rcuidle(proto) \
  798. ^
  799. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  800. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  801. ^
  802. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  803. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  804. ^
  805. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  806. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  807. ^
  808. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  809. TRACE_EVENT(mm_lru_insertion,
  810. ^
  811. include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion_rcuidle’:
  812. include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
  813. struct page *page,
  814. ^
  815. include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
  816. static inline void trace_##name##_rcuidle(proto) \
  817. ^
  818. include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
  819. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  820. ^
  821. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  822. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  823. ^
  824. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  825. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  826. ^
  827. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  828. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  829. ^
  830. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  831. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  832. ^
  833. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  834. TRACE_EVENT(mm_lru_insertion,
  835. ^
  836. include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
  837. TP_PROTO(
  838. ^
  839. include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
  840. struct page *page,
  841. ^
  842. include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
  843. static inline void trace_##name##_rcuidle(proto) \
  844. ^
  845. include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
  846. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  847. ^
  848. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  849. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  850. ^
  851. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  852. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  853. ^
  854. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  855. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  856. ^
  857. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  858. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  859. ^
  860. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  861. TRACE_EVENT(mm_lru_insertion,
  862. ^
  863. include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
  864. TP_PROTO(
  865. ^
  866. In file included from include/asm-generic/bug.h:4:0,
  867. from ./arch/x86/include/asm/bug.h:35,
  868. from include/linux/bug.h:4,
  869. from include/linux/mmdebug.h:4,
  870. from include/linux/mm.h:8,
  871. from mm/swap.c:16:
  872. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  873. static struct ftrace_branch_data \
  874. ^
  875. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  876. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  877. ^
  878. include/linux/tracepoint.h:157:3: note: in expansion of macro ‘if’
  879. if (static_key_false(&__tracepoint_##name.key)) \
  880. ^
  881. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  882. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  883. ^
  884. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  885. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  886. ^
  887. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  888. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  889. ^
  890. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  891. TRACE_EVENT(mm_lru_insertion,
  892. ^
  893. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  894. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  895. ^
  896. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  897. ______r = !!(cond); \
  898. ^
  899. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  900. if (!(cond)) \
  901. ^
  902. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  903. __DO_TRACE(&__tracepoint_##name, \
  904. ^
  905. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  906. TP_CONDITION(cond), \
  907. ^
  908. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  909. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  910. ^
  911. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  912. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  913. ^
  914. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  915. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  916. ^
  917. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  918. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  919. ^
  920. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  921. cpu_online(raw_smp_processor_id()), \
  922. ^
  923. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  924. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  925. ^
  926. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  927. TRACE_EVENT(mm_lru_insertion,
  928. ^
  929. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  930. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  931. ^
  932. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  933. ______r = !!(cond); \
  934. ^
  935. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  936. if (!(cond)) \
  937. ^
  938. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  939. __DO_TRACE(&__tracepoint_##name, \
  940. ^
  941. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  942. TP_CONDITION(cond), \
  943. ^
  944. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  945. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  946. ^
  947. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  948. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  949. ^
  950. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  951. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  952. ^
  953. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  954. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  955. ^
  956. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  957. cpu_online(raw_smp_processor_id()), \
  958. ^
  959. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  960. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  961. ^
  962. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  963. TRACE_EVENT(mm_lru_insertion,
  964. ^
  965. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  966. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  967. ^
  968. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  969. ______r = !!(cond); \
  970. ^
  971. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  972. if (!(cond)) \
  973. ^
  974. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  975. __DO_TRACE(&__tracepoint_##name, \
  976. ^
  977. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  978. TP_CONDITION(cond), \
  979. ^
  980. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  981. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  982. ^
  983. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  984. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  985. ^
  986. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  987. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  988. ^
  989. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  990. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  991. ^
  992. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  993. cpu_online(raw_smp_processor_id()), \
  994. ^
  995. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  996. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  997. ^
  998. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  999. TRACE_EVENT(mm_lru_insertion,
  1000. ^
  1001. In file included from include/asm-generic/bug.h:4:0,
  1002. from ./arch/x86/include/asm/bug.h:35,
  1003. from include/linux/bug.h:4,
  1004. from include/linux/mmdebug.h:4,
  1005. from include/linux/mm.h:8,
  1006. from mm/swap.c:16:
  1007. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  1008. union { typeof(x) __val; char __c[1]; } __u; \
  1009. ^
  1010. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1011. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1012. ^
  1013. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1014. typeof(p) _________p1 = READ_ONCE(p); \
  1015. ^
  1016. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1017. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1018. ^
  1019. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1020. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1021. ^
  1022. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1023. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1024. ^
  1025. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1026. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1027. ^
  1028. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1029. __DO_TRACE(&__tracepoint_##name, \
  1030. ^
  1031. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1032. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1033. ^
  1034. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1035. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1036. ^
  1037. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1038. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1039. ^
  1040. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1041. TRACE_EVENT(mm_lru_insertion,
  1042. ^
  1043. In file included from include/asm-generic/bug.h:4:0,
  1044. from ./arch/x86/include/asm/bug.h:35,
  1045. from include/linux/bug.h:4,
  1046. from include/linux/mmdebug.h:4,
  1047. from include/linux/mm.h:8,
  1048. from mm/swap.c:16:
  1049. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1050. static struct ftrace_branch_data \
  1051. ^
  1052. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1053. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1054. ^
  1055. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1056. if (check) \
  1057. ^
  1058. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1059. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1060. ^
  1061. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1062. typeof(p) _________p1 = READ_ONCE(p); \
  1063. ^
  1064. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1065. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1066. ^
  1067. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1068. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1069. ^
  1070. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1071. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1072. ^
  1073. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1074. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1075. ^
  1076. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1077. __DO_TRACE(&__tracepoint_##name, \
  1078. ^
  1079. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1080. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1081. ^
  1082. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1083. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1084. ^
  1085. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1086. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1087. ^
  1088. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1089. TRACE_EVENT(mm_lru_insertion,
  1090. ^
  1091. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1092. static struct ftrace_branch_data \
  1093. ^
  1094. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1095. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1096. ^
  1097. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1098. if (check) \
  1099. ^
  1100. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1101. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1102. ^
  1103. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1104. typeof(p) _________p1 = READ_ONCE(p); \
  1105. ^
  1106. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1107. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1108. ^
  1109. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1110. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1111. ^
  1112. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1113. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1114. ^
  1115. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1116. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1117. ^
  1118. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1119. __DO_TRACE(&__tracepoint_##name, \
  1120. ^
  1121. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1122. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1123. ^
  1124. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1125. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1126. ^
  1127. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1128. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1129. ^
  1130. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1131. TRACE_EVENT(mm_lru_insertion,
  1132. ^
  1133. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1134. static struct ftrace_branch_data \
  1135. ^
  1136. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1137. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1138. ^
  1139. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1140. if (check) \
  1141. ^
  1142. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1143. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1144. ^
  1145. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1146. typeof(p) _________p1 = READ_ONCE(p); \
  1147. ^
  1148. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1149. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1150. ^
  1151. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1152. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1153. ^
  1154. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1155. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1156. ^
  1157. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1158. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1159. ^
  1160. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1161. __DO_TRACE(&__tracepoint_##name, \
  1162. ^
  1163. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1164. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1165. ^
  1166. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1167. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1168. ^
  1169. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1170. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1171. ^
  1172. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1173. TRACE_EVENT(mm_lru_insertion,
  1174. ^
  1175. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1176. static struct ftrace_branch_data \
  1177. ^
  1178. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1179. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1180. ^
  1181. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1182. if (check) \
  1183. ^
  1184. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1185. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1186. ^
  1187. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1188. typeof(p) _________p1 = READ_ONCE(p); \
  1189. ^
  1190. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1191. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1192. ^
  1193. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1194. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1195. ^
  1196. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1197. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1198. ^
  1199. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1200. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1201. ^
  1202. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1203. __DO_TRACE(&__tracepoint_##name, \
  1204. ^
  1205. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1206. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1207. ^
  1208. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1209. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1210. ^
  1211. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1212. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1213. ^
  1214. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1215. TRACE_EVENT(mm_lru_insertion,
  1216. ^
  1217. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1218. static struct ftrace_branch_data \
  1219. ^
  1220. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1221. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1222. ^
  1223. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  1224. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  1225. ^
  1226. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  1227. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  1228. ^
  1229. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1230. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1231. ^
  1232. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1233. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1234. ^
  1235. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1236. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1237. ^
  1238. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  1239. __DO_TRACE(&__tracepoint_##name, \
  1240. ^
  1241. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  1242. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  1243. ^
  1244. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1245. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1246. ^
  1247. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1248. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1249. ^
  1250. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1251. TRACE_EVENT(mm_lru_insertion,
  1252. ^
  1253. In file included from include/trace/events/pagemap.h:7:0,
  1254. from mm/swap.c:41:
  1255. include/trace/events/pagemap.h: In function ‘page_is_young’:
  1256. include/linux/tracepoint.h:199:2: error: invalid storage class for function ‘register_trace_mm_lru_insertion’
  1257. register_trace_##name(void (*probe)(data_proto), void *data) \
  1258. ^
  1259. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1260. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1261. ^
  1262. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1263. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1264. ^
  1265. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1266. TRACE_EVENT(mm_lru_insertion,
  1267. ^
  1268. include/linux/tracepoint.h:205:2: error: invalid storage class for function ‘register_trace_prio_mm_lru_insertion’
  1269. register_trace_prio_##name(void (*probe)(data_proto), void *data,\
  1270. ^
  1271. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1272. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1273. ^
  1274. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1275. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1276. ^
  1277. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1278. TRACE_EVENT(mm_lru_insertion,
  1279. ^
  1280. include/linux/tracepoint.h:212:2: error: invalid storage class for function ‘unregister_trace_mm_lru_insertion’
  1281. unregister_trace_##name(void (*probe)(data_proto), void *data) \
  1282. ^
  1283. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1284. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1285. ^
  1286. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1287. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1288. ^
  1289. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1290. TRACE_EVENT(mm_lru_insertion,
  1291. ^
  1292. include/linux/tracepoint.h:218:2: error: invalid storage class for function ‘check_trace_callback_type_mm_lru_insertion’
  1293. check_trace_callback_type_##name(void (*cb)(data_proto)) \
  1294. ^
  1295. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1296. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1297. ^
  1298. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1299. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1300. ^
  1301. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1302. TRACE_EVENT(mm_lru_insertion,
  1303. ^
  1304. include/linux/tracepoint.h:222:2: error: invalid storage class for function ‘trace_mm_lru_insertion_enabled’
  1305. trace_##name##_enabled(void) \
  1306. ^
  1307. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1308. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1309. ^
  1310. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1311. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1312. ^
  1313. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1314. TRACE_EVENT(mm_lru_insertion,
  1315. ^
  1316. include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion_enabled’:
  1317. include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
  1318. struct page *page,
  1319. ^
  1320. include/linux/tracepoint.h:218:46: note: in definition of macro ‘__DECLARE_TRACE’
  1321. check_trace_callback_type_##name(void (*cb)(data_proto)) \
  1322. ^
  1323. include/linux/tracepoint.h:350:4: note: in expansion of macro ‘PARAMS’
  1324. PARAMS(void *__data, proto), \
  1325. ^
  1326. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1327. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1328. ^
  1329. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  1330. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1331. ^
  1332. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  1333. TRACE_EVENT(mm_lru_insertion,
  1334. ^
  1335. include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
  1336. TP_PROTO(
  1337. ^
  1338. include/trace/events/pagemap.h: In function ‘page_is_young’:
  1339. include/linux/tracepoint.h:182:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  1340. extern struct tracepoint __tracepoint_##name; \
  1341. ^
  1342. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1343. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1344. ^
  1345. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1346. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1347. ^
  1348. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1349. TRACE_EVENT(mm_lru_activate,
  1350. ^
  1351. include/linux/tracepoint.h:183:21: error: invalid storage class for function ‘trace_mm_lru_activate’
  1352. static inline void trace_##name(proto) \
  1353. ^
  1354. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1355. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1356. ^
  1357. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1358. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1359. ^
  1360. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1361. TRACE_EVENT(mm_lru_activate,
  1362. ^
  1363. include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate’:
  1364. include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
  1365. TP_PROTO(struct page *page),
  1366. ^
  1367. include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
  1368. static inline void trace_##name(proto) \
  1369. ^
  1370. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  1371. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1372. ^
  1373. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1374. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1375. ^
  1376. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  1377. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1378. ^
  1379. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1380. TRACE_EVENT(mm_lru_activate,
  1381. ^
  1382. include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
  1383. TP_PROTO(struct page *page),
  1384. ^
  1385. include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
  1386. TP_PROTO(struct page *page),
  1387. ^
  1388. include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
  1389. static inline void trace_##name(proto) \
  1390. ^
  1391. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  1392. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1393. ^
  1394. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1395. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1396. ^
  1397. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  1398. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1399. ^
  1400. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1401. TRACE_EVENT(mm_lru_activate,
  1402. ^
  1403. include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
  1404. TP_PROTO(struct page *page),
  1405. ^
  1406. In file included from include/asm-generic/bug.h:4:0,
  1407. from ./arch/x86/include/asm/bug.h:35,
  1408. from include/linux/bug.h:4,
  1409. from include/linux/mmdebug.h:4,
  1410. from include/linux/mm.h:8,
  1411. from mm/swap.c:16:
  1412. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1413. static struct ftrace_branch_data \
  1414. ^
  1415. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1416. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1417. ^
  1418. include/linux/tracepoint.h:185:3: note: in expansion of macro ‘if’
  1419. if (static_key_false(&__tracepoint_##name.key)) \
  1420. ^
  1421. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1422. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1423. ^
  1424. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1425. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1426. ^
  1427. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1428. TRACE_EVENT(mm_lru_activate,
  1429. ^
  1430. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1431. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1432. ^
  1433. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1434. ______r = !!(cond); \
  1435. ^
  1436. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  1437. if (!(cond)) \
  1438. ^
  1439. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1440. __DO_TRACE(&__tracepoint_##name, \
  1441. ^
  1442. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  1443. TP_CONDITION(cond),,); \
  1444. ^
  1445. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1446. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1447. ^
  1448. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1449. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1450. ^
  1451. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1452. cpu_online(raw_smp_processor_id()), \
  1453. ^
  1454. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1455. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1456. ^
  1457. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1458. TRACE_EVENT(mm_lru_activate,
  1459. ^
  1460. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1461. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1462. ^
  1463. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1464. ______r = !!(cond); \
  1465. ^
  1466. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  1467. if (!(cond)) \
  1468. ^
  1469. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1470. __DO_TRACE(&__tracepoint_##name, \
  1471. ^
  1472. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  1473. TP_CONDITION(cond),,); \
  1474. ^
  1475. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1476. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1477. ^
  1478. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1479. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1480. ^
  1481. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1482. cpu_online(raw_smp_processor_id()), \
  1483. ^
  1484. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1485. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1486. ^
  1487. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1488. TRACE_EVENT(mm_lru_activate,
  1489. ^
  1490. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1491. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1492. ^
  1493. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1494. ______r = !!(cond); \
  1495. ^
  1496. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  1497. if (!(cond)) \
  1498. ^
  1499. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1500. __DO_TRACE(&__tracepoint_##name, \
  1501. ^
  1502. include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
  1503. TP_CONDITION(cond),,); \
  1504. ^
  1505. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1506. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1507. ^
  1508. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1509. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1510. ^
  1511. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1512. cpu_online(raw_smp_processor_id()), \
  1513. ^
  1514. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1515. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1516. ^
  1517. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1518. TRACE_EVENT(mm_lru_activate,
  1519. ^
  1520. In file included from include/asm-generic/bug.h:4:0,
  1521. from ./arch/x86/include/asm/bug.h:35,
  1522. from include/linux/bug.h:4,
  1523. from include/linux/mmdebug.h:4,
  1524. from include/linux/mm.h:8,
  1525. from mm/swap.c:16:
  1526. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  1527. union { typeof(x) __val; char __c[1]; } __u; \
  1528. ^
  1529. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1530. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1531. ^
  1532. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1533. typeof(p) _________p1 = READ_ONCE(p); \
  1534. ^
  1535. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1536. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1537. ^
  1538. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1539. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1540. ^
  1541. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1542. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1543. ^
  1544. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1545. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1546. ^
  1547. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1548. __DO_TRACE(&__tracepoint_##name, \
  1549. ^
  1550. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1551. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1552. ^
  1553. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1554. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1555. ^
  1556. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1557. TRACE_EVENT(mm_lru_activate,
  1558. ^
  1559. In file included from include/asm-generic/bug.h:4:0,
  1560. from ./arch/x86/include/asm/bug.h:35,
  1561. from include/linux/bug.h:4,
  1562. from include/linux/mmdebug.h:4,
  1563. from include/linux/mm.h:8,
  1564. from mm/swap.c:16:
  1565. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1566. static struct ftrace_branch_data \
  1567. ^
  1568. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1569. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1570. ^
  1571. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1572. if (check) \
  1573. ^
  1574. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1575. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1576. ^
  1577. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1578. typeof(p) _________p1 = READ_ONCE(p); \
  1579. ^
  1580. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1581. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1582. ^
  1583. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1584. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1585. ^
  1586. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1587. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1588. ^
  1589. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1590. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1591. ^
  1592. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1593. __DO_TRACE(&__tracepoint_##name, \
  1594. ^
  1595. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1596. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1597. ^
  1598. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1599. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1600. ^
  1601. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1602. TRACE_EVENT(mm_lru_activate,
  1603. ^
  1604. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1605. static struct ftrace_branch_data \
  1606. ^
  1607. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1608. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1609. ^
  1610. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1611. if (check) \
  1612. ^
  1613. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1614. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1615. ^
  1616. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1617. typeof(p) _________p1 = READ_ONCE(p); \
  1618. ^
  1619. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1620. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1621. ^
  1622. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1623. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1624. ^
  1625. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1626. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1627. ^
  1628. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1629. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1630. ^
  1631. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1632. __DO_TRACE(&__tracepoint_##name, \
  1633. ^
  1634. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1635. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1636. ^
  1637. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1638. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1639. ^
  1640. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1641. TRACE_EVENT(mm_lru_activate,
  1642. ^
  1643. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1644. static struct ftrace_branch_data \
  1645. ^
  1646. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1647. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1648. ^
  1649. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1650. if (check) \
  1651. ^
  1652. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1653. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1654. ^
  1655. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1656. typeof(p) _________p1 = READ_ONCE(p); \
  1657. ^
  1658. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1659. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1660. ^
  1661. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1662. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1663. ^
  1664. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1665. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1666. ^
  1667. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1668. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1669. ^
  1670. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1671. __DO_TRACE(&__tracepoint_##name, \
  1672. ^
  1673. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1674. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1675. ^
  1676. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1677. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1678. ^
  1679. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1680. TRACE_EVENT(mm_lru_activate,
  1681. ^
  1682. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1683. static struct ftrace_branch_data \
  1684. ^
  1685. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1686. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1687. ^
  1688. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1689. if (check) \
  1690. ^
  1691. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1692. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1693. ^
  1694. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1695. typeof(p) _________p1 = READ_ONCE(p); \
  1696. ^
  1697. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1698. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1699. ^
  1700. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1701. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1702. ^
  1703. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1704. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1705. ^
  1706. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1707. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1708. ^
  1709. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1710. __DO_TRACE(&__tracepoint_##name, \
  1711. ^
  1712. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1713. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1714. ^
  1715. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1716. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1717. ^
  1718. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1719. TRACE_EVENT(mm_lru_activate,
  1720. ^
  1721. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1722. static struct ftrace_branch_data \
  1723. ^
  1724. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1725. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1726. ^
  1727. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  1728. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  1729. ^
  1730. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  1731. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  1732. ^
  1733. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1734. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1735. ^
  1736. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1737. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1738. ^
  1739. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  1740. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  1741. ^
  1742. include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
  1743. __DO_TRACE(&__tracepoint_##name, \
  1744. ^
  1745. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1746. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1747. ^
  1748. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1749. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1750. ^
  1751. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1752. TRACE_EVENT(mm_lru_activate,
  1753. ^
  1754. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1755. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1756. ^
  1757. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1758. ______r = !!(cond); \
  1759. ^
  1760. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  1761. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  1762. ^
  1763. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1764. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1765. ^
  1766. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1767. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1768. ^
  1769. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1770. cpu_online(raw_smp_processor_id()), \
  1771. ^
  1772. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1773. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1774. ^
  1775. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1776. TRACE_EVENT(mm_lru_activate,
  1777. ^
  1778. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1779. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1780. ^
  1781. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1782. ______r = !!(cond); \
  1783. ^
  1784. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  1785. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  1786. ^
  1787. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1788. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1789. ^
  1790. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1791. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1792. ^
  1793. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1794. cpu_online(raw_smp_processor_id()), \
  1795. ^
  1796. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1797. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1798. ^
  1799. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1800. TRACE_EVENT(mm_lru_activate,
  1801. ^
  1802. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  1803. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  1804. ^
  1805. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  1806. ______r = !!(cond); \
  1807. ^
  1808. include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
  1809. if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
  1810. ^
  1811. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1812. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1813. ^
  1814. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  1815. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  1816. ^
  1817. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  1818. cpu_online(raw_smp_processor_id()), \
  1819. ^
  1820. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1821. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1822. ^
  1823. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1824. TRACE_EVENT(mm_lru_activate,
  1825. ^
  1826. In file included from include/asm-generic/bug.h:4:0,
  1827. from ./arch/x86/include/asm/bug.h:35,
  1828. from include/linux/bug.h:4,
  1829. from include/linux/mmdebug.h:4,
  1830. from include/linux/mm.h:8,
  1831. from mm/swap.c:16:
  1832. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  1833. union { typeof(x) __val; char __c[1]; } __u; \
  1834. ^
  1835. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1836. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1837. ^
  1838. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1839. typeof(p) _________p1 = READ_ONCE(p); \
  1840. ^
  1841. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1842. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1843. ^
  1844. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1845. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1846. ^
  1847. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1848. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1849. ^
  1850. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  1851. rcu_dereference_sched(__tracepoint_##name.funcs);\
  1852. ^
  1853. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1854. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1855. ^
  1856. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1857. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1858. ^
  1859. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1860. TRACE_EVENT(mm_lru_activate,
  1861. ^
  1862. In file included from include/asm-generic/bug.h:4:0,
  1863. from ./arch/x86/include/asm/bug.h:35,
  1864. from include/linux/bug.h:4,
  1865. from include/linux/mmdebug.h:4,
  1866. from include/linux/mm.h:8,
  1867. from mm/swap.c:16:
  1868. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1869. static struct ftrace_branch_data \
  1870. ^
  1871. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1872. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1873. ^
  1874. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1875. if (check) \
  1876. ^
  1877. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1878. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1879. ^
  1880. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1881. typeof(p) _________p1 = READ_ONCE(p); \
  1882. ^
  1883. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1884. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1885. ^
  1886. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1887. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1888. ^
  1889. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1890. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1891. ^
  1892. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  1893. rcu_dereference_sched(__tracepoint_##name.funcs);\
  1894. ^
  1895. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1896. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1897. ^
  1898. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1899. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1900. ^
  1901. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1902. TRACE_EVENT(mm_lru_activate,
  1903. ^
  1904. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1905. static struct ftrace_branch_data \
  1906. ^
  1907. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1908. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1909. ^
  1910. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1911. if (check) \
  1912. ^
  1913. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1914. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1915. ^
  1916. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1917. typeof(p) _________p1 = READ_ONCE(p); \
  1918. ^
  1919. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1920. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1921. ^
  1922. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1923. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1924. ^
  1925. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1926. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1927. ^
  1928. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  1929. rcu_dereference_sched(__tracepoint_##name.funcs);\
  1930. ^
  1931. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1932. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1933. ^
  1934. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1935. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1936. ^
  1937. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1938. TRACE_EVENT(mm_lru_activate,
  1939. ^
  1940. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1941. static struct ftrace_branch_data \
  1942. ^
  1943. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1944. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1945. ^
  1946. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1947. if (check) \
  1948. ^
  1949. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1950. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1951. ^
  1952. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1953. typeof(p) _________p1 = READ_ONCE(p); \
  1954. ^
  1955. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1956. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1957. ^
  1958. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1959. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1960. ^
  1961. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1962. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1963. ^
  1964. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  1965. rcu_dereference_sched(__tracepoint_##name.funcs);\
  1966. ^
  1967. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  1968. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  1969. ^
  1970. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  1971. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  1972. ^
  1973. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  1974. TRACE_EVENT(mm_lru_activate,
  1975. ^
  1976. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  1977. static struct ftrace_branch_data \
  1978. ^
  1979. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  1980. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  1981. ^
  1982. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  1983. if (check) \
  1984. ^
  1985. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  1986. #define READ_ONCE(x) __READ_ONCE(x, 1)
  1987. ^
  1988. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  1989. typeof(p) _________p1 = READ_ONCE(p); \
  1990. ^
  1991. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  1992. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  1993. ^
  1994. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  1995. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  1996. ^
  1997. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  1998. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  1999. ^
  2000. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  2001. rcu_dereference_sched(__tracepoint_##name.funcs);\
  2002. ^
  2003. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2004. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2005. ^
  2006. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2007. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2008. ^
  2009. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2010. TRACE_EVENT(mm_lru_activate,
  2011. ^
  2012. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2013. static struct ftrace_branch_data \
  2014. ^
  2015. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2016. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2017. ^
  2018. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  2019. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  2020. ^
  2021. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  2022. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  2023. ^
  2024. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2025. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2026. ^
  2027. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2028. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2029. ^
  2030. include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
  2031. rcu_dereference_sched(__tracepoint_##name.funcs);\
  2032. ^
  2033. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2034. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2035. ^
  2036. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2037. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2038. ^
  2039. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2040. TRACE_EVENT(mm_lru_activate,
  2041. ^
  2042. In file included from include/trace/events/pagemap.h:7:0,
  2043. from mm/swap.c:41:
  2044. include/trace/events/pagemap.h: In function ‘page_is_young’:
  2045. include/linux/tracepoint.h:155:21: error: invalid storage class for function ‘trace_mm_lru_activate_rcuidle’
  2046. static inline void trace_##name##_rcuidle(proto) \
  2047. ^
  2048. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2049. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2050. ^
  2051. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2052. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2053. ^
  2054. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2055. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2056. ^
  2057. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2058. TRACE_EVENT(mm_lru_activate,
  2059. ^
  2060. include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate_rcuidle’:
  2061. include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
  2062. TP_PROTO(struct page *page),
  2063. ^
  2064. include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
  2065. static inline void trace_##name##_rcuidle(proto) \
  2066. ^
  2067. include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
  2068. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2069. ^
  2070. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2071. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2072. ^
  2073. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  2074. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2075. ^
  2076. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2077. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2078. ^
  2079. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  2080. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2081. ^
  2082. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2083. TRACE_EVENT(mm_lru_activate,
  2084. ^
  2085. include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
  2086. TP_PROTO(struct page *page),
  2087. ^
  2088. include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
  2089. TP_PROTO(struct page *page),
  2090. ^
  2091. include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
  2092. static inline void trace_##name##_rcuidle(proto) \
  2093. ^
  2094. include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
  2095. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2096. ^
  2097. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2098. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2099. ^
  2100. include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
  2101. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2102. ^
  2103. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2104. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2105. ^
  2106. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  2107. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2108. ^
  2109. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2110. TRACE_EVENT(mm_lru_activate,
  2111. ^
  2112. include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
  2113. TP_PROTO(struct page *page),
  2114. ^
  2115. In file included from include/asm-generic/bug.h:4:0,
  2116. from ./arch/x86/include/asm/bug.h:35,
  2117. from include/linux/bug.h:4,
  2118. from include/linux/mmdebug.h:4,
  2119. from include/linux/mm.h:8,
  2120. from mm/swap.c:16:
  2121. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2122. static struct ftrace_branch_data \
  2123. ^
  2124. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2125. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2126. ^
  2127. include/linux/tracepoint.h:157:3: note: in expansion of macro ‘if’
  2128. if (static_key_false(&__tracepoint_##name.key)) \
  2129. ^
  2130. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2131. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2132. ^
  2133. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2134. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2135. ^
  2136. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2137. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2138. ^
  2139. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2140. TRACE_EVENT(mm_lru_activate,
  2141. ^
  2142. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  2143. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  2144. ^
  2145. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  2146. ______r = !!(cond); \
  2147. ^
  2148. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  2149. if (!(cond)) \
  2150. ^
  2151. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2152. __DO_TRACE(&__tracepoint_##name, \
  2153. ^
  2154. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  2155. TP_CONDITION(cond), \
  2156. ^
  2157. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2158. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2159. ^
  2160. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  2161. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  2162. ^
  2163. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2164. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2165. ^
  2166. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  2167. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  2168. ^
  2169. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  2170. cpu_online(raw_smp_processor_id()), \
  2171. ^
  2172. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2173. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2174. ^
  2175. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2176. TRACE_EVENT(mm_lru_activate,
  2177. ^
  2178. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  2179. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  2180. ^
  2181. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  2182. ______r = !!(cond); \
  2183. ^
  2184. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  2185. if (!(cond)) \
  2186. ^
  2187. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2188. __DO_TRACE(&__tracepoint_##name, \
  2189. ^
  2190. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  2191. TP_CONDITION(cond), \
  2192. ^
  2193. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2194. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2195. ^
  2196. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  2197. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  2198. ^
  2199. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2200. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2201. ^
  2202. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  2203. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  2204. ^
  2205. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  2206. cpu_online(raw_smp_processor_id()), \
  2207. ^
  2208. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2209. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2210. ^
  2211. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2212. TRACE_EVENT(mm_lru_activate,
  2213. ^
  2214. include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
  2215. #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
  2216. ^
  2217. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  2218. ______r = !!(cond); \
  2219. ^
  2220. include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
  2221. if (!(cond)) \
  2222. ^
  2223. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2224. __DO_TRACE(&__tracepoint_##name, \
  2225. ^
  2226. include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
  2227. TP_CONDITION(cond), \
  2228. ^
  2229. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2230. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2231. ^
  2232. include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
  2233. PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
  2234. ^
  2235. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2236. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2237. ^
  2238. include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
  2239. #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
  2240. ^
  2241. include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
  2242. cpu_online(raw_smp_processor_id()), \
  2243. ^
  2244. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2245. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2246. ^
  2247. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2248. TRACE_EVENT(mm_lru_activate,
  2249. ^
  2250. In file included from include/asm-generic/bug.h:4:0,
  2251. from ./arch/x86/include/asm/bug.h:35,
  2252. from include/linux/bug.h:4,
  2253. from include/linux/mmdebug.h:4,
  2254. from include/linux/mm.h:8,
  2255. from mm/swap.c:16:
  2256. include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
  2257. union { typeof(x) __val; char __c[1]; } __u; \
  2258. ^
  2259. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  2260. #define READ_ONCE(x) __READ_ONCE(x, 1)
  2261. ^
  2262. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  2263. typeof(p) _________p1 = READ_ONCE(p); \
  2264. ^
  2265. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  2266. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  2267. ^
  2268. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2269. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2270. ^
  2271. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2272. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2273. ^
  2274. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2275. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2276. ^
  2277. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2278. __DO_TRACE(&__tracepoint_##name, \
  2279. ^
  2280. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2281. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2282. ^
  2283. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2284. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2285. ^
  2286. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2287. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2288. ^
  2289. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2290. TRACE_EVENT(mm_lru_activate,
  2291. ^
  2292. In file included from include/asm-generic/bug.h:4:0,
  2293. from ./arch/x86/include/asm/bug.h:35,
  2294. from include/linux/bug.h:4,
  2295. from include/linux/mmdebug.h:4,
  2296. from include/linux/mm.h:8,
  2297. from mm/swap.c:16:
  2298. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2299. static struct ftrace_branch_data \
  2300. ^
  2301. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2302. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2303. ^
  2304. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  2305. if (check) \
  2306. ^
  2307. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  2308. #define READ_ONCE(x) __READ_ONCE(x, 1)
  2309. ^
  2310. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  2311. typeof(p) _________p1 = READ_ONCE(p); \
  2312. ^
  2313. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  2314. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  2315. ^
  2316. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2317. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2318. ^
  2319. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2320. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2321. ^
  2322. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2323. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2324. ^
  2325. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2326. __DO_TRACE(&__tracepoint_##name, \
  2327. ^
  2328. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2329. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2330. ^
  2331. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2332. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2333. ^
  2334. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2335. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2336. ^
  2337. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2338. TRACE_EVENT(mm_lru_activate,
  2339. ^
  2340. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2341. static struct ftrace_branch_data \
  2342. ^
  2343. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2344. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2345. ^
  2346. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  2347. if (check) \
  2348. ^
  2349. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  2350. #define READ_ONCE(x) __READ_ONCE(x, 1)
  2351. ^
  2352. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  2353. typeof(p) _________p1 = READ_ONCE(p); \
  2354. ^
  2355. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  2356. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  2357. ^
  2358. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2359. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2360. ^
  2361. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2362. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2363. ^
  2364. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2365. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2366. ^
  2367. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2368. __DO_TRACE(&__tracepoint_##name, \
  2369. ^
  2370. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2371. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2372. ^
  2373. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2374. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2375. ^
  2376. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2377. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2378. ^
  2379. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2380. TRACE_EVENT(mm_lru_activate,
  2381. ^
  2382. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2383. static struct ftrace_branch_data \
  2384. ^
  2385. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2386. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2387. ^
  2388. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  2389. if (check) \
  2390. ^
  2391. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  2392. #define READ_ONCE(x) __READ_ONCE(x, 1)
  2393. ^
  2394. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  2395. typeof(p) _________p1 = READ_ONCE(p); \
  2396. ^
  2397. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  2398. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  2399. ^
  2400. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2401. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2402. ^
  2403. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2404. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2405. ^
  2406. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2407. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2408. ^
  2409. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2410. __DO_TRACE(&__tracepoint_##name, \
  2411. ^
  2412. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2413. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2414. ^
  2415. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2416. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2417. ^
  2418. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2419. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2420. ^
  2421. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2422. TRACE_EVENT(mm_lru_activate,
  2423. ^
  2424. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2425. static struct ftrace_branch_data \
  2426. ^
  2427. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2428. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2429. ^
  2430. include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
  2431. if (check) \
  2432. ^
  2433. include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
  2434. #define READ_ONCE(x) __READ_ONCE(x, 1)
  2435. ^
  2436. include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
  2437. typeof(p) _________p1 = READ_ONCE(p); \
  2438. ^
  2439. include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
  2440. typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
  2441. ^
  2442. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2443. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2444. ^
  2445. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2446. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2447. ^
  2448. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2449. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2450. ^
  2451. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2452. __DO_TRACE(&__tracepoint_##name, \
  2453. ^
  2454. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2455. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2456. ^
  2457. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2458. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2459. ^
  2460. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2461. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2462. ^
  2463. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2464. TRACE_EVENT(mm_lru_activate,
  2465. ^
  2466. include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
  2467. static struct ftrace_branch_data \
  2468. ^
  2469. include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
  2470. #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
  2471. ^
  2472. include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
  2473. if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
  2474. ^
  2475. include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
  2476. RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
  2477. ^
  2478. include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
  2479. __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
  2480. ^
  2481. include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
  2482. #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
  2483. ^
  2484. include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
  2485. it_func_ptr = rcu_dereference_sched((tp)->funcs); \
  2486. ^
  2487. include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
  2488. __DO_TRACE(&__tracepoint_##name, \
  2489. ^
  2490. include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
  2491. __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
  2492. ^
  2493. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2494. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2495. ^
  2496. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2497. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2498. ^
  2499. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2500. TRACE_EVENT(mm_lru_activate,
  2501. ^
  2502. In file included from include/trace/events/pagemap.h:7:0,
  2503. from mm/swap.c:41:
  2504. include/trace/events/pagemap.h: In function ‘page_is_young’:
  2505. include/linux/tracepoint.h:199:2: error: invalid storage class for function ‘register_trace_mm_lru_activate’
  2506. register_trace_##name(void (*probe)(data_proto), void *data) \
  2507. ^
  2508. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2509. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2510. ^
  2511. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2512. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2513. ^
  2514. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2515. TRACE_EVENT(mm_lru_activate,
  2516. ^
  2517. include/linux/tracepoint.h:205:2: error: invalid storage class for function ‘register_trace_prio_mm_lru_activate’
  2518. register_trace_prio_##name(void (*probe)(data_proto), void *data,\
  2519. ^
  2520. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2521. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2522. ^
  2523. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2524. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2525. ^
  2526. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2527. TRACE_EVENT(mm_lru_activate,
  2528. ^
  2529. include/linux/tracepoint.h:212:2: error: invalid storage class for function ‘unregister_trace_mm_lru_activate’
  2530. unregister_trace_##name(void (*probe)(data_proto), void *data) \
  2531. ^
  2532. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2533. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2534. ^
  2535. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2536. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2537. ^
  2538. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2539. TRACE_EVENT(mm_lru_activate,
  2540. ^
  2541. include/linux/tracepoint.h:218:2: error: invalid storage class for function ‘check_trace_callback_type_mm_lru_activate’
  2542. check_trace_callback_type_##name(void (*cb)(data_proto)) \
  2543. ^
  2544. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2545. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2546. ^
  2547. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2548. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2549. ^
  2550. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2551. TRACE_EVENT(mm_lru_activate,
  2552. ^
  2553. include/linux/tracepoint.h:222:2: error: invalid storage class for function ‘trace_mm_lru_activate_enabled’
  2554. trace_##name##_enabled(void) \
  2555. ^
  2556. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2557. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2558. ^
  2559. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2560. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2561. ^
  2562. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2563. TRACE_EVENT(mm_lru_activate,
  2564. ^
  2565. include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate_enabled’:
  2566. include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
  2567. TP_PROTO(struct page *page),
  2568. ^
  2569. include/linux/tracepoint.h:218:46: note: in definition of macro ‘__DECLARE_TRACE’
  2570. check_trace_callback_type_##name(void (*cb)(data_proto)) \
  2571. ^
  2572. include/linux/tracepoint.h:350:4: note: in expansion of macro ‘PARAMS’
  2573. PARAMS(void *__data, proto), \
  2574. ^
  2575. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2576. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2577. ^
  2578. include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
  2579. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2580. ^
  2581. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2582. TRACE_EVENT(mm_lru_activate,
  2583. ^
  2584. include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
  2585. TP_PROTO(struct page *page),
  2586. ^
  2587. include/trace/events/pagemap.h: In function ‘page_is_young’:
  2588. include/linux/tracepoint.h:233:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2589. static const char __tpstrtab_##name[] \
  2590. ^
  2591. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2592. DEFINE_TRACE_FN(name, NULL, NULL);
  2593. ^
  2594. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2595. DEFINE_TRACE(name)
  2596. ^
  2597. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2598. TRACE_EVENT(mm_lru_insertion,
  2599. ^
  2600. include/linux/tracepoint.h:235:9: error: variable ‘__tracepoint_mm_lru_insertion’ has initializer but incomplete type
  2601. struct tracepoint __tracepoint_##name \
  2602. ^
  2603. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2604. DEFINE_TRACE_FN(name, NULL, NULL);
  2605. ^
  2606. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2607. DEFINE_TRACE(name)
  2608. ^
  2609. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2610. TRACE_EVENT(mm_lru_insertion,
  2611. ^
  2612. include/linux/tracepoint.h:235:20: error: section attribute cannot be specified for local variables
  2613. struct tracepoint __tracepoint_##name \
  2614. ^
  2615. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2616. DEFINE_TRACE_FN(name, NULL, NULL);
  2617. ^
  2618. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2619. DEFINE_TRACE(name)
  2620. ^
  2621. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2622. TRACE_EVENT(mm_lru_insertion,
  2623. ^
  2624. include/linux/tracepoint.h:235:20: error: declaration of ‘__tracepoint_mm_lru_insertion’ with no linkage follows extern declaration
  2625. struct tracepoint __tracepoint_##name \
  2626. ^
  2627. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2628. DEFINE_TRACE_FN(name, NULL, NULL);
  2629. ^
  2630. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2631. DEFINE_TRACE(name)
  2632. ^
  2633. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2634. TRACE_EVENT(mm_lru_insertion,
  2635. ^
  2636. include/linux/tracepoint.h:182:27: note: previous declaration of ‘__tracepoint_mm_lru_insertion’ was here
  2637. extern struct tracepoint __tracepoint_##name; \
  2638. ^
  2639. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2640. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2641. ^
  2642. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2643. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2644. ^
  2645. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2646. TRACE_EVENT(mm_lru_insertion,
  2647. ^
  2648. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2649. struct tracepoint __tracepoint_##name \
  2650. ^
  2651. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2652. DEFINE_TRACE_FN(name, NULL, NULL);
  2653. ^
  2654. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2655. DEFINE_TRACE(name)
  2656. ^
  2657. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2658. TRACE_EVENT(mm_lru_insertion,
  2659. ^
  2660. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
  2661. struct tracepoint __tracepoint_##name \
  2662. ^
  2663. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2664. DEFINE_TRACE_FN(name, NULL, NULL);
  2665. ^
  2666. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2667. DEFINE_TRACE(name)
  2668. ^
  2669. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2670. TRACE_EVENT(mm_lru_insertion,
  2671. ^
  2672. include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
  2673. struct tracepoint __tracepoint_##name \
  2674. ^
  2675. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2676. DEFINE_TRACE_FN(name, NULL, NULL);
  2677. ^
  2678. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2679. DEFINE_TRACE(name)
  2680. ^
  2681. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2682. TRACE_EVENT(mm_lru_insertion,
  2683. ^
  2684. include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_insertion’)
  2685. struct tracepoint __tracepoint_##name \
  2686. ^
  2687. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2688. DEFINE_TRACE_FN(name, NULL, NULL);
  2689. ^
  2690. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2691. DEFINE_TRACE(name)
  2692. ^
  2693. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2694. TRACE_EVENT(mm_lru_insertion,
  2695. ^
  2696. include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
  2697. struct tracepoint __tracepoint_##name \
  2698. ^
  2699. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2700. DEFINE_TRACE_FN(name, NULL, NULL);
  2701. ^
  2702. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2703. DEFINE_TRACE(name)
  2704. ^
  2705. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2706. TRACE_EVENT(mm_lru_insertion,
  2707. ^
  2708. include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_insertion’)
  2709. struct tracepoint __tracepoint_##name \
  2710. ^
  2711. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2712. DEFINE_TRACE_FN(name, NULL, NULL);
  2713. ^
  2714. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2715. DEFINE_TRACE(name)
  2716. ^
  2717. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2718. TRACE_EVENT(mm_lru_insertion,
  2719. ^
  2720. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2721. struct tracepoint __tracepoint_##name \
  2722. ^
  2723. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2724. DEFINE_TRACE_FN(name, NULL, NULL);
  2725. ^
  2726. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2727. DEFINE_TRACE(name)
  2728. ^
  2729. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2730. TRACE_EVENT(mm_lru_insertion,
  2731. ^
  2732. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
  2733. struct tracepoint __tracepoint_##name \
  2734. ^
  2735. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2736. DEFINE_TRACE_FN(name, NULL, NULL);
  2737. ^
  2738. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2739. DEFINE_TRACE(name)
  2740. ^
  2741. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2742. TRACE_EVENT(mm_lru_insertion,
  2743. ^
  2744. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2745. struct tracepoint __tracepoint_##name \
  2746. ^
  2747. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2748. DEFINE_TRACE_FN(name, NULL, NULL);
  2749. ^
  2750. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2751. DEFINE_TRACE(name)
  2752. ^
  2753. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2754. TRACE_EVENT(mm_lru_insertion,
  2755. ^
  2756. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
  2757. struct tracepoint __tracepoint_##name \
  2758. ^
  2759. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2760. DEFINE_TRACE_FN(name, NULL, NULL);
  2761. ^
  2762. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2763. DEFINE_TRACE(name)
  2764. ^
  2765. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2766. TRACE_EVENT(mm_lru_insertion,
  2767. ^
  2768. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2769. struct tracepoint __tracepoint_##name \
  2770. ^
  2771. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2772. DEFINE_TRACE_FN(name, NULL, NULL);
  2773. ^
  2774. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2775. DEFINE_TRACE(name)
  2776. ^
  2777. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2778. TRACE_EVENT(mm_lru_insertion,
  2779. ^
  2780. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
  2781. struct tracepoint __tracepoint_##name \
  2782. ^
  2783. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2784. DEFINE_TRACE_FN(name, NULL, NULL);
  2785. ^
  2786. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2787. DEFINE_TRACE(name)
  2788. ^
  2789. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2790. TRACE_EVENT(mm_lru_insertion,
  2791. ^
  2792. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2793. struct tracepoint __tracepoint_##name \
  2794. ^
  2795. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2796. DEFINE_TRACE_FN(name, NULL, NULL);
  2797. ^
  2798. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2799. DEFINE_TRACE(name)
  2800. ^
  2801. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2802. TRACE_EVENT(mm_lru_insertion,
  2803. ^
  2804. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
  2805. struct tracepoint __tracepoint_##name \
  2806. ^
  2807. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2808. DEFINE_TRACE_FN(name, NULL, NULL);
  2809. ^
  2810. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2811. DEFINE_TRACE(name)
  2812. ^
  2813. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2814. TRACE_EVENT(mm_lru_insertion,
  2815. ^
  2816. include/linux/tracepoint.h:235:20: error: storage size of ‘__tracepoint_mm_lru_insertion’ isn’t known
  2817. struct tracepoint __tracepoint_##name \
  2818. ^
  2819. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2820. DEFINE_TRACE_FN(name, NULL, NULL);
  2821. ^
  2822. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2823. DEFINE_TRACE(name)
  2824. ^
  2825. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  2826. TRACE_EVENT(mm_lru_insertion,
  2827. ^
  2828. include/linux/tracepoint.h:233:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  2829. static const char __tpstrtab_##name[] \
  2830. ^
  2831. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2832. DEFINE_TRACE_FN(name, NULL, NULL);
  2833. ^
  2834. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2835. DEFINE_TRACE(name)
  2836. ^
  2837. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2838. TRACE_EVENT(mm_lru_activate,
  2839. ^
  2840. include/linux/tracepoint.h:235:9: error: variable ‘__tracepoint_mm_lru_activate’ has initializer but incomplete type
  2841. struct tracepoint __tracepoint_##name \
  2842. ^
  2843. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2844. DEFINE_TRACE_FN(name, NULL, NULL);
  2845. ^
  2846. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2847. DEFINE_TRACE(name)
  2848. ^
  2849. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2850. TRACE_EVENT(mm_lru_activate,
  2851. ^
  2852. include/linux/tracepoint.h:235:20: error: section attribute cannot be specified for local variables
  2853. struct tracepoint __tracepoint_##name \
  2854. ^
  2855. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2856. DEFINE_TRACE_FN(name, NULL, NULL);
  2857. ^
  2858. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2859. DEFINE_TRACE(name)
  2860. ^
  2861. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2862. TRACE_EVENT(mm_lru_activate,
  2863. ^
  2864. include/linux/tracepoint.h:235:20: error: declaration of ‘__tracepoint_mm_lru_activate’ with no linkage follows extern declaration
  2865. struct tracepoint __tracepoint_##name \
  2866. ^
  2867. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2868. DEFINE_TRACE_FN(name, NULL, NULL);
  2869. ^
  2870. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2871. DEFINE_TRACE(name)
  2872. ^
  2873. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2874. TRACE_EVENT(mm_lru_activate,
  2875. ^
  2876. include/linux/tracepoint.h:182:27: note: previous declaration of ‘__tracepoint_mm_lru_activate’ was here
  2877. extern struct tracepoint __tracepoint_##name; \
  2878. ^
  2879. include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
  2880. __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
  2881. ^
  2882. include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
  2883. DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
  2884. ^
  2885. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2886. TRACE_EVENT(mm_lru_activate,
  2887. ^
  2888. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2889. struct tracepoint __tracepoint_##name \
  2890. ^
  2891. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2892. DEFINE_TRACE_FN(name, NULL, NULL);
  2893. ^
  2894. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2895. DEFINE_TRACE(name)
  2896. ^
  2897. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2898. TRACE_EVENT(mm_lru_activate,
  2899. ^
  2900. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
  2901. struct tracepoint __tracepoint_##name \
  2902. ^
  2903. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2904. DEFINE_TRACE_FN(name, NULL, NULL);
  2905. ^
  2906. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2907. DEFINE_TRACE(name)
  2908. ^
  2909. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2910. TRACE_EVENT(mm_lru_activate,
  2911. ^
  2912. include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
  2913. struct tracepoint __tracepoint_##name \
  2914. ^
  2915. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2916. DEFINE_TRACE_FN(name, NULL, NULL);
  2917. ^
  2918. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2919. DEFINE_TRACE(name)
  2920. ^
  2921. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2922. TRACE_EVENT(mm_lru_activate,
  2923. ^
  2924. include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_activate’)
  2925. struct tracepoint __tracepoint_##name \
  2926. ^
  2927. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2928. DEFINE_TRACE_FN(name, NULL, NULL);
  2929. ^
  2930. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2931. DEFINE_TRACE(name)
  2932. ^
  2933. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2934. TRACE_EVENT(mm_lru_activate,
  2935. ^
  2936. include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
  2937. struct tracepoint __tracepoint_##name \
  2938. ^
  2939. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2940. DEFINE_TRACE_FN(name, NULL, NULL);
  2941. ^
  2942. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2943. DEFINE_TRACE(name)
  2944. ^
  2945. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2946. TRACE_EVENT(mm_lru_activate,
  2947. ^
  2948. include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_activate’)
  2949. struct tracepoint __tracepoint_##name \
  2950. ^
  2951. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2952. DEFINE_TRACE_FN(name, NULL, NULL);
  2953. ^
  2954. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2955. DEFINE_TRACE(name)
  2956. ^
  2957. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2958. TRACE_EVENT(mm_lru_activate,
  2959. ^
  2960. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2961. struct tracepoint __tracepoint_##name \
  2962. ^
  2963. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2964. DEFINE_TRACE_FN(name, NULL, NULL);
  2965. ^
  2966. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2967. DEFINE_TRACE(name)
  2968. ^
  2969. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2970. TRACE_EVENT(mm_lru_activate,
  2971. ^
  2972. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
  2973. struct tracepoint __tracepoint_##name \
  2974. ^
  2975. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2976. DEFINE_TRACE_FN(name, NULL, NULL);
  2977. ^
  2978. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2979. DEFINE_TRACE(name)
  2980. ^
  2981. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2982. TRACE_EVENT(mm_lru_activate,
  2983. ^
  2984. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  2985. struct tracepoint __tracepoint_##name \
  2986. ^
  2987. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  2988. DEFINE_TRACE_FN(name, NULL, NULL);
  2989. ^
  2990. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  2991. DEFINE_TRACE(name)
  2992. ^
  2993. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  2994. TRACE_EVENT(mm_lru_activate,
  2995. ^
  2996. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
  2997. struct tracepoint __tracepoint_##name \
  2998. ^
  2999. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3000. DEFINE_TRACE_FN(name, NULL, NULL);
  3001. ^
  3002. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3003. DEFINE_TRACE(name)
  3004. ^
  3005. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3006. TRACE_EVENT(mm_lru_activate,
  3007. ^
  3008. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  3009. struct tracepoint __tracepoint_##name \
  3010. ^
  3011. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3012. DEFINE_TRACE_FN(name, NULL, NULL);
  3013. ^
  3014. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3015. DEFINE_TRACE(name)
  3016. ^
  3017. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3018. TRACE_EVENT(mm_lru_activate,
  3019. ^
  3020. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
  3021. struct tracepoint __tracepoint_##name \
  3022. ^
  3023. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3024. DEFINE_TRACE_FN(name, NULL, NULL);
  3025. ^
  3026. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3027. DEFINE_TRACE(name)
  3028. ^
  3029. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3030. TRACE_EVENT(mm_lru_activate,
  3031. ^
  3032. include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
  3033. struct tracepoint __tracepoint_##name \
  3034. ^
  3035. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3036. DEFINE_TRACE_FN(name, NULL, NULL);
  3037. ^
  3038. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3039. DEFINE_TRACE(name)
  3040. ^
  3041. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3042. TRACE_EVENT(mm_lru_activate,
  3043. ^
  3044. include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
  3045. struct tracepoint __tracepoint_##name \
  3046. ^
  3047. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3048. DEFINE_TRACE_FN(name, NULL, NULL);
  3049. ^
  3050. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3051. DEFINE_TRACE(name)
  3052. ^
  3053. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3054. TRACE_EVENT(mm_lru_activate,
  3055. ^
  3056. include/linux/tracepoint.h:235:20: error: storage size of ‘__tracepoint_mm_lru_activate’ isn’t known
  3057. struct tracepoint __tracepoint_##name \
  3058. ^
  3059. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  3060. DEFINE_TRACE_FN(name, NULL, NULL);
  3061. ^
  3062. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  3063. DEFINE_TRACE(name)
  3064. ^
  3065. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3066. TRACE_EVENT(mm_lru_activate,
  3067. ^
  3068. In file included from include/linux/ring_buffer.h:4:0,
  3069. from include/linux/trace_events.h:5,
  3070. from include/trace/trace_events.h:19,
  3071. from include/trace/define_trace.h:95,
  3072. from include/trace/events/pagemap.h:87,
  3073. from mm/swap.c:41:
  3074. include/linux/kmemcheck.h:93:1: error: invalid storage class for function ‘kmemcheck_alloc_shadow’
  3075. kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node)
  3076. ^
  3077. include/linux/kmemcheck.h:92:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3078. static inline void
  3079. ^
  3080. include/linux/kmemcheck.h:98:1: error: invalid storage class for function ‘kmemcheck_free_shadow’
  3081. kmemcheck_free_shadow(struct page *page, int order)
  3082. ^
  3083. include/linux/kmemcheck.h:103:1: error: invalid storage class for function ‘kmemcheck_slab_alloc’
  3084. kmemcheck_slab_alloc(struct kmem_cache *s, gfp_t gfpflags, void *object,
  3085. ^
  3086. include/linux/kmemcheck.h:108:20: error: invalid storage class for function ‘kmemcheck_slab_free’
  3087. static inline void kmemcheck_slab_free(struct kmem_cache *s, void *object,
  3088. ^
  3089. include/linux/kmemcheck.h:113:20: error: invalid storage class for function ‘kmemcheck_pagealloc_alloc’
  3090. static inline void kmemcheck_pagealloc_alloc(struct page *p,
  3091. ^
  3092. include/linux/kmemcheck.h:118:20: error: invalid storage class for function ‘kmemcheck_page_is_tracked’
  3093. static inline bool kmemcheck_page_is_tracked(struct page *p)
  3094. ^
  3095. include/linux/kmemcheck.h:123:20: error: invalid storage class for function ‘kmemcheck_mark_unallocated’
  3096. static inline void kmemcheck_mark_unallocated(void *address, unsigned int n)
  3097. ^
  3098. include/linux/kmemcheck.h:127:20: error: invalid storage class for function ‘kmemcheck_mark_uninitialized’
  3099. static inline void kmemcheck_mark_uninitialized(void *address, unsigned int n)
  3100. ^
  3101. include/linux/kmemcheck.h:131:20: error: invalid storage class for function ‘kmemcheck_mark_initialized’
  3102. static inline void kmemcheck_mark_initialized(void *address, unsigned int n)
  3103. ^
  3104. include/linux/kmemcheck.h:135:20: error: invalid storage class for function ‘kmemcheck_mark_freed’
  3105. static inline void kmemcheck_mark_freed(void *address, unsigned int n)
  3106. ^
  3107. include/linux/kmemcheck.h:139:20: error: invalid storage class for function ‘kmemcheck_mark_unallocated_pages’
  3108. static inline void kmemcheck_mark_unallocated_pages(struct page *p,
  3109. ^
  3110. include/linux/kmemcheck.h:144:20: error: invalid storage class for function ‘kmemcheck_mark_uninitialized_pages’
  3111. static inline void kmemcheck_mark_uninitialized_pages(struct page *p,
  3112. ^
  3113. include/linux/kmemcheck.h:149:20: error: invalid storage class for function ‘kmemcheck_mark_initialized_pages’
  3114. static inline void kmemcheck_mark_initialized_pages(struct page *p,
  3115. ^
  3116. include/linux/kmemcheck.h:154:20: error: invalid storage class for function ‘kmemcheck_is_obj_initialized’
  3117. static inline bool kmemcheck_is_obj_initialized(unsigned long addr, size_t size)
  3118. ^
  3119. In file included from include/linux/ring_buffer.h:7:0,
  3120. from include/linux/trace_events.h:5,
  3121. from include/trace/trace_events.h:19,
  3122. from include/trace/define_trace.h:95,
  3123. from include/trace/events/pagemap.h:87,
  3124. from mm/swap.c:41:
  3125. include/linux/poll.h:42:20: error: invalid storage class for function ‘poll_wait’
  3126. static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p)
  3127. ^
  3128. include/linux/poll.h:53:20: error: invalid storage class for function ‘poll_does_not_wait’
  3129. static inline bool poll_does_not_wait(const poll_table *p)
  3130. ^
  3131. include/linux/poll.h:64:29: error: invalid storage class for function ‘poll_requested_events’
  3132. static inline unsigned long poll_requested_events(const poll_table *p)
  3133. ^
  3134. include/linux/poll.h:69:20: error: invalid storage class for function ‘init_poll_funcptr’
  3135. static inline void init_poll_funcptr(poll_table *pt, poll_queue_proc qproc)
  3136. ^
  3137. include/linux/poll.h:102:19: error: invalid storage class for function ‘poll_schedule’
  3138. static inline int poll_schedule(struct poll_wqueues *pwq, int state)
  3139. ^
  3140. include/linux/poll.h:130:5: error: invalid storage class for function ‘get_fd_set’
  3141. int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset)
  3142. ^
  3143. include/linux/poll.h:141:1: error: invalid storage class for function ‘set_fd_set’
  3144. set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset)
  3145. ^
  3146. include/linux/poll.h:149:6: error: invalid storage class for function ‘zero_fd_set’
  3147. void zero_fd_set(unsigned long nr, unsigned long *fdset)
  3148. ^
  3149. In file included from include/linux/trace_seq.h:4:0,
  3150. from include/linux/trace_events.h:6,
  3151. from include/trace/trace_events.h:19,
  3152. from include/trace/define_trace.h:95,
  3153. from include/trace/events/pagemap.h:87,
  3154. from mm/swap.c:41:
  3155. include/linux/seq_buf.h:25:20: error: invalid storage class for function ‘seq_buf_clear’
  3156. static inline void seq_buf_clear(struct seq_buf *s)
  3157. ^
  3158. include/linux/seq_buf.h:32:1: error: invalid storage class for function ‘seq_buf_init’
  3159. seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size)
  3160. ^
  3161. include/linux/seq_buf.h:44:1: error: invalid storage class for function ‘seq_buf_has_overflowed’
  3162. seq_buf_has_overflowed(struct seq_buf *s)
  3163. ^
  3164. include/linux/seq_buf.h:50:1: error: invalid storage class for function ‘seq_buf_set_overflow’
  3165. seq_buf_set_overflow(struct seq_buf *s)
  3166. ^
  3167. include/linux/seq_buf.h:59:1: error: invalid storage class for function ‘seq_buf_buffer_left’
  3168. seq_buf_buffer_left(struct seq_buf *s)
  3169. ^
  3170. include/linux/seq_buf.h:68:28: error: invalid storage class for function ‘seq_buf_used’
  3171. static inline unsigned int seq_buf_used(struct seq_buf *s)
  3172. ^
  3173. include/linux/seq_buf.h:81:22: error: invalid storage class for function ‘seq_buf_get_buf’
  3174. static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp)
  3175. ^
  3176. include/linux/seq_buf.h:103:20: error: invalid storage class for function ‘seq_buf_commit’
  3177. static inline void seq_buf_commit(struct seq_buf *s, int num)
  3178. ^
  3179. In file included from include/linux/trace_events.h:6:0,
  3180. from include/trace/trace_events.h:19,
  3181. from include/trace/define_trace.h:95,
  3182. from include/trace/events/pagemap.h:87,
  3183. from mm/swap.c:41:
  3184. include/linux/trace_seq.h:20:1: error: invalid storage class for function ‘trace_seq_init’
  3185. trace_seq_init(struct trace_seq *s)
  3186. ^
  3187. include/linux/trace_seq.h:39:19: error: invalid storage class for function ‘trace_seq_used’
  3188. static inline int trace_seq_used(struct trace_seq *s)
  3189. ^
  3190. include/linux/trace_seq.h:54:1: error: invalid storage class for function ‘trace_seq_buffer_ptr’
  3191. trace_seq_buffer_ptr(struct trace_seq *s)
  3192. ^
  3193. include/linux/trace_seq.h:66:20: error: invalid storage class for function ‘trace_seq_has_overflowed’
  3194. static inline bool trace_seq_has_overflowed(struct trace_seq *s)
  3195. ^
  3196. In file included from include/linux/ptrace.h:8:0,
  3197. from ./arch/x86/include/asm/stacktrace.h:10,
  3198. from ./arch/x86/include/asm/perf_event.h:246,
  3199. from include/linux/perf_event.h:24,
  3200. from include/linux/trace_events.h:9,
  3201. from include/trace/trace_events.h:19,
  3202. from include/trace/define_trace.h:95,
  3203. from include/trace/events/pagemap.h:87,
  3204. from mm/swap.c:41:
  3205. include/linux/pid_namespace.h:50:29: error: conflicting types for ‘init_pid_ns’
  3206. extern struct pid_namespace init_pid_ns;
  3207. ^
  3208. In file included from mm/swap.c:17:0:
  3209. include/linux/sched.h:2560:29: note: previous declaration of ‘init_pid_ns’ was here
  3210. extern struct pid_namespace init_pid_ns;
  3211. ^
  3212. In file included from include/linux/ptrace.h:8:0,
  3213. from ./arch/x86/include/asm/stacktrace.h:10,
  3214. from ./arch/x86/include/asm/perf_event.h:246,
  3215. from include/linux/perf_event.h:24,
  3216. from include/linux/trace_events.h:9,
  3217. from include/trace/trace_events.h:19,
  3218. from include/trace/define_trace.h:95,
  3219. from include/trace/events/pagemap.h:87,
  3220. from mm/swap.c:41:
  3221. include/linux/pid_namespace.h:71:37: error: invalid storage class for function ‘get_pid_ns’
  3222. static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)
  3223. ^
  3224. include/linux/pid_namespace.h:76:37: error: invalid storage class for function ‘copy_pid_ns’
  3225. static inline struct pid_namespace *copy_pid_ns(unsigned long flags,
  3226. ^
  3227. include/linux/pid_namespace.h:84:20: error: invalid storage class for function ‘put_pid_ns’
  3228. static inline void put_pid_ns(struct pid_namespace *ns)
  3229. ^
  3230. include/linux/pid_namespace.h:88:20: error: invalid storage class for function ‘zap_pid_ns_processes’
  3231. static inline void zap_pid_ns_processes(struct pid_namespace *ns)
  3232. ^
  3233. include/linux/pid_namespace.h:93:19: error: invalid storage class for function ‘reboot_pid_ns’
  3234. static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
  3235. ^
  3236. In file included from ./arch/x86/include/asm/stacktrace.h:10:0,
  3237. from ./arch/x86/include/asm/perf_event.h:246,
  3238. from include/linux/perf_event.h:24,
  3239. from include/linux/trace_events.h:9,
  3240. from include/trace/trace_events.h:19,
  3241. from include/trace/define_trace.h:95,
  3242. from include/trace/events/pagemap.h:87,
  3243. from mm/swap.c:41:
  3244. include/linux/ptrace.h:85:19: error: invalid storage class for function ‘ptrace_reparented’
  3245. static inline int ptrace_reparented(struct task_struct *child)
  3246. ^
  3247. include/linux/ptrace.h:90:20: error: invalid storage class for function ‘ptrace_unlink’
  3248. static inline void ptrace_unlink(struct task_struct *child)
  3249. ^
  3250. include/linux/ptrace.h:112:35: error: invalid storage class for function ‘ptrace_parent’
  3251. static inline struct task_struct *ptrace_parent(struct task_struct *task)
  3252. ^
  3253. include/linux/ptrace.h:128:20: error: invalid storage class for function ‘ptrace_event_enabled’
  3254. static inline bool ptrace_event_enabled(struct task_struct *task, int event)
  3255. ^
  3256. include/linux/ptrace.h:143:20: error: invalid storage class for function ‘ptrace_event’
  3257. static inline void ptrace_event(int event, unsigned long message)
  3258. ^
  3259. include/linux/ptrace.h:166:20: error: invalid storage class for function ‘ptrace_event_pid’
  3260. static inline void ptrace_event_pid(int event, struct pid *pid)
  3261. ^
  3262. include/linux/ptrace.h: In function ‘ptrace_event_pid’:
  3263. include/linux/ptrace.h:180:3: warning: passing argument 2 of ‘pid_nr_ns’ from incompatible pointer type [enabled by default]
  3264. message = pid_nr_ns(pid, ns);
  3265. ^
  3266. In file included from include/linux/sched.h:40:0,
  3267. from mm/swap.c:17:
  3268. include/linux/pid.h:172:7: note: expected ‘struct pid_namespace *’ but argument is of type ‘struct pid_namespace *’
  3269. pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
  3270. ^
  3271. In file included from ./arch/x86/include/asm/stacktrace.h:10:0,
  3272. from ./arch/x86/include/asm/perf_event.h:246,
  3273. from include/linux/perf_event.h:24,
  3274. from include/linux/trace_events.h:9,
  3275. from include/trace/trace_events.h:19,
  3276. from include/trace/define_trace.h:95,
  3277. from include/trace/events/pagemap.h:87,
  3278. from mm/swap.c:41:
  3279. include/linux/ptrace.h: In function ‘page_is_young’:
  3280. include/linux/ptrace.h:196:20: error: invalid storage class for function ‘ptrace_init_task’
  3281. static inline void ptrace_init_task(struct task_struct *child, bool ptrace)
  3282. ^
  3283. include/linux/ptrace.h:223:20: error: invalid storage class for function ‘ptrace_release_task’
  3284. static inline void ptrace_release_task(struct task_struct *task)
  3285. ^
  3286. In file included from ./arch/x86/include/asm/perf_event.h:246:0,
  3287. from include/linux/perf_event.h:24,
  3288. from include/linux/trace_events.h:9,
  3289. from include/trace/trace_events.h:19,
  3290. from include/trace/define_trace.h:95,
  3291. from include/trace/events/pagemap.h:87,
  3292. from mm/swap.c:41:
  3293. ./arch/x86/include/asm/stacktrace.h:60:1: error: invalid storage class for function ‘stack_frame’
  3294. stack_frame(struct task_struct *task, struct pt_regs *regs)
  3295. ^
  3296. ./arch/x86/include/asm/stacktrace.h: In function ‘stack_frame’:
  3297. ./arch/x86/include/asm/stacktrace.h:65:14: error: dereferencing pointer to incomplete type
  3298. return regs->bp;
  3299. ^
  3300. ./arch/x86/include/asm/stacktrace.h: In function ‘page_is_young’:
  3301. ./arch/x86/include/asm/stacktrace.h:105:29: error: invalid storage class for function ‘caller_frame_pointer’
  3302. static inline unsigned long caller_frame_pointer(void)
  3303. ^
  3304. In file included from include/linux/perf_event.h:35:0,
  3305. from include/linux/trace_events.h:9,
  3306. from include/trace/trace_events.h:19,
  3307. from include/trace/define_trace.h:95,
  3308. from include/trace/events/pagemap.h:87,
  3309. from mm/swap.c:41:
  3310. ./arch/x86/include/asm/hw_breakpoint.h:46:19: error: invalid storage class for function ‘hw_breakpoint_slots’
  3311. static inline int hw_breakpoint_slots(int type)
  3312. ^
  3313. In file included from include/linux/ftrace.h:10:0,
  3314. from include/linux/perf_event.h:47,
  3315. from include/linux/trace_events.h:9,
  3316. from include/trace/trace_events.h:19,
  3317. from include/trace/define_trace.h:95,
  3318. from include/trace/events/pagemap.h:87,
  3319. from mm/swap.c:41:
  3320. include/linux/kallsyms.h:112:6: error: invalid storage class for function ‘__check_printsym_format’
  3321. void __check_printsym_format(const char *fmt, ...)
  3322. ^
  3323. include/linux/kallsyms.h:116:20: error: invalid storage class for function ‘print_symbol’
  3324. static inline void print_symbol(const char *fmt, unsigned long addr)
  3325. ^
  3326. include/linux/kallsyms.h:123:20: error: invalid storage class for function ‘print_ip_sym’
  3327. static inline void print_ip_sym(unsigned long ip)
  3328. ^
  3329. In file included from include/linux/ftrace.h:20:0,
  3330. from include/linux/perf_event.h:47,
  3331. from include/linux/trace_events.h:9,
  3332. from include/trace/trace_events.h:19,
  3333. from include/trace/define_trace.h:95,
  3334. from include/trace/events/pagemap.h:87,
  3335. from mm/swap.c:41:
  3336. ./arch/x86/include/asm/ftrace.h:21:29: error: invalid storage class for function ‘ftrace_call_adjust’
  3337. static inline unsigned long ftrace_call_adjust(unsigned long addr)
  3338. ^
  3339. In file included from include/linux/perf_event.h:47:0,
  3340. from include/linux/trace_events.h:9,
  3341. from include/trace/trace_events.h:19,
  3342. from include/trace/define_trace.h:95,
  3343. from include/trace/events/pagemap.h:87,
  3344. from mm/swap.c:41:
  3345. include/linux/ftrace.h:207:20: error: invalid storage class for function ‘ftrace_function_local_enable’
  3346. static inline void ftrace_function_local_enable(struct ftrace_ops *ops)
  3347. ^
  3348. include/linux/ftrace.h:224:20: error: invalid storage class for function ‘ftrace_function_local_disable’
  3349. static inline void ftrace_function_local_disable(struct ftrace_ops *ops)
  3350. ^
  3351. include/linux/ftrace.h:241:19: error: invalid storage class for function ‘ftrace_function_local_disabled’
  3352. static inline int ftrace_function_local_disabled(struct ftrace_ops *ops)
  3353. ^
  3354. include/linux/ftrace.h:519:19: error: invalid storage class for function ‘ftrace_enable_ftrace_graph_caller’
  3355. static inline int ftrace_enable_ftrace_graph_caller(void) { return 0; }
  3356. ^
  3357. include/linux/ftrace.h:520:19: error: invalid storage class for function ‘ftrace_disable_ftrace_graph_caller’
  3358. static inline int ftrace_disable_ftrace_graph_caller(void) { return 0; }
  3359. ^
  3360. include/linux/ftrace.h:665:20: error: invalid storage class for function ‘tracer_disable’
  3361. static inline void tracer_disable(void)
  3362. ^
  3363. include/linux/ftrace.h:677:19: error: invalid storage class for function ‘__ftrace_enabled_save’
  3364. static inline int __ftrace_enabled_save(void)
  3365. ^
  3366. include/linux/ftrace.h:688:20: error: invalid storage class for function ‘__ftrace_enabled_restore’
  3367. static inline void __ftrace_enabled_restore(int enabled)
  3368. ^
  3369. include/linux/ftrace.h:717:29: error: invalid storage class for function ‘get_lock_parent_ip’
  3370. static inline unsigned long get_lock_parent_ip(void)
  3371. ^
  3372. include/linux/ftrace.h:853:20: error: invalid storage class for function ‘ftrace_graph_init_task’
  3373. static inline void ftrace_graph_init_task(struct task_struct *t) { }
  3374. ^
  3375. include/linux/ftrace.h:854:20: error: invalid storage class for function ‘ftrace_graph_exit_task’
  3376. static inline void ftrace_graph_exit_task(struct task_struct *t) { }
  3377. ^
  3378. include/linux/ftrace.h:855:20: error: invalid storage class for function ‘ftrace_graph_init_idle_task’
  3379. static inline void ftrace_graph_init_idle_task(struct task_struct *t, int cpu) { }
  3380. ^
  3381. include/linux/ftrace.h:857:19: error: invalid storage class for function ‘register_ftrace_graph’
  3382. static inline int register_ftrace_graph(trace_func_graph_ret_t retfunc,
  3383. ^
  3384. include/linux/ftrace.h:862:20: error: invalid storage class for function ‘unregister_ftrace_graph’
  3385. static inline void unregister_ftrace_graph(void) { }
  3386. ^
  3387. include/linux/ftrace.h:864:19: error: invalid storage class for function ‘task_curr_ret_stack’
  3388. static inline int task_curr_ret_stack(struct task_struct *tsk)
  3389. ^
  3390. include/linux/ftrace.h:869:20: error: invalid storage class for function ‘pause_graph_tracing’
  3391. static inline void pause_graph_tracing(void) { }
  3392. ^
  3393. include/linux/ftrace.h:870:20: error: invalid storage class for function ‘unpause_graph_tracing’
  3394. static inline void unpause_graph_tracing(void) { }
  3395. ^
  3396. include/linux/ftrace.h:885:20: error: invalid storage class for function ‘set_tsk_trace_trace’
  3397. static inline void set_tsk_trace_trace(struct task_struct *tsk)
  3398. ^
  3399. include/linux/ftrace.h:890:20: error: invalid storage class for function ‘clear_tsk_trace_trace’
  3400. static inline void clear_tsk_trace_trace(struct task_struct *tsk)
  3401. ^
  3402. include/linux/ftrace.h:895:19: error: invalid storage class for function ‘test_tsk_trace_trace’
  3403. static inline int test_tsk_trace_trace(struct task_struct *tsk)
  3404. ^
  3405. include/linux/ftrace.h:900:20: error: invalid storage class for function ‘set_tsk_trace_graph’
  3406. static inline void set_tsk_trace_graph(struct task_struct *tsk)
  3407. ^
  3408. include/linux/ftrace.h:905:20: error: invalid storage class for function ‘clear_tsk_trace_graph’
  3409. static inline void clear_tsk_trace_graph(struct task_struct *tsk)
  3410. ^
  3411. include/linux/ftrace.h:910:19: error: invalid storage class for function ‘test_tsk_trace_graph’
  3412. static inline int test_tsk_trace_graph(struct task_struct *tsk)
  3413. ^
  3414. In file included from include/linux/perf_event.h:49:0,
  3415. from include/linux/trace_events.h:9,
  3416. from include/trace/trace_events.h:19,
  3417. from include/trace/define_trace.h:95,
  3418. from include/trace/events/pagemap.h:87,
  3419. from mm/swap.c:41:
  3420. include/linux/irq_work.h:27:6: error: invalid storage class for function ‘init_irq_work’
  3421. void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *))
  3422. ^
  3423. In file included from include/linux/irq_work.h:45:0,
  3424. from include/linux/perf_event.h:49,
  3425. from include/linux/trace_events.h:9,
  3426. from include/trace/trace_events.h:19,
  3427. from include/trace/define_trace.h:95,
  3428. from include/trace/events/pagemap.h:87,
  3429. from mm/swap.c:41:
  3430. ./arch/x86/include/asm/irq_work.h:6:20: error: invalid storage class for function ‘arch_irq_work_has_interrupt’
  3431. static inline bool arch_irq_work_has_interrupt(void)
  3432. ^
  3433. In file included from include/linux/perf_event.h:57:0,
  3434. from include/linux/trace_events.h:9,
  3435. from include/trace/trace_events.h:19,
  3436. from include/trace/define_trace.h:95,
  3437. from include/trace/events/pagemap.h:87,
  3438. from mm/swap.c:41:
  3439. ./arch/x86/include/asm/local.h:18:20: error: invalid storage class for function ‘local_inc’
  3440. static inline void local_inc(local_t *l)
  3441. ^
  3442. ./arch/x86/include/asm/local.h:24:20: error: invalid storage class for function ‘local_dec’
  3443. static inline void local_dec(local_t *l)
  3444. ^
  3445. ./arch/x86/include/asm/local.h:30:20: error: invalid storage class for function ‘local_add’
  3446. static inline void local_add(long i, local_t *l)
  3447. ^
  3448. ./arch/x86/include/asm/local.h:37:20: error: invalid storage class for function ‘local_sub’
  3449. static inline void local_sub(long i, local_t *l)
  3450. ^
  3451. ./arch/x86/include/asm/local.h:53:19: error: invalid storage class for function ‘local_sub_and_test’
  3452. static inline int local_sub_and_test(long i, local_t *l)
  3453. ^
  3454. ./arch/x86/include/asm/local.h:66:19: error: invalid storage class for function ‘local_dec_and_test’
  3455. static inline int local_dec_and_test(local_t *l)
  3456. ^
  3457. ./arch/x86/include/asm/local.h:79:19: error: invalid storage class for function ‘local_inc_and_test’
  3458. static inline int local_inc_and_test(local_t *l)
  3459. ^
  3460. ./arch/x86/include/asm/local.h:93:19: error: invalid storage class for function ‘local_add_negative’
  3461. static inline int local_add_negative(long i, local_t *l)
  3462. ^
  3463. ./arch/x86/include/asm/local.h:105:20: error: invalid storage class for function ‘local_add_return’
  3464. static inline long local_add_return(long i, local_t *l)
  3465. ^
  3466. ./arch/x86/include/asm/local.h:114:20: error: invalid storage class for function ‘local_sub_return’
  3467. static inline long local_sub_return(long i, local_t *l)
  3468. ^
  3469. In file included from include/linux/trace_events.h:9:0,
  3470. from include/trace/trace_events.h:19,
  3471. from include/trace/define_trace.h:95,
  3472. from include/trace/events/pagemap.h:87,
  3473. from mm/swap.c:41:
  3474. include/linux/perf_event.h:876:19: error: field ‘regs_user_copy’ has incomplete type
  3475. struct pt_regs regs_user_copy;
  3476. ^
  3477. include/linux/perf_event.h:889:20: error: invalid storage class for function ‘perf_sample_data_init’
  3478. static inline void perf_sample_data_init(struct perf_sample_data *data,
  3479. ^
  3480. include/linux/perf_event.h:926:1: error: invalid storage class for function ‘is_default_overflow_handler’
  3481. is_default_overflow_handler(struct perf_event *event)
  3482. ^
  3483. include/linux/perf_event.h:947:20: error: invalid storage class for function ‘is_sampling_event’
  3484. static inline bool is_sampling_event(struct perf_event *event)
  3485. ^
  3486. include/linux/perf_event.h:955:19: error: invalid storage class for function ‘is_software_event’
  3487. static inline int is_software_event(struct perf_event *event)
  3488. ^
  3489. include/linux/perf_event.h:977:20: error: invalid storage class for function ‘perf_fetch_caller_regs’
  3490. static inline void perf_fetch_caller_regs(struct pt_regs *regs)
  3491. ^
  3492. In file included from include/linux/perf_event.h:24:0,
  3493. from include/linux/trace_events.h:9,
  3494. from include/trace/trace_events.h:19,
  3495. from include/trace/define_trace.h:95,
  3496. from include/trace/events/pagemap.h:87,
  3497. from mm/swap.c:41:
  3498. include/linux/perf_event.h: In function ‘perf_fetch_caller_regs’:
  3499. ./arch/x86/include/asm/perf_event.h:253:8: error: dereferencing pointer to incomplete type
  3500. (regs)->ip = (__ip); \
  3501. ^
  3502. include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
  3503. perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
  3504. ^
  3505. ./arch/x86/include/asm/perf_event.h:254:8: error: dereferencing pointer to incomplete type
  3506. (regs)->bp = caller_frame_pointer(); \
  3507. ^
  3508. include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
  3509. perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
  3510. ^
  3511. ./arch/x86/include/asm/perf_event.h:255:8: error: dereferencing pointer to incomplete type
  3512. (regs)->cs = __KERNEL_CS; \
  3513. ^
  3514. include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
  3515. perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
  3516. ^
  3517. ./arch/x86/include/asm/perf_event.h:256:6: error: dereferencing pointer to incomplete type
  3518. regs->flags = 0; \
  3519. ^
  3520. include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
  3521. perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
  3522. ^
  3523. ./arch/x86/include/asm/perf_event.h:259:17: error: dereferencing pointer to incomplete type
  3524. : "=m" ((regs)->sp) \
  3525. ^
  3526. include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
  3527. perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
  3528. ^
  3529. In file included from include/linux/trace_events.h:9:0,
  3530. from include/trace/trace_events.h:19,
  3531. from include/trace/define_trace.h:95,
  3532. from include/trace/events/pagemap.h:87,
  3533. from mm/swap.c:41:
  3534. include/linux/perf_event.h: In function ‘page_is_young’:
  3535. include/linux/perf_event.h:983:1: error: invalid storage class for function ‘perf_sw_event’
  3536. perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
  3537. ^
  3538. In file included from include/asm-generic/percpu.h:6:0,
  3539. from ./arch/x86/include/asm/percpu.h:551,
  3540. from ./arch/x86/include/asm/preempt.h:5,
  3541. from include/linux/preempt.h:59,
  3542. from include/linux/spinlock.h:50,
  3543. from include/linux/mmzone.h:7,
  3544. from include/linux/gfp.h:5,
  3545. from include/linux/mm.h:9,
  3546. from mm/swap.c:16:
  3547. include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
  3548. extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
  3549. ^
  3550. include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
  3551. DECLARE_PER_CPU_SECTION(type, name, "")
  3552. ^
  3553. include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3554. DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
  3555. ^
  3556. include/linux/perf_event.h:989:33: error: array type has incomplete element type
  3557. DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
  3558. ^
  3559. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  3560. extern __PCPU_ATTRS(sec) __typeof__(type) name
  3561. ^
  3562. include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3563. DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
  3564. ^
  3565. In file included from include/linux/trace_events.h:9:0,
  3566. from include/trace/trace_events.h:19,
  3567. from include/trace/define_trace.h:95,
  3568. from include/trace/events/pagemap.h:87,
  3569. from mm/swap.c:41:
  3570. include/linux/perf_event.h:997:1: error: invalid storage class for function ‘perf_sw_event_sched’
  3571. perf_sw_event_sched(u32 event_id, u64 nr, u64 addr)
  3572. ^
  3573. include/linux/perf_event.h:1010:1: error: invalid storage class for function ‘perf_sw_migrate_enabled’
  3574. perf_sw_migrate_enabled(void)
  3575. ^
  3576. include/linux/perf_event.h:1017:20: error: invalid storage class for function ‘perf_event_task_migrate’
  3577. static inline void perf_event_task_migrate(struct task_struct *task)
  3578. ^
  3579. include/linux/perf_event.h: In function ‘perf_event_task_migrate’:
  3580. include/linux/perf_event.h:1020:7: error: dereferencing pointer to incomplete type
  3581. task->sched_migrated = 1;
  3582. ^
  3583. include/linux/perf_event.h: In function ‘page_is_young’:
  3584. include/linux/perf_event.h:1023:20: error: invalid storage class for function ‘perf_event_task_sched_in’
  3585. static inline void perf_event_task_sched_in(struct task_struct *prev,
  3586. ^
  3587. In file included from include/asm-generic/bug.h:4:0,
  3588. from ./arch/x86/include/asm/bug.h:35,
  3589. from include/linux/bug.h:4,
  3590. from include/linux/mmdebug.h:4,
  3591. from include/linux/mm.h:8,
  3592. from mm/swap.c:16:
  3593. include/linux/perf_event.h: In function ‘perf_event_task_sched_in’:
  3594. include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
  3595. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3596. ^
  3597. include/linux/compiler.h:151:30: note: in definition of macro ‘__trace_if’
  3598. if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
  3599. ^
  3600. include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
  3601. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3602. ^
  3603. include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
  3604. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3605. ^
  3606. include/linux/compiler.h:151:42: note: in definition of macro ‘__trace_if’
  3607. if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
  3608. ^
  3609. include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
  3610. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3611. ^
  3612. include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
  3613. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3614. ^
  3615. include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
  3616. ______r = !!(cond); \
  3617. ^
  3618. include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
  3619. if (perf_sw_migrate_enabled() && task->sched_migrated) {
  3620. ^
  3621. In file included from include/linux/trace_events.h:9:0,
  3622. from include/trace/trace_events.h:19,
  3623. from include/trace/define_trace.h:95,
  3624. from include/trace/events/pagemap.h:87,
  3625. from mm/swap.c:41:
  3626. include/linux/perf_event.h:1034:7: error: dereferencing pointer to incomplete type
  3627. task->sched_migrated = 0;
  3628. ^
  3629. include/linux/perf_event.h: In function ‘page_is_young’:
  3630. include/linux/perf_event.h:1038:20: error: invalid storage class for function ‘perf_event_task_sched_out’
  3631. static inline void perf_event_task_sched_out(struct task_struct *prev,
  3632. ^
  3633. include/linux/perf_event.h:1047:19: error: invalid storage class for function ‘__perf_event_count’
  3634. static inline u64 __perf_event_count(struct perf_event *event)
  3635. ^
  3636. In file included from include/asm-generic/percpu.h:6:0,
  3637. from ./arch/x86/include/asm/percpu.h:551,
  3638. from ./arch/x86/include/asm/preempt.h:5,
  3639. from include/linux/preempt.h:59,
  3640. from include/linux/spinlock.h:50,
  3641. from include/linux/mmzone.h:7,
  3642. from include/linux/gfp.h:5,
  3643. from include/linux/mm.h:9,
  3644. from mm/swap.c:16:
  3645. include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
  3646. extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
  3647. ^
  3648. include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
  3649. DECLARE_PER_CPU_SECTION(type, name, "")
  3650. ^
  3651. include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3652. DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
  3653. ^
  3654. include/linux/perf_event.h:1062:46: error: section attribute cannot be specified for local variables
  3655. DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
  3656. ^
  3657. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  3658. extern __PCPU_ATTRS(sec) __typeof__(type) name
  3659. ^
  3660. include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3661. DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
  3662. ^
  3663. In file included from include/linux/trace_events.h:9:0,
  3664. from include/trace/trace_events.h:19,
  3665. from include/trace/define_trace.h:95,
  3666. from include/trace/events/pagemap.h:87,
  3667. from mm/swap.c:41:
  3668. include/linux/perf_event.h:1074:19: error: invalid storage class for function ‘perf_callchain_store’
  3669. static inline int perf_callchain_store(struct perf_callchain_entry *entry, u64 ip)
  3670. ^
  3671. include/linux/perf_event.h:1101:20: error: invalid storage class for function ‘perf_paranoid_tracepoint_raw’
  3672. static inline bool perf_paranoid_tracepoint_raw(void)
  3673. ^
  3674. include/linux/perf_event.h:1106:20: error: invalid storage class for function ‘perf_paranoid_cpu’
  3675. static inline bool perf_paranoid_cpu(void)
  3676. ^
  3677. include/linux/perf_event.h:1111:20: error: invalid storage class for function ‘perf_paranoid_kernel’
  3678. static inline bool perf_paranoid_kernel(void)
  3679. ^
  3680. include/linux/perf_event.h:1129:20: error: invalid storage class for function ‘has_branch_stack’
  3681. static inline bool has_branch_stack(struct perf_event *event)
  3682. ^
  3683. include/linux/perf_event.h:1134:20: error: invalid storage class for function ‘needs_branch_stack’
  3684. static inline bool needs_branch_stack(struct perf_event *event)
  3685. ^
  3686. include/linux/perf_event.h:1139:20: error: invalid storage class for function ‘has_aux’
  3687. static inline bool has_aux(struct perf_event *event)
  3688. ^
  3689. include/linux/perf_event.h:1144:20: error: invalid storage class for function ‘is_write_backward’
  3690. static inline bool is_write_backward(struct perf_event *event)
  3691. ^
  3692. include/linux/perf_event.h:1149:20: error: invalid storage class for function ‘has_addr_filter’
  3693. static inline bool has_addr_filter(struct perf_event *event)
  3694. ^
  3695. include/linux/perf_event.h:1158:1: error: invalid storage class for function ‘perf_event_addr_filters’
  3696. perf_event_addr_filters(struct perf_event *event)
  3697. ^
  3698. In file included from include/trace/trace_events.h:19:0,
  3699. from include/trace/define_trace.h:95,
  3700. from include/trace/events/pagemap.h:87,
  3701. from mm/swap.c:41:
  3702. include/linux/trace_events.h:141:33: error: invalid storage class for function ‘trace_handle_return’
  3703. static inline enum print_line_t trace_handle_return(struct trace_seq *s)
  3704. ^
  3705. include/linux/trace_events.h:283:1: error: invalid storage class for function ‘trace_event_name’
  3706. trace_event_name(struct trace_event_call *call)
  3707. ^
  3708. include/linux/trace_events.h: In function ‘trace_event_name’:
  3709. include/linux/trace_events.h:286:29: error: dereferencing pointer to incomplete type
  3710. return call->tp ? call->tp->name : NULL;
  3711. ^
  3712. include/linux/trace_events.h: In function ‘page_is_young’:
  3713. include/linux/trace_events.h:416:1: error: invalid storage class for function ‘trace_trigger_soft_disabled’
  3714. trace_trigger_soft_disabled(struct trace_event_file *file)
  3715. ^
  3716. include/linux/trace_events.h:434:28: error: invalid storage class for function ‘trace_call_bpf’
  3717. static inline unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx)
  3718. ^
  3719. In file included from include/asm-generic/percpu.h:6:0,
  3720. from ./arch/x86/include/asm/percpu.h:551,
  3721. from ./arch/x86/include/asm/preempt.h:5,
  3722. from include/linux/preempt.h:59,
  3723. from include/linux/spinlock.h:50,
  3724. from include/linux/mmzone.h:7,
  3725. from include/linux/gfp.h:5,
  3726. from include/linux/mm.h:9,
  3727. from mm/swap.c:16:
  3728. include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
  3729. extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
  3730. ^
  3731. include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
  3732. DECLARE_PER_CPU_SECTION(type, name, "")
  3733. ^
  3734. include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3735. DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
  3736. ^
  3737. include/linux/trace_events.h:484:33: error: section attribute cannot be specified for local variables
  3738. DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
  3739. ^
  3740. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  3741. extern __PCPU_ATTRS(sec) __typeof__(type) name
  3742. ^
  3743. include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  3744. DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
  3745. ^
  3746. In file included from include/trace/trace_events.h:19:0,
  3747. from include/trace/define_trace.h:95,
  3748. from include/trace/events/pagemap.h:87,
  3749. from mm/swap.c:41:
  3750. include/linux/trace_events.h:502:1: error: invalid storage class for function ‘perf_trace_buf_submit’
  3751. perf_trace_buf_submit(void *raw_data, int size, int rctx, u16 type,
  3752. ^
  3753. In file included from include/trace/define_trace.h:95:0,
  3754. from include/trace/events/pagemap.h:87,
  3755. from mm/swap.c:41:
  3756. include/trace/trace_events.h:108:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3757. static struct trace_event_call __used \
  3758. ^
  3759. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  3760. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  3761. ^
  3762. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3763. TRACE_EVENT(mm_lru_insertion,
  3764. ^
  3765. include/trace/trace_events.h:98:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3766. struct trace_event_raw_##name { \
  3767. ^
  3768. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3769. DECLARE_EVENT_CLASS(name, \
  3770. ^
  3771. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3772. TRACE_EVENT(mm_lru_activate,
  3773. ^
  3774. include/trace/trace_events.h:108:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3775. static struct trace_event_call __used \
  3776. ^
  3777. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  3778. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  3779. ^
  3780. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3781. TRACE_EVENT(mm_lru_activate,
  3782. ^
  3783. In file included from include/trace/define_trace.h:95:0,
  3784. from include/trace/events/pagemap.h:87,
  3785. from mm/swap.c:41:
  3786. include/trace/trace_events.h:187:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3787. struct trace_event_data_offsets_##call { \
  3788. ^
  3789. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3790. DECLARE_EVENT_CLASS(name, \
  3791. ^
  3792. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3793. TRACE_EVENT(mm_lru_insertion,
  3794. ^
  3795. include/trace/trace_events.h:187:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3796. struct trace_event_data_offsets_##call { \
  3797. ^
  3798. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3799. DECLARE_EVENT_CLASS(name, \
  3800. ^
  3801. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3802. TRACE_EVENT(mm_lru_activate,
  3803. ^
  3804. In file included from include/trace/define_trace.h:95:0,
  3805. from include/trace/events/pagemap.h:87,
  3806. from mm/swap.c:41:
  3807. include/trace/trace_events.h:313:1: error: invalid storage class for function ‘trace_raw_output_mm_lru_insertion’
  3808. trace_raw_output_##call(struct trace_iterator *iter, int flags, \
  3809. ^
  3810. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3811. DECLARE_EVENT_CLASS(name, \
  3812. ^
  3813. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3814. TRACE_EVENT(mm_lru_insertion,
  3815. ^
  3816. include/trace/trace_events.h:312:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3817. static notrace enum print_line_t \
  3818. ^
  3819. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3820. DECLARE_EVENT_CLASS(name, \
  3821. ^
  3822. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3823. TRACE_EVENT(mm_lru_insertion,
  3824. ^
  3825. include/trace/trace_events.h:331:15: error: initializer element is not constant
  3826. static struct trace_event_functions trace_event_type_funcs_##call = { \
  3827. ^
  3828. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3829. DECLARE_EVENT_CLASS(name, \
  3830. ^
  3831. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3832. TRACE_EVENT(mm_lru_insertion,
  3833. ^
  3834. include/trace/trace_events.h:331:15: error: (near initialization for ‘trace_event_type_funcs_mm_lru_insertion.trace’)
  3835. static struct trace_event_functions trace_event_type_funcs_##call = { \
  3836. ^
  3837. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3838. DECLARE_EVENT_CLASS(name, \
  3839. ^
  3840. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3841. TRACE_EVENT(mm_lru_insertion,
  3842. ^
  3843. include/trace/trace_events.h:313:1: error: invalid storage class for function ‘trace_raw_output_mm_lru_activate’
  3844. trace_raw_output_##call(struct trace_iterator *iter, int flags, \
  3845. ^
  3846. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3847. DECLARE_EVENT_CLASS(name, \
  3848. ^
  3849. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3850. TRACE_EVENT(mm_lru_activate,
  3851. ^
  3852. include/trace/trace_events.h:312:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3853. static notrace enum print_line_t \
  3854. ^
  3855. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3856. DECLARE_EVENT_CLASS(name, \
  3857. ^
  3858. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3859. TRACE_EVENT(mm_lru_activate,
  3860. ^
  3861. include/trace/trace_events.h:331:15: error: initializer element is not constant
  3862. static struct trace_event_functions trace_event_type_funcs_##call = { \
  3863. ^
  3864. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3865. DECLARE_EVENT_CLASS(name, \
  3866. ^
  3867. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3868. TRACE_EVENT(mm_lru_activate,
  3869. ^
  3870. include/trace/trace_events.h:331:15: error: (near initialization for ‘trace_event_type_funcs_mm_lru_activate.trace’)
  3871. static struct trace_event_functions trace_event_type_funcs_##call = { \
  3872. ^
  3873. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3874. DECLARE_EVENT_CLASS(name, \
  3875. ^
  3876. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3877. TRACE_EVENT(mm_lru_activate,
  3878. ^
  3879. In file included from include/trace/define_trace.h:95:0,
  3880. from include/trace/events/pagemap.h:87,
  3881. from mm/swap.c:41:
  3882. include/trace/trace_events.h:416:1: error: invalid storage class for function ‘trace_event_define_fields_mm_lru_insertion’
  3883. trace_event_define_fields_##call(struct trace_event_call *event_call) \
  3884. ^
  3885. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3886. DECLARE_EVENT_CLASS(name, \
  3887. ^
  3888. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3889. TRACE_EVENT(mm_lru_insertion,
  3890. ^
  3891. include/trace/trace_events.h:415:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3892. static int notrace __init \
  3893. ^
  3894. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3895. DECLARE_EVENT_CLASS(name, \
  3896. ^
  3897. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3898. TRACE_EVENT(mm_lru_insertion,
  3899. ^
  3900. include/trace/trace_events.h:416:1: error: invalid storage class for function ‘trace_event_define_fields_mm_lru_activate’
  3901. trace_event_define_fields_##call(struct trace_event_call *event_call) \
  3902. ^
  3903. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3904. DECLARE_EVENT_CLASS(name, \
  3905. ^
  3906. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3907. TRACE_EVENT(mm_lru_activate,
  3908. ^
  3909. include/trace/trace_events.h:415:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3910. static int notrace __init \
  3911. ^
  3912. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3913. DECLARE_EVENT_CLASS(name, \
  3914. ^
  3915. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3916. TRACE_EVENT(mm_lru_activate,
  3917. ^
  3918. In file included from include/trace/define_trace.h:95:0,
  3919. from include/trace/events/pagemap.h:87,
  3920. from mm/swap.c:41:
  3921. include/trace/trace_events.h:494:27: error: invalid storage class for function ‘trace_event_get_offsets_mm_lru_insertion’
  3922. static inline notrace int trace_event_get_offsets_##call( \
  3923. ^
  3924. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3925. DECLARE_EVENT_CLASS(name, \
  3926. ^
  3927. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3928. TRACE_EVENT(mm_lru_insertion,
  3929. ^
  3930. include/trace/trace_events.h:494:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3931. static inline notrace int trace_event_get_offsets_##call( \
  3932. ^
  3933. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3934. DECLARE_EVENT_CLASS(name, \
  3935. ^
  3936. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3937. TRACE_EVENT(mm_lru_insertion,
  3938. ^
  3939. include/trace/trace_events.h:494:27: error: invalid storage class for function ‘trace_event_get_offsets_mm_lru_activate’
  3940. static inline notrace int trace_event_get_offsets_##call( \
  3941. ^
  3942. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3943. DECLARE_EVENT_CLASS(name, \
  3944. ^
  3945. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3946. TRACE_EVENT(mm_lru_activate,
  3947. ^
  3948. include/trace/trace_events.h:494:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3949. static inline notrace int trace_event_get_offsets_##call( \
  3950. ^
  3951. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3952. DECLARE_EVENT_CLASS(name, \
  3953. ^
  3954. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  3955. TRACE_EVENT(mm_lru_activate,
  3956. ^
  3957. In file included from include/trace/define_trace.h:95:0,
  3958. from include/trace/events/pagemap.h:87,
  3959. from mm/swap.c:41:
  3960. include/trace/trace_events.h:665:1: error: invalid storage class for function ‘trace_event_raw_event_mm_lru_insertion’
  3961. trace_event_raw_event_##call(void *__data, proto) \
  3962. ^
  3963. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3964. DECLARE_EVENT_CLASS(name, \
  3965. ^
  3966. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3967. TRACE_EVENT(mm_lru_insertion,
  3968. ^
  3969. include/trace/trace_events.h:664:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3970. static notrace void \
  3971. ^
  3972. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  3973. DECLARE_EVENT_CLASS(name, \
  3974. ^
  3975. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3976. TRACE_EVENT(mm_lru_insertion,
  3977. ^
  3978. include/trace/trace_events.h:698:20: error: invalid storage class for function ‘ftrace_test_probe_mm_lru_insertion’
  3979. static inline void ftrace_test_probe_##call(void) \
  3980. ^
  3981. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  3982. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  3983. ^
  3984. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3985. TRACE_EVENT(mm_lru_insertion,
  3986. ^
  3987. include/trace/trace_events.h:698:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  3988. static inline void ftrace_test_probe_##call(void) \
  3989. ^
  3990. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  3991. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  3992. ^
  3993. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  3994. TRACE_EVENT(mm_lru_insertion,
  3995. ^
  3996. include/trace/trace_events.h:665:1: error: invalid storage class for function ‘trace_event_raw_event_mm_lru_activate’
  3997. trace_event_raw_event_##call(void *__data, proto) \
  3998. ^
  3999. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4000. DECLARE_EVENT_CLASS(name, \
  4001. ^
  4002. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4003. TRACE_EVENT(mm_lru_activate,
  4004. ^
  4005. include/trace/trace_events.h:664:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4006. static notrace void \
  4007. ^
  4008. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4009. DECLARE_EVENT_CLASS(name, \
  4010. ^
  4011. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4012. TRACE_EVENT(mm_lru_activate,
  4013. ^
  4014. include/trace/trace_events.h:698:20: error: invalid storage class for function ‘ftrace_test_probe_mm_lru_activate’
  4015. static inline void ftrace_test_probe_##call(void) \
  4016. ^
  4017. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4018. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4019. ^
  4020. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4021. TRACE_EVENT(mm_lru_activate,
  4022. ^
  4023. include/trace/trace_events.h:698:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4024. static inline void ftrace_test_probe_##call(void) \
  4025. ^
  4026. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4027. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4028. ^
  4029. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4030. TRACE_EVENT(mm_lru_activate,
  4031. ^
  4032. include/trace/trace_events.h:609:2: error: invalid storage class for function ‘perf_trace_mm_lru_insertion’
  4033. perf_trace_##call(void *__data, proto);
  4034. ^
  4035. include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
  4036. _TRACE_PERF_PROTO(call, PARAMS(proto)); \
  4037. ^
  4038. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4039. DECLARE_EVENT_CLASS(name, \
  4040. ^
  4041. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4042. TRACE_EVENT(mm_lru_insertion,
  4043. ^
  4044. include/trace/trace_events.h:608:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4045. static notrace void \
  4046. ^
  4047. include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
  4048. _TRACE_PERF_PROTO(call, PARAMS(proto)); \
  4049. ^
  4050. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4051. DECLARE_EVENT_CLASS(name, \
  4052. ^
  4053. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4054. TRACE_EVENT(mm_lru_insertion,
  4055. ^
  4056. In file included from include/trace/define_trace.h:95:0,
  4057. from include/trace/events/pagemap.h:87,
  4058. from mm/swap.c:41:
  4059. include/trace/trace_events.h:726:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4060. static char print_fmt_##call[] = print; \
  4061. ^
  4062. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4063. DECLARE_EVENT_CLASS(name, \
  4064. ^
  4065. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4066. TRACE_EVENT(mm_lru_insertion,
  4067. ^
  4068. include/trace/trace_events.h:727:50: error: redeclaration of ‘event_class_mm_lru_insertion’ with no linkage
  4069. static struct trace_event_class __used __refdata event_class_##call = { \
  4070. ^
  4071. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4072. DECLARE_EVENT_CLASS(name, \
  4073. ^
  4074. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4075. TRACE_EVENT(mm_lru_insertion,
  4076. ^
  4077. In file included from include/trace/define_trace.h:95:0,
  4078. from include/trace/events/pagemap.h:87,
  4079. from mm/swap.c:41:
  4080. include/trace/trace_events.h:104:34: note: previous declaration of ‘event_class_mm_lru_insertion’ was here
  4081. static struct trace_event_class event_class_##name;
  4082. ^
  4083. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4084. DECLARE_EVENT_CLASS(name, \
  4085. ^
  4086. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4087. TRACE_EVENT(mm_lru_insertion,
  4088. ^
  4089. In file included from include/trace/define_trace.h:95:0,
  4090. from include/trace/events/pagemap.h:87,
  4091. from mm/swap.c:41:
  4092. include/trace/trace_events.h:727:15: error: initializer element is not constant
  4093. static struct trace_event_class __used __refdata event_class_##call = { \
  4094. ^
  4095. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4096. DECLARE_EVENT_CLASS(name, \
  4097. ^
  4098. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4099. TRACE_EVENT(mm_lru_insertion,
  4100. ^
  4101. include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_insertion.define_fields’)
  4102. static struct trace_event_class __used __refdata event_class_##call = { \
  4103. ^
  4104. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4105. DECLARE_EVENT_CLASS(name, \
  4106. ^
  4107. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4108. TRACE_EVENT(mm_lru_insertion,
  4109. ^
  4110. include/trace/trace_events.h:727:15: error: initializer element is not constant
  4111. static struct trace_event_class __used __refdata event_class_##call = { \
  4112. ^
  4113. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4114. DECLARE_EVENT_CLASS(name, \
  4115. ^
  4116. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4117. TRACE_EVENT(mm_lru_insertion,
  4118. ^
  4119. include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_insertion.probe’)
  4120. static struct trace_event_class __used __refdata event_class_##call = { \
  4121. ^
  4122. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4123. DECLARE_EVENT_CLASS(name, \
  4124. ^
  4125. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4126. TRACE_EVENT(mm_lru_insertion,
  4127. ^
  4128. In file included from include/trace/define_trace.h:95:0,
  4129. from include/trace/events/pagemap.h:87,
  4130. from mm/swap.c:41:
  4131. include/trace/trace_events.h:612:17: error: ‘perf_trace_mm_lru_insertion’ undeclared (first use in this function)
  4132. .perf_probe = perf_trace_##call,
  4133. ^
  4134. include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
  4135. _TRACE_PERF_INIT(call) \
  4136. ^
  4137. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4138. DECLARE_EVENT_CLASS(name, \
  4139. ^
  4140. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4141. TRACE_EVENT(mm_lru_insertion,
  4142. ^
  4143. include/trace/trace_events.h:612:17: note: each undeclared identifier is reported only once for each function it appears in
  4144. .perf_probe = perf_trace_##call,
  4145. ^
  4146. include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
  4147. _TRACE_PERF_INIT(call) \
  4148. ^
  4149. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4150. DECLARE_EVENT_CLASS(name, \
  4151. ^
  4152. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4153. TRACE_EVENT(mm_lru_insertion,
  4154. ^
  4155. In file included from include/trace/define_trace.h:95:0,
  4156. from include/trace/events/pagemap.h:87,
  4157. from mm/swap.c:41:
  4158. include/trace/trace_events.h:740:39: error: redeclaration of ‘event_mm_lru_insertion’ with no linkage
  4159. static struct trace_event_call __used event_##call = { \
  4160. ^
  4161. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4162. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4163. ^
  4164. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4165. TRACE_EVENT(mm_lru_insertion,
  4166. ^
  4167. In file included from include/trace/define_trace.h:95:0,
  4168. from include/trace/events/pagemap.h:87,
  4169. from mm/swap.c:41:
  4170. include/trace/trace_events.h:109:34: note: previous declaration of ‘event_mm_lru_insertion’ was here
  4171. __attribute__((__aligned__(4))) event_##name
  4172. ^
  4173. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4174. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4175. ^
  4176. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4177. TRACE_EVENT(mm_lru_insertion,
  4178. ^
  4179. In file included from include/trace/define_trace.h:95:0,
  4180. from include/trace/events/pagemap.h:87,
  4181. from mm/swap.c:41:
  4182. include/trace/trace_events.h:740:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4183. static struct trace_event_call __used event_##call = { \
  4184. ^
  4185. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4186. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4187. ^
  4188. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4189. TRACE_EVENT(mm_lru_insertion,
  4190. ^
  4191. In file included from include/trace/define_trace.h:95:0,
  4192. from include/trace/events/pagemap.h:87,
  4193. from mm/swap.c:41:
  4194. include/trace/trace_events.h:609:2: error: invalid storage class for function ‘perf_trace_mm_lru_activate’
  4195. perf_trace_##call(void *__data, proto);
  4196. ^
  4197. include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
  4198. _TRACE_PERF_PROTO(call, PARAMS(proto)); \
  4199. ^
  4200. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4201. DECLARE_EVENT_CLASS(name, \
  4202. ^
  4203. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4204. TRACE_EVENT(mm_lru_activate,
  4205. ^
  4206. include/trace/trace_events.h:608:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4207. static notrace void \
  4208. ^
  4209. include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
  4210. _TRACE_PERF_PROTO(call, PARAMS(proto)); \
  4211. ^
  4212. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4213. DECLARE_EVENT_CLASS(name, \
  4214. ^
  4215. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4216. TRACE_EVENT(mm_lru_activate,
  4217. ^
  4218. In file included from include/trace/define_trace.h:95:0,
  4219. from include/trace/events/pagemap.h:87,
  4220. from mm/swap.c:41:
  4221. include/trace/trace_events.h:726:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4222. static char print_fmt_##call[] = print; \
  4223. ^
  4224. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4225. DECLARE_EVENT_CLASS(name, \
  4226. ^
  4227. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4228. TRACE_EVENT(mm_lru_activate,
  4229. ^
  4230. include/trace/trace_events.h:727:50: error: redeclaration of ‘event_class_mm_lru_activate’ with no linkage
  4231. static struct trace_event_class __used __refdata event_class_##call = { \
  4232. ^
  4233. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4234. DECLARE_EVENT_CLASS(name, \
  4235. ^
  4236. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4237. TRACE_EVENT(mm_lru_activate,
  4238. ^
  4239. In file included from include/trace/define_trace.h:95:0,
  4240. from include/trace/events/pagemap.h:87,
  4241. from mm/swap.c:41:
  4242. include/trace/trace_events.h:104:34: note: previous declaration of ‘event_class_mm_lru_activate’ was here
  4243. static struct trace_event_class event_class_##name;
  4244. ^
  4245. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4246. DECLARE_EVENT_CLASS(name, \
  4247. ^
  4248. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4249. TRACE_EVENT(mm_lru_activate,
  4250. ^
  4251. In file included from include/trace/define_trace.h:95:0,
  4252. from include/trace/events/pagemap.h:87,
  4253. from mm/swap.c:41:
  4254. include/trace/trace_events.h:727:15: error: initializer element is not constant
  4255. static struct trace_event_class __used __refdata event_class_##call = { \
  4256. ^
  4257. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4258. DECLARE_EVENT_CLASS(name, \
  4259. ^
  4260. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4261. TRACE_EVENT(mm_lru_activate,
  4262. ^
  4263. include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_activate.define_fields’)
  4264. static struct trace_event_class __used __refdata event_class_##call = { \
  4265. ^
  4266. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4267. DECLARE_EVENT_CLASS(name, \
  4268. ^
  4269. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4270. TRACE_EVENT(mm_lru_activate,
  4271. ^
  4272. include/trace/trace_events.h:727:15: error: initializer element is not constant
  4273. static struct trace_event_class __used __refdata event_class_##call = { \
  4274. ^
  4275. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4276. DECLARE_EVENT_CLASS(name, \
  4277. ^
  4278. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4279. TRACE_EVENT(mm_lru_activate,
  4280. ^
  4281. include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_activate.probe’)
  4282. static struct trace_event_class __used __refdata event_class_##call = { \
  4283. ^
  4284. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4285. DECLARE_EVENT_CLASS(name, \
  4286. ^
  4287. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4288. TRACE_EVENT(mm_lru_activate,
  4289. ^
  4290. In file included from include/trace/define_trace.h:95:0,
  4291. from include/trace/events/pagemap.h:87,
  4292. from mm/swap.c:41:
  4293. include/trace/trace_events.h:612:17: error: ‘perf_trace_mm_lru_activate’ undeclared (first use in this function)
  4294. .perf_probe = perf_trace_##call,
  4295. ^
  4296. include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
  4297. _TRACE_PERF_INIT(call) \
  4298. ^
  4299. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4300. DECLARE_EVENT_CLASS(name, \
  4301. ^
  4302. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4303. TRACE_EVENT(mm_lru_activate,
  4304. ^
  4305. In file included from include/trace/define_trace.h:95:0,
  4306. from include/trace/events/pagemap.h:87,
  4307. from mm/swap.c:41:
  4308. include/trace/trace_events.h:740:39: error: redeclaration of ‘event_mm_lru_activate’ with no linkage
  4309. static struct trace_event_call __used event_##call = { \
  4310. ^
  4311. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4312. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4313. ^
  4314. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4315. TRACE_EVENT(mm_lru_activate,
  4316. ^
  4317. In file included from include/trace/define_trace.h:95:0,
  4318. from include/trace/events/pagemap.h:87,
  4319. from mm/swap.c:41:
  4320. include/trace/trace_events.h:109:34: note: previous declaration of ‘event_mm_lru_activate’ was here
  4321. __attribute__((__aligned__(4))) event_##name
  4322. ^
  4323. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4324. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4325. ^
  4326. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4327. TRACE_EVENT(mm_lru_activate,
  4328. ^
  4329. In file included from include/trace/define_trace.h:95:0,
  4330. from include/trace/events/pagemap.h:87,
  4331. from mm/swap.c:41:
  4332. include/trace/trace_events.h:740:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4333. static struct trace_event_call __used event_##call = { \
  4334. ^
  4335. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4336. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4337. ^
  4338. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4339. TRACE_EVENT(mm_lru_activate,
  4340. ^
  4341. In file included from include/trace/define_trace.h:96:0,
  4342. from include/trace/events/pagemap.h:87,
  4343. from mm/swap.c:41:
  4344. include/trace/perf.h:32:1: error: invalid storage class for function ‘perf_trace_mm_lru_insertion’
  4345. perf_trace_##call(void *__data, proto) \
  4346. ^
  4347. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4348. DECLARE_EVENT_CLASS(name, \
  4349. ^
  4350. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4351. TRACE_EVENT(mm_lru_insertion,
  4352. ^
  4353. include/trace/perf.h:31:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4354. static notrace void \
  4355. ^
  4356. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4357. DECLARE_EVENT_CLASS(name, \
  4358. ^
  4359. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4360. TRACE_EVENT(mm_lru_insertion,
  4361. ^
  4362. include/trace/perf.h:79:20: error: invalid storage class for function ‘perf_test_probe_mm_lru_insertion’
  4363. static inline void perf_test_probe_##call(void) \
  4364. ^
  4365. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4366. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4367. ^
  4368. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4369. TRACE_EVENT(mm_lru_insertion,
  4370. ^
  4371. include/trace/perf.h:79:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4372. static inline void perf_test_probe_##call(void) \
  4373. ^
  4374. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4375. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4376. ^
  4377. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  4378. TRACE_EVENT(mm_lru_insertion,
  4379. ^
  4380. include/trace/perf.h:32:1: error: invalid storage class for function ‘perf_trace_mm_lru_activate’
  4381. perf_trace_##call(void *__data, proto) \
  4382. ^
  4383. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4384. DECLARE_EVENT_CLASS(name, \
  4385. ^
  4386. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4387. TRACE_EVENT(mm_lru_activate,
  4388. ^
  4389. include/trace/perf.h:31:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4390. static notrace void \
  4391. ^
  4392. include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
  4393. DECLARE_EVENT_CLASS(name, \
  4394. ^
  4395. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4396. TRACE_EVENT(mm_lru_activate,
  4397. ^
  4398. include/trace/perf.h:79:20: error: invalid storage class for function ‘perf_test_probe_mm_lru_activate’
  4399. static inline void perf_test_probe_##call(void) \
  4400. ^
  4401. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4402. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4403. ^
  4404. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4405. TRACE_EVENT(mm_lru_activate,
  4406. ^
  4407. include/trace/perf.h:79:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4408. static inline void perf_test_probe_##call(void) \
  4409. ^
  4410. include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
  4411. DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
  4412. ^
  4413. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  4414. TRACE_EVENT(mm_lru_activate,
  4415. ^
  4416. mm/swap.c:44:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4417. int page_cluster;
  4418. ^
  4419. In file included from include/asm-generic/percpu.h:6:0,
  4420. from ./arch/x86/include/asm/percpu.h:551,
  4421. from ./arch/x86/include/asm/preempt.h:5,
  4422. from include/linux/preempt.h:59,
  4423. from include/linux/spinlock.h:50,
  4424. from include/linux/mmzone.h:7,
  4425. from include/linux/gfp.h:5,
  4426. from include/linux/mm.h:9,
  4427. from mm/swap.c:16:
  4428. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4429. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4430. ^
  4431. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4432. DEFINE_PER_CPU_SECTION(type, name, "")
  4433. ^
  4434. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4435. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4436. ^
  4437. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4438. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4439. ^
  4440. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4441. DEFINE_PER_CPU_SECTION(type, name, "")
  4442. ^
  4443. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4444. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4445. ^
  4446. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_add_pvec’ with no linkage follows extern declaration
  4447. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4448. ^
  4449. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4450. DEFINE_PER_CPU_SECTION(type, name, "")
  4451. ^
  4452. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4453. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4454. ^
  4455. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_add_pvec’ was here
  4456. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4457. ^
  4458. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4459. DEFINE_PER_CPU_SECTION(type, name, "")
  4460. ^
  4461. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4462. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4463. ^
  4464. mm/swap.c:46:39: error: section attribute cannot be specified for local variables
  4465. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4466. ^
  4467. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4468. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4469. ^
  4470. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4471. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4472. ^
  4473. mm/swap.c:46:39: error: section attribute cannot be specified for local variables
  4474. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4475. ^
  4476. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4477. __typeof__(type) name
  4478. ^
  4479. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4480. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4481. ^
  4482. mm/swap.c:46:39: error: weak declaration of ‘lru_add_pvec’ must be public
  4483. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4484. ^
  4485. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4486. __typeof__(type) name
  4487. ^
  4488. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4489. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4490. ^
  4491. mm/swap.c:46:39: error: declaration of ‘lru_add_pvec’ with no linkage follows extern declaration
  4492. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4493. ^
  4494. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4495. __typeof__(type) name
  4496. ^
  4497. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4498. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4499. ^
  4500. mm/swap.c:46:39: note: previous declaration of ‘lru_add_pvec’ was here
  4501. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4502. ^
  4503. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4504. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4505. ^
  4506. mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4507. static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
  4508. ^
  4509. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4510. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4511. ^
  4512. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4513. DEFINE_PER_CPU_SECTION(type, name, "")
  4514. ^
  4515. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4516. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4517. ^
  4518. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4519. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4520. ^
  4521. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4522. DEFINE_PER_CPU_SECTION(type, name, "")
  4523. ^
  4524. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4525. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4526. ^
  4527. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_rotate_pvecs’ with no linkage follows extern declaration
  4528. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4529. ^
  4530. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4531. DEFINE_PER_CPU_SECTION(type, name, "")
  4532. ^
  4533. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4534. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4535. ^
  4536. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_rotate_pvecs’ was here
  4537. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4538. ^
  4539. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4540. DEFINE_PER_CPU_SECTION(type, name, "")
  4541. ^
  4542. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4543. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4544. ^
  4545. mm/swap.c:47:39: error: section attribute cannot be specified for local variables
  4546. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4547. ^
  4548. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4549. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4550. ^
  4551. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4552. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4553. ^
  4554. mm/swap.c:47:39: error: section attribute cannot be specified for local variables
  4555. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4556. ^
  4557. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4558. __typeof__(type) name
  4559. ^
  4560. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4561. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4562. ^
  4563. mm/swap.c:47:39: error: weak declaration of ‘lru_rotate_pvecs’ must be public
  4564. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4565. ^
  4566. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4567. __typeof__(type) name
  4568. ^
  4569. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4570. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4571. ^
  4572. mm/swap.c:47:39: error: declaration of ‘lru_rotate_pvecs’ with no linkage follows extern declaration
  4573. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4574. ^
  4575. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4576. __typeof__(type) name
  4577. ^
  4578. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4579. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4580. ^
  4581. mm/swap.c:47:39: note: previous declaration of ‘lru_rotate_pvecs’ was here
  4582. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4583. ^
  4584. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4585. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4586. ^
  4587. mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4588. static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
  4589. ^
  4590. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4591. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4592. ^
  4593. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4594. DEFINE_PER_CPU_SECTION(type, name, "")
  4595. ^
  4596. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4597. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4598. ^
  4599. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4600. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4601. ^
  4602. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4603. DEFINE_PER_CPU_SECTION(type, name, "")
  4604. ^
  4605. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4606. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4607. ^
  4608. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_deactivate_file_pvecs’ with no linkage follows extern declaration
  4609. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4610. ^
  4611. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4612. DEFINE_PER_CPU_SECTION(type, name, "")
  4613. ^
  4614. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4615. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4616. ^
  4617. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_deactivate_file_pvecs’ was here
  4618. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4619. ^
  4620. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4621. DEFINE_PER_CPU_SECTION(type, name, "")
  4622. ^
  4623. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4624. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4625. ^
  4626. mm/swap.c:48:39: error: section attribute cannot be specified for local variables
  4627. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4628. ^
  4629. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4630. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4631. ^
  4632. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4633. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4634. ^
  4635. mm/swap.c:48:39: error: section attribute cannot be specified for local variables
  4636. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4637. ^
  4638. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4639. __typeof__(type) name
  4640. ^
  4641. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4642. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4643. ^
  4644. mm/swap.c:48:39: error: weak declaration of ‘lru_deactivate_file_pvecs’ must be public
  4645. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4646. ^
  4647. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4648. __typeof__(type) name
  4649. ^
  4650. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4651. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4652. ^
  4653. mm/swap.c:48:39: error: declaration of ‘lru_deactivate_file_pvecs’ with no linkage follows extern declaration
  4654. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4655. ^
  4656. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4657. __typeof__(type) name
  4658. ^
  4659. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4660. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4661. ^
  4662. mm/swap.c:48:39: note: previous declaration of ‘lru_deactivate_file_pvecs’ was here
  4663. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4664. ^
  4665. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4666. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4667. ^
  4668. mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4669. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
  4670. ^
  4671. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4672. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4673. ^
  4674. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4675. DEFINE_PER_CPU_SECTION(type, name, "")
  4676. ^
  4677. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4678. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4679. ^
  4680. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4681. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4682. ^
  4683. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4684. DEFINE_PER_CPU_SECTION(type, name, "")
  4685. ^
  4686. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4687. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4688. ^
  4689. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_deactivate_pvecs’ with no linkage follows extern declaration
  4690. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4691. ^
  4692. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4693. DEFINE_PER_CPU_SECTION(type, name, "")
  4694. ^
  4695. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4696. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4697. ^
  4698. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_deactivate_pvecs’ was here
  4699. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4700. ^
  4701. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4702. DEFINE_PER_CPU_SECTION(type, name, "")
  4703. ^
  4704. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4705. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4706. ^
  4707. mm/swap.c:49:39: error: section attribute cannot be specified for local variables
  4708. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4709. ^
  4710. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4711. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4712. ^
  4713. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4714. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4715. ^
  4716. mm/swap.c:49:39: error: section attribute cannot be specified for local variables
  4717. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4718. ^
  4719. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4720. __typeof__(type) name
  4721. ^
  4722. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4723. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4724. ^
  4725. mm/swap.c:49:39: error: weak declaration of ‘lru_deactivate_pvecs’ must be public
  4726. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4727. ^
  4728. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4729. __typeof__(type) name
  4730. ^
  4731. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4732. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4733. ^
  4734. mm/swap.c:49:39: error: declaration of ‘lru_deactivate_pvecs’ with no linkage follows extern declaration
  4735. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4736. ^
  4737. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4738. __typeof__(type) name
  4739. ^
  4740. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4741. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4742. ^
  4743. mm/swap.c:49:39: note: previous declaration of ‘lru_deactivate_pvecs’ was here
  4744. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4745. ^
  4746. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4747. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4748. ^
  4749. mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4750. static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
  4751. ^
  4752. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4753. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4754. ^
  4755. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4756. DEFINE_PER_CPU_SECTION(type, name, "")
  4757. ^
  4758. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4759. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4760. ^
  4761. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4762. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4763. ^
  4764. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4765. DEFINE_PER_CPU_SECTION(type, name, "")
  4766. ^
  4767. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4768. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4769. ^
  4770. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_activate_page_pvecs’ with no linkage follows extern declaration
  4771. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4772. ^
  4773. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4774. DEFINE_PER_CPU_SECTION(type, name, "")
  4775. ^
  4776. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4777. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4778. ^
  4779. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_activate_page_pvecs’ was here
  4780. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4781. ^
  4782. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4783. DEFINE_PER_CPU_SECTION(type, name, "")
  4784. ^
  4785. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4786. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4787. ^
  4788. mm/swap.c:51:39: error: section attribute cannot be specified for local variables
  4789. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4790. ^
  4791. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4792. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4793. ^
  4794. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4795. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4796. ^
  4797. mm/swap.c:51:39: error: section attribute cannot be specified for local variables
  4798. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4799. ^
  4800. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4801. __typeof__(type) name
  4802. ^
  4803. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4804. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4805. ^
  4806. mm/swap.c:51:39: error: weak declaration of ‘activate_page_pvecs’ must be public
  4807. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4808. ^
  4809. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4810. __typeof__(type) name
  4811. ^
  4812. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4813. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4814. ^
  4815. mm/swap.c:51:39: error: declaration of ‘activate_page_pvecs’ with no linkage follows extern declaration
  4816. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4817. ^
  4818. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4819. __typeof__(type) name
  4820. ^
  4821. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4822. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4823. ^
  4824. mm/swap.c:51:39: note: previous declaration of ‘activate_page_pvecs’ was here
  4825. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4826. ^
  4827. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4828. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4829. ^
  4830. mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4831. static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
  4832. ^
  4833. mm/swap.c:58:13: error: invalid storage class for function ‘__page_cache_release’
  4834. static void __page_cache_release(struct page *page)
  4835. ^
  4836. mm/swap.c:75:13: error: invalid storage class for function ‘__put_single_page’
  4837. static void __put_single_page(struct page *page)
  4838. ^
  4839. mm/swap.c:81:13: error: invalid storage class for function ‘__put_compound_page’
  4840. static void __put_compound_page(struct page *page)
  4841. ^
  4842. mm/swap.c:113:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4843. void put_pages_list(struct list_head *pages)
  4844. ^
  4845. mm/swap.c:138:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4846. int get_kernel_pages(const struct kvec *kiov, int nr_segs, int write,
  4847. ^
  4848. mm/swap.c:166:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4849. int get_kernel_page(unsigned long start, int write, struct page **pages)
  4850. ^
  4851. mm/swap.c:177:13: error: invalid storage class for function ‘pagevec_lru_move_fn’
  4852. static void pagevec_lru_move_fn(struct pagevec *pvec,
  4853. ^
  4854. mm/swap.c:177:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4855. static void pagevec_lru_move_fn(struct pagevec *pvec,
  4856. ^
  4857. mm/swap.c:206:13: error: invalid storage class for function ‘pagevec_move_tail_fn’
  4858. static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec,
  4859. ^
  4860. mm/swap.c:222:13: error: invalid storage class for function ‘pagevec_move_tail’
  4861. static void pagevec_move_tail(struct pagevec *pvec)
  4862. ^
  4863. mm/swap.c:251:13: error: invalid storage class for function ‘update_page_reclaim_stat’
  4864. static void update_page_reclaim_stat(struct lruvec *lruvec,
  4865. ^
  4866. mm/swap.c:261:13: error: invalid storage class for function ‘__activate_page’
  4867. static void __activate_page(struct page *page, struct lruvec *lruvec,
  4868. ^
  4869. mm/swap.c:280:13: error: invalid storage class for function ‘activate_page_drain’
  4870. static void activate_page_drain(int cpu)
  4871. ^
  4872. mm/swap.c:288:13: error: invalid storage class for function ‘need_activate_page_drain’
  4873. static bool need_activate_page_drain(int cpu)
  4874. ^
  4875. mm/swap.c:325:13: error: invalid storage class for function ‘__lru_cache_activate_page’
  4876. static void __lru_cache_activate_page(struct page *page)
  4877. ^
  4878. mm/swap.c: In function ‘mark_page_accessed’:
  4879. mm/swap.c:384:2: error: implicit declaration of function ‘page_is_idle’ [-Werror=implicit-function-declaration]
  4880. if (page_is_idle(page))
  4881. ^
  4882. mm/swap.c:385:3: error: implicit declaration of function ‘clear_page_idle’ [-Werror=implicit-function-declaration]
  4883. clear_page_idle(page);
  4884. ^
  4885. mm/swap.c: In function ‘page_is_young’:
  4886. mm/swap.c:389:13: error: invalid storage class for function ‘__lru_cache_add’
  4887. static void __lru_cache_add(struct page *page)
  4888. ^
  4889. mm/swap.c:389:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4890. static void __lru_cache_add(struct page *page)
  4891. ^
  4892. mm/swap.c:428:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4893. void lru_cache_add(struct page *page)
  4894. ^
  4895. mm/swap.c:514:13: error: invalid storage class for function ‘lru_deactivate_file_fn’
  4896. static void lru_deactivate_file_fn(struct page *page, struct lruvec *lruvec,
  4897. ^
  4898. mm/swap.c:561:13: error: invalid storage class for function ‘lru_deactivate_fn’
  4899. static void lru_deactivate_fn(struct page *page, struct lruvec *lruvec,
  4900. ^
  4901. mm/swap.c:663:13: error: invalid storage class for function ‘lru_add_drain_per_cpu’
  4902. static void lru_add_drain_per_cpu(struct work_struct *dummy)
  4903. ^
  4904. In file included from include/asm-generic/percpu.h:6:0,
  4905. from ./arch/x86/include/asm/percpu.h:551,
  4906. from ./arch/x86/include/asm/preempt.h:5,
  4907. from include/linux/preempt.h:59,
  4908. from include/linux/spinlock.h:50,
  4909. from include/linux/mmzone.h:7,
  4910. from include/linux/gfp.h:5,
  4911. from include/linux/mm.h:9,
  4912. from mm/swap.c:16:
  4913. include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
  4914. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4915. ^
  4916. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4917. DEFINE_PER_CPU_SECTION(type, name, "")
  4918. ^
  4919. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4920. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4921. ^
  4922. include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
  4923. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4924. ^
  4925. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4926. DEFINE_PER_CPU_SECTION(type, name, "")
  4927. ^
  4928. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4929. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4930. ^
  4931. include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_add_drain_work’ with no linkage follows extern declaration
  4932. __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4933. ^
  4934. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4935. DEFINE_PER_CPU_SECTION(type, name, "")
  4936. ^
  4937. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4938. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4939. ^
  4940. include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_add_drain_work’ was here
  4941. extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
  4942. ^
  4943. include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
  4944. DEFINE_PER_CPU_SECTION(type, name, "")
  4945. ^
  4946. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4947. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4948. ^
  4949. mm/swap.c:668:43: error: section attribute cannot be specified for local variables
  4950. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4951. ^
  4952. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4953. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4954. ^
  4955. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4956. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4957. ^
  4958. mm/swap.c:668:43: error: section attribute cannot be specified for local variables
  4959. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4960. ^
  4961. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4962. __typeof__(type) name
  4963. ^
  4964. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4965. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4966. ^
  4967. mm/swap.c:668:43: error: weak declaration of ‘lru_add_drain_work’ must be public
  4968. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4969. ^
  4970. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4971. __typeof__(type) name
  4972. ^
  4973. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4974. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4975. ^
  4976. mm/swap.c:668:43: error: declaration of ‘lru_add_drain_work’ with no linkage follows extern declaration
  4977. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4978. ^
  4979. include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4980. __typeof__(type) name
  4981. ^
  4982. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4983. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4984. ^
  4985. mm/swap.c:668:43: note: previous declaration of ‘lru_add_drain_work’ was here
  4986. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4987. ^
  4988. include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
  4989. extern __PCPU_ATTRS(sec) __typeof__(type) name; \
  4990. ^
  4991. mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
  4992. static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
  4993. ^
  4994. mm/swap.c:791:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4995. void __pagevec_release(struct pagevec *pvec)
  4996. ^
  4997. mm/swap.c:801:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  4998. void lru_add_page_tail(struct page *page, struct page *page_tail,
  4999. ^
  5000. mm/swap.c:840:13: error: invalid storage class for function ‘__pagevec_lru_add_fn’
  5001. static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec,
  5002. ^
  5003. mm/swap.c:885:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5004. unsigned pagevec_lookup_entries(struct pagevec *pvec,
  5005. ^
  5006. mm/swap.c:940:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5007. unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
  5008. ^
  5009. mm/swap.c:952:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  5010. void __init swap_setup(void)
  5011. ^
  5012. mm/swap.c:971:1: error: expected declaration or statement at end of input
  5013. }
  5014. ^
  5015. In file included from include/asm-generic/percpu.h:6:0,
  5016. from ./arch/x86/include/asm/percpu.h:551,
  5017. from ./arch/x86/include/asm/preempt.h:5,
  5018. from include/linux/preempt.h:59,
  5019. from include/linux/spinlock.h:50,
  5020. from include/linux/mmzone.h:7,
  5021. from include/linux/gfp.h:5,
  5022. from include/linux/mm.h:9,
  5023. from mm/swap.c:16:
  5024. include/linux/trace_events.h:484:33: warning: unused variable ‘perf_trace_regs’ [-Wunused-variable]
  5025. DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
  5026. ^
  5027. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  5028. extern __PCPU_ATTRS(sec) __typeof__(type) name
  5029. ^
  5030. include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  5031. DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
  5032. ^
  5033. In file included from include/linux/trace_events.h:9:0,
  5034. from include/trace/trace_events.h:19,
  5035. from include/trace/define_trace.h:95,
  5036. from include/trace/events/pagemap.h:87,
  5037. from mm/swap.c:41:
  5038. include/linux/perf_event.h:1087:12: warning: unused variable ‘sysctl_perf_cpu_time_max_percent’ [-Wunused-variable]
  5039. extern int sysctl_perf_cpu_time_max_percent;
  5040. ^
  5041. include/linux/perf_event.h:1086:12: warning: unused variable ‘sysctl_perf_event_sample_rate’ [-Wunused-variable]
  5042. extern int sysctl_perf_event_sample_rate;
  5043. ^
  5044. include/linux/perf_event.h:1085:12: warning: unused variable ‘sysctl_perf_event_mlock’ [-Wunused-variable]
  5045. extern int sysctl_perf_event_mlock;
  5046. ^
  5047. In file included from include/asm-generic/percpu.h:6:0,
  5048. from ./arch/x86/include/asm/percpu.h:551,
  5049. from ./arch/x86/include/asm/preempt.h:5,
  5050. from include/linux/preempt.h:59,
  5051. from include/linux/spinlock.h:50,
  5052. from include/linux/mmzone.h:7,
  5053. from include/linux/gfp.h:5,
  5054. from include/linux/mm.h:9,
  5055. from mm/swap.c:16:
  5056. include/linux/perf_event.h:1062:46: warning: unused variable ‘perf_callchain_entry’ [-Wunused-variable]
  5057. DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
  5058. ^
  5059. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  5060. extern __PCPU_ATTRS(sec) __typeof__(type) name
  5061. ^
  5062. include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  5063. DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
  5064. ^
  5065. In file included from include/linux/trace_events.h:9:0,
  5066. from include/trace/trace_events.h:19,
  5067. from include/trace/define_trace.h:95,
  5068. from include/trace/events/pagemap.h:87,
  5069. from mm/swap.c:41:
  5070. include/linux/perf_event.h:1053:42: warning: unused variable ‘perf_guest_cbs’ [-Wunused-variable]
  5071. extern struct perf_guest_info_callbacks *perf_guest_cbs;
  5072. ^
  5073. In file included from include/asm-generic/percpu.h:6:0,
  5074. from ./arch/x86/include/asm/percpu.h:551,
  5075. from ./arch/x86/include/asm/preempt.h:5,
  5076. from include/linux/preempt.h:59,
  5077. from include/linux/spinlock.h:50,
  5078. from include/linux/mmzone.h:7,
  5079. from include/linux/gfp.h:5,
  5080. from include/linux/mm.h:9,
  5081. from mm/swap.c:16:
  5082. include/linux/perf_event.h:989:33: warning: unused variable ‘__perf_regs’ [-Wunused-variable]
  5083. DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
  5084. ^
  5085. include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
  5086. extern __PCPU_ATTRS(sec) __typeof__(type) name
  5087. ^
  5088. include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
  5089. DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
  5090. ^
  5091. In file included from include/linux/perf_event.h:47:0,
  5092. from include/linux/trace_events.h:9,
  5093. from include/trace/trace_events.h:19,
  5094. from include/trace/define_trace.h:95,
  5095. from include/trace/events/pagemap.h:87,
  5096. from mm/swap.c:41:
  5097. include/linux/ftrace.h:921:12: warning: unused variable ‘__disable_trace_on_warning’ [-Wunused-variable]
  5098. extern int __disable_trace_on_warning;
  5099. ^
  5100. include/linux/ftrace.h:918:12: warning: unused variable ‘tracepoint_printk’ [-Wunused-variable]
  5101. extern int tracepoint_printk;
  5102. ^
  5103. include/linux/ftrace.h:917:30: warning: unused variable ‘ftrace_dump_on_oops’ [-Wunused-variable]
  5104. extern enum ftrace_dump_mode ftrace_dump_on_oops;
  5105. ^
  5106. include/linux/ftrace.h:462:22: warning: unused variable ‘ftrace_trace_function’ [-Wunused-variable]
  5107. extern ftrace_func_t ftrace_trace_function;
  5108. ^
  5109. include/linux/ftrace.h:312:20: warning: unused variable ‘ftrace_expected’ [-Wunused-variable]
  5110. extern const void *ftrace_expected;
  5111. ^
  5112. include/linux/ftrace.h:306:29: warning: unused variable ‘ftrace_bug_type’ [-Wunused-variable]
  5113. extern enum ftrace_bug_type ftrace_bug_type;
  5114. ^
  5115. include/linux/ftrace.h:276:12: warning: unused variable ‘stack_tracer_enabled’ [-Wunused-variable]
  5116. extern int stack_tracer_enabled;
  5117. ^
  5118. include/linux/ftrace.h:274:24: warning: unused variable ‘stack_trace_max_lock’ [-Wunused-variable]
  5119. extern arch_spinlock_t stack_trace_max_lock;
  5120. ^
  5121. include/linux/ftrace.h:273:22: warning: unused variable ‘stack_trace_max_size’ [-Wunused-variable]
  5122. extern unsigned long stack_trace_max_size;
  5123. ^
  5124. include/linux/ftrace.h:272:27: warning: unused variable ‘stack_trace_max’ [-Wunused-variable]
  5125. extern struct stack_trace stack_trace_max;
  5126. ^
  5127. include/linux/ftrace.h:271:17: warning: unused variable ‘stack_trace_index’ [-Wunused-variable]
  5128. extern unsigned stack_trace_index[];
  5129. ^
  5130. include/linux/ftrace.h:185:35: warning: unused variable ‘ftrace_tracing_type’ [-Wunused-variable]
  5131. extern enum ftrace_tracing_type_t ftrace_tracing_type;
  5132. ^
  5133. In file included from include/linux/ftrace.h:20:0,
  5134. from include/linux/perf_event.h:47,
  5135. from include/linux/trace_events.h:9,
  5136. from include/trace/trace_events.h:19,
  5137. from include/trace/define_trace.h:95,
  5138. from include/trace/events/pagemap.h:87,
  5139. from mm/swap.c:41:
  5140. ./arch/x86/include/asm/ftrace.h:18:17: warning: unused variable ‘modifying_ftrace_code’ [-Wunused-variable]
  5141. extern atomic_t modifying_ftrace_code;
  5142. ^
  5143. In file included from include/linux/perf_event.h:35:0,
  5144. from include/linux/trace_events.h:9,
  5145. from include/trace/trace_events.h:19,
  5146. from include/trace/define_trace.h:95,
  5147. from include/trace/events/pagemap.h:87,
  5148. from mm/swap.c:41:
  5149. ./arch/x86/include/asm/hw_breakpoint.h:74:19: warning: unused variable ‘perf_ops_bp’ [-Wunused-variable]
  5150. extern struct pmu perf_ops_bp;
  5151. ^
  5152. In file included from ./arch/x86/include/asm/perf_event.h:246:0,
  5153. from include/linux/perf_event.h:24,
  5154. from include/linux/trace_events.h:9,
  5155. from include/trace/trace_events.h:19,
  5156. from include/trace/define_trace.h:95,
  5157. from include/trace/events/pagemap.h:87,
  5158. from mm/swap.c:41:
  5159. ./arch/x86/include/asm/stacktrace.h:92:21: warning: unused variable ‘code_bytes’ [-Wunused-variable]
  5160. extern unsigned int code_bytes;
  5161. ^
  5162. ./arch/x86/include/asm/stacktrace.h:12:12: warning: unused variable ‘kstack_depth_to_print’ [-Wunused-variable]
  5163. extern int kstack_depth_to_print;
  5164. ^
  5165. In file included from include/linux/ptrace.h:8:0,
  5166. from ./arch/x86/include/asm/stacktrace.h:10,
  5167. from ./arch/x86/include/asm/perf_event.h:246,
  5168. from include/linux/perf_event.h:24,
  5169. from include/linux/trace_events.h:9,
  5170. from include/trace/trace_events.h:19,
  5171. from include/trace/define_trace.h:95,
  5172. from include/trace/events/pagemap.h:87,
  5173. from mm/swap.c:41:
  5174. include/linux/pid_namespace.h:50:29: warning: unused variable ‘init_pid_ns’ [-Wunused-variable]
  5175. extern struct pid_namespace init_pid_ns;
  5176. ^
  5177. In file included from include/linux/ring_buffer.h:7:0,
  5178. from include/linux/trace_events.h:5,
  5179. from include/trace/trace_events.h:19,
  5180. from include/trace/define_trace.h:95,
  5181. from include/trace/events/pagemap.h:87,
  5182. from mm/swap.c:41:
  5183. include/linux/poll.h:14:25: warning: unused variable ‘epoll_table’ [-Wunused-variable]
  5184. extern struct ctl_table epoll_table[]; /* for sysctl */
  5185. ^
  5186. In file included from include/trace/events/pagemap.h:7:0,
  5187. from mm/swap.c:41:
  5188. include/linux/tracepoint.h:235:20: warning: unused variable ‘__tracepoint_mm_lru_activate’ [-Wunused-variable]
  5189. struct tracepoint __tracepoint_##name \
  5190. ^
  5191. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  5192. DEFINE_TRACE_FN(name, NULL, NULL);
  5193. ^
  5194. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  5195. DEFINE_TRACE(name)
  5196. ^
  5197. include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
  5198. TRACE_EVENT(mm_lru_activate,
  5199. ^
  5200. include/linux/tracepoint.h:235:20: warning: unused variable ‘__tracepoint_mm_lru_insertion’ [-Wunused-variable]
  5201. struct tracepoint __tracepoint_##name \
  5202. ^
  5203. include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
  5204. DEFINE_TRACE_FN(name, NULL, NULL);
  5205. ^
  5206. include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
  5207. DEFINE_TRACE(name)
  5208. ^
  5209. include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
  5210. TRACE_EVENT(mm_lru_insertion,
  5211. ^
  5212. In file included from mm/swap.c:38:0:
  5213. mm/internal.h:485:39: warning: unused variable ‘gfpflag_names’ [-Wunused-variable]
  5214. extern const struct trace_print_flags gfpflag_names[];
  5215. ^
  5216. mm/internal.h:484:39: warning: unused variable ‘vmaflag_names’ [-Wunused-variable]
  5217. extern const struct trace_print_flags vmaflag_names[];
  5218. ^
  5219. mm/internal.h:483:39: warning: unused variable ‘pageflag_names’ [-Wunused-variable]
  5220. extern const struct trace_print_flags pageflag_names[];
  5221. ^
  5222. mm/internal.h:443:12: warning: unused variable ‘hwpoison_filter_enable’ [-Wunused-variable]
  5223. extern u32 hwpoison_filter_enable;
  5224. ^
  5225. mm/internal.h:442:12: warning: unused variable ‘hwpoison_filter_memcg’ [-Wunused-variable]
  5226. extern u64 hwpoison_filter_memcg;
  5227. ^
  5228. mm/internal.h:441:12: warning: unused variable ‘hwpoison_filter_flags_value’ [-Wunused-variable]
  5229. extern u64 hwpoison_filter_flags_value;
  5230. ^
  5231. mm/internal.h:440:12: warning: unused variable ‘hwpoison_filter_flags_mask’ [-Wunused-variable]
  5232. extern u64 hwpoison_filter_flags_mask;
  5233. ^
  5234. mm/internal.h:439:12: warning: unused variable ‘hwpoison_filter_dev_minor’ [-Wunused-variable]
  5235. extern u32 hwpoison_filter_dev_minor;
  5236. ^
  5237. mm/internal.h:438:12: warning: unused variable ‘hwpoison_filter_dev_major’ [-Wunused-variable]
  5238. extern u32 hwpoison_filter_dev_major;
  5239. ^
  5240. mm/internal.h:152:12: warning: unused variable ‘user_min_free_kbytes’ [-Wunused-variable]
  5241. extern int user_min_free_kbytes;
  5242. ^
  5243. mm/internal.h:71:22: warning: unused variable ‘highest_memmap_pfn’ [-Wunused-variable]
  5244. extern unsigned long highest_memmap_pfn;
  5245. ^
  5246. In file included from mm/swap.c:36:0:
  5247. include/linux/page_idle.h:49:19: warning: unused variable ‘page_ext’ [-Wunused-variable]
  5248. struct page_ext *page_ext = lookup_page_ext(page);
  5249. ^
  5250. mm/swap.c:971:1: warning: no return statement in function returning non-void [-Wreturn-type]
  5251. }
  5252. ^
  5253. cc1: some warnings being treated as errors
  5254. make[1]: *** [mm/swap.o] Error 1
  5255. make: *** [mm] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement