Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CHK include/config/kernel.release
- UPD include/config/kernel.release
- CHK include/generated/uapi/linux/version.h
- CHK include/generated/utsrelease.h
- UPD include/generated/utsrelease.h
- CHK include/generated/bounds.h
- CHK include/generated/timeconst.h
- CHK include/generated/asm-offsets.h
- CALL scripts/checksyscalls.sh
- CHK include/generated/compile.h
- CC init/version.o
- LD init/built-in.o
- CC kernel/sys.o
- CC kernel/trace/trace.o
- LD kernel/trace/built-in.o
- CHK kernel/config_data.h
- LD kernel/built-in.o
- CC mm/swap.o
- In file included from mm/swap.c:36:0:
- include/linux/page_idle.h: In function ‘page_is_young’:
- include/linux/page_idle.h:139:0: error: unterminated argument list invoking macro "if"
- #endif /* _LINUX_MM_PAGE_IDLE_H */
- ^
- In file included from mm/swap.c:38:0:
- mm/internal.h:38:1: error: expected ‘(’ before ‘void’
- void free_pgtables(struct mmu_gather *tlb, struct vm_area_struct *start_vma,
- ^
- mm/internal.h:41:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void unmap_page_range(struct mmu_gather *tlb,
- ^
- mm/internal.h:53:29: error: invalid storage class for function ‘ra_submit’
- static inline unsigned long ra_submit(struct file_ra_state *ra,
- ^
- mm/internal.h:64:20: error: invalid storage class for function ‘set_page_refcounted’
- static inline void set_page_refcounted(struct page *page)
- ^
- mm/internal.h:131:1: error: invalid storage class for function ‘__find_buddy_index’
- __find_buddy_index(unsigned long page_idx, unsigned int order)
- ^
- mm/internal.h:139:28: error: invalid storage class for function ‘pageblock_pfn_to_page’
- static inline struct page *pageblock_pfn_to_page(unsigned long start_pfn,
- ^
- mm/internal.h:208:28: error: invalid storage class for function ‘page_order’
- static inline unsigned int page_order(struct page *page)
- ^
- mm/internal.h:227:20: error: invalid storage class for function ‘is_cow_mapping’
- static inline bool is_cow_mapping(vm_flags_t flags)
- ^
- mm/internal.h:239:20: error: invalid storage class for function ‘is_exec_mapping’
- static inline bool is_exec_mapping(vm_flags_t flags)
- ^
- mm/internal.h:250:20: error: invalid storage class for function ‘is_stack_mapping’
- static inline bool is_stack_mapping(vm_flags_t flags)
- ^
- mm/internal.h:258:20: error: invalid storage class for function ‘is_data_mapping’
- static inline bool is_data_mapping(vm_flags_t flags)
- ^
- mm/internal.h:272:20: error: invalid storage class for function ‘munlock_vma_pages_all’
- static inline void munlock_vma_pages_all(struct vm_area_struct *vma)
- ^
- mm/internal.h:299:20: error: invalid storage class for function ‘mlock_migrate_page’
- static inline void mlock_migrate_page(struct page *newpage, struct page *page)
- ^
- mm/internal.h:317:1: error: invalid storage class for function ‘__vma_address’
- __vma_address(struct page *page, struct vm_area_struct *vma)
- ^
- mm/internal.h:324:1: error: invalid storage class for function ‘vma_address’
- vma_address(struct page *page, struct vm_area_struct *vma)
- ^
- mm/internal.h:346:28: error: invalid storage class for function ‘mem_map_offset’
- static inline struct page *mem_map_offset(struct page *base, int offset)
- ^
- mm/internal.h:357:28: error: invalid storage class for function ‘mem_map_next’
- static inline struct page *mem_map_next(struct page *iter,
- ^
- mm/internal.h:406:20: error: invalid storage class for function ‘mminit_dprintk’
- static inline void mminit_dprintk(enum mminit_level level,
- ^
- mm/internal.h:411:20: error: invalid storage class for function ‘mminit_verify_pageflags_layout’
- static inline void mminit_verify_pageflags_layout(void)
- ^
- mm/internal.h:415:20: error: invalid storage class for function ‘mminit_verify_zonelist’
- static inline void mminit_verify_zonelist(void)
- ^
- mm/internal.h:425:20: error: invalid storage class for function ‘mminit_validate_memmodel_limits’
- static inline void mminit_validate_memmodel_limits(unsigned long *start_pfn,
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/linux/tracepoint.h:57:20: error: invalid storage class for function ‘trace_module_has_bad_taint’
- static inline bool trace_module_has_bad_taint(struct module *mod)
- ^
- include/linux/tracepoint.h:62:5: error: invalid storage class for function ‘register_tracepoint_module_notifier’
- int register_tracepoint_module_notifier(struct notifier_block *nb)
- ^
- include/linux/tracepoint.h:67:5: error: invalid storage class for function ‘unregister_tracepoint_module_notifier’
- int unregister_tracepoint_module_notifier(struct notifier_block *nb)
- ^
- include/linux/tracepoint.h:78:20: error: invalid storage class for function ‘tracepoint_synchronize_unregister’
- static inline void tracepoint_synchronize_unregister(void)
- ^
- include/linux/tracepoint.h:183:21: error: invalid storage class for function ‘trace_mm_lru_insertion’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion’:
- include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
- struct page *page,
- ^
- include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(
- ^
- include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
- struct page *page,
- ^
- include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/tracepoint.h:185:3: note: in expansion of macro ‘if’
- if (static_key_false(&__tracepoint_##name.key)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:155:21: error: invalid storage class for function ‘trace_mm_lru_insertion_rcuidle’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion_rcuidle’:
- include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
- struct page *page,
- ^
- include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(
- ^
- include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
- struct page *page,
- ^
- include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/tracepoint.h:157:3: note: in expansion of macro ‘if’
- if (static_key_false(&__tracepoint_##name.key)) \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:199:2: error: invalid storage class for function ‘register_trace_mm_lru_insertion’
- register_trace_##name(void (*probe)(data_proto), void *data) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:205:2: error: invalid storage class for function ‘register_trace_prio_mm_lru_insertion’
- register_trace_prio_##name(void (*probe)(data_proto), void *data,\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:212:2: error: invalid storage class for function ‘unregister_trace_mm_lru_insertion’
- unregister_trace_##name(void (*probe)(data_proto), void *data) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:218:2: error: invalid storage class for function ‘check_trace_callback_type_mm_lru_insertion’
- check_trace_callback_type_##name(void (*cb)(data_proto)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:222:2: error: invalid storage class for function ‘trace_mm_lru_insertion_enabled’
- trace_##name##_enabled(void) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_insertion_enabled’:
- include/trace/events/pagemap.h:30:10: error: invalid use of undefined type ‘struct tracepoint’
- struct page *page,
- ^
- include/linux/tracepoint.h:218:46: note: in definition of macro ‘__DECLARE_TRACE’
- check_trace_callback_type_##name(void (*cb)(data_proto)) \
- ^
- include/linux/tracepoint.h:350:4: note: in expansion of macro ‘PARAMS’
- PARAMS(void *__data, proto), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/events/pagemap.h:29:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(
- ^
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:182:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- extern struct tracepoint __tracepoint_##name; \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:183:21: error: invalid storage class for function ‘trace_mm_lru_activate’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate’:
- include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
- TP_PROTO(struct page *page),
- ^
- include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(struct page *page),
- ^
- include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
- TP_PROTO(struct page *page),
- ^
- include/linux/tracepoint.h:183:34: note: in definition of macro ‘__DECLARE_TRACE’
- static inline void trace_##name(proto) \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(struct page *page),
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/tracepoint.h:185:3: note: in expansion of macro ‘if’
- if (static_key_false(&__tracepoint_##name.key)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:189:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond),,); \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:186:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:190:3: note: in expansion of macro ‘if’
- if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:192:4: note: in expansion of macro ‘rcu_dereference_sched’
- rcu_dereference_sched(__tracepoint_##name.funcs);\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:155:21: error: invalid storage class for function ‘trace_mm_lru_activate_rcuidle’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate_rcuidle’:
- include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
- TP_PROTO(struct page *page),
- ^
- include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(struct page *page),
- ^
- include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
- TP_PROTO(struct page *page),
- ^
- include/linux/tracepoint.h:155:44: note: in definition of macro ‘__DECLARE_TRACE_RCU’
- static inline void trace_##name##_rcuidle(proto) \
- ^
- include/linux/tracepoint.h:196:28: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:24: note: in expansion of macro ‘PARAMS’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(struct page *page),
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/tracepoint.h:157:3: note: in expansion of macro ‘if’
- if (static_key_false(&__tracepoint_##name.key)) \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/cpumask.h:93:42: error: invalid use of undefined type ‘struct tracepoint’
- #define cpu_online_mask ((const struct cpumask *)&__cpu_online_mask)
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/tracepoint.h:137:3: note: in expansion of macro ‘if’
- if (!(cond)) \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:161:5: note: in expansion of macro ‘TP_CONDITION’
- TP_CONDITION(cond), \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:197:3: note: in expansion of macro ‘PARAMS’
- PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/cpumask.h:102:50: note: in expansion of macro ‘cpu_online_mask’
- #define cpu_online(cpu) cpumask_test_cpu((cpu), cpu_online_mask)
- ^
- include/linux/tracepoint.h:349:4: note: in expansion of macro ‘cpu_online’
- cpu_online(raw_smp_processor_id()), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:284:8: error: invalid use of undefined type ‘struct tracepoint’
- union { typeof(x) __val; char __c[1]; } __u; \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/compiler.h:285:2: note: in expansion of macro ‘if’
- if (check) \
- ^
- include/linux/compiler.h:291:22: note: in expansion of macro ‘__READ_ONCE’
- #define READ_ONCE(x) __READ_ONCE(x, 1)
- ^
- include/linux/compiler.h:551:26: note: in expansion of macro ‘READ_ONCE’
- typeof(p) _________p1 = READ_ONCE(p); \
- ^
- include/linux/rcupdate.h:603:48: note: in expansion of macro ‘lockless_dereference’
- typeof(*p) *________p1 = (typeof(*p) *__force)lockless_dereference(p); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/compiler.h:154:17: error: invalid use of undefined type ‘struct tracepoint’
- static struct ftrace_branch_data \
- ^
- include/linux/compiler.h:149:23: note: in expansion of macro ‘__trace_if’
- #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) )
- ^
- include/linux/rcupdate.h:544:3: note: in expansion of macro ‘if’
- if (debug_lockdep_rcu_enabled() && !__warned && (c)) { \
- ^
- include/linux/rcupdate.h:604:2: note: in expansion of macro ‘RCU_LOCKDEP_WARN’
- RCU_LOCKDEP_WARN(!(c), "suspicious rcu_dereference_check() usage"); \
- ^
- include/linux/rcupdate.h:729:2: note: in expansion of macro ‘__rcu_dereference_check’
- __rcu_dereference_check((p), (c) || rcu_read_lock_sched_held(), \
- ^
- include/linux/rcupdate.h:786:34: note: in expansion of macro ‘rcu_dereference_sched_check’
- #define rcu_dereference_sched(p) rcu_dereference_sched_check(p, 0)
- ^
- include/linux/tracepoint.h:141:17: note: in expansion of macro ‘rcu_dereference_sched’
- it_func_ptr = rcu_dereference_sched((tp)->funcs); \
- ^
- include/linux/tracepoint.h:158:4: note: in expansion of macro ‘__DO_TRACE’
- __DO_TRACE(&__tracepoint_##name, \
- ^
- include/linux/tracepoint.h:196:2: note: in expansion of macro ‘__DECLARE_TRACE_RCU’
- __DECLARE_TRACE_RCU(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:199:2: error: invalid storage class for function ‘register_trace_mm_lru_activate’
- register_trace_##name(void (*probe)(data_proto), void *data) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:205:2: error: invalid storage class for function ‘register_trace_prio_mm_lru_activate’
- register_trace_prio_##name(void (*probe)(data_proto), void *data,\
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:212:2: error: invalid storage class for function ‘unregister_trace_mm_lru_activate’
- unregister_trace_##name(void (*probe)(data_proto), void *data) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:218:2: error: invalid storage class for function ‘check_trace_callback_type_mm_lru_activate’
- check_trace_callback_type_##name(void (*cb)(data_proto)) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:222:2: error: invalid storage class for function ‘trace_mm_lru_activate_enabled’
- trace_##name##_enabled(void) \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h: In function ‘trace_mm_lru_activate_enabled’:
- include/trace/events/pagemap.h:65:18: error: invalid use of undefined type ‘struct tracepoint’
- TP_PROTO(struct page *page),
- ^
- include/linux/tracepoint.h:218:46: note: in definition of macro ‘__DECLARE_TRACE’
- check_trace_callback_type_##name(void (*cb)(data_proto)) \
- ^
- include/linux/tracepoint.h:350:4: note: in expansion of macro ‘PARAMS’
- PARAMS(void *__data, proto), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/linux/tracepoint.h:484:22: note: in expansion of macro ‘PARAMS’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/events/pagemap.h:65:2: note: in expansion of macro ‘TP_PROTO’
- TP_PROTO(struct page *page),
- ^
- include/trace/events/pagemap.h: In function ‘page_is_young’:
- include/linux/tracepoint.h:233:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static const char __tpstrtab_##name[] \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: error: variable ‘__tracepoint_mm_lru_insertion’ has initializer but incomplete type
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:20: error: section attribute cannot be specified for local variables
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:20: error: declaration of ‘__tracepoint_mm_lru_insertion’ with no linkage follows extern declaration
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:182:27: note: previous declaration of ‘__tracepoint_mm_lru_insertion’ was here
- extern struct tracepoint __tracepoint_##name; \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_insertion’)
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_insertion’)
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_insertion’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:235:20: error: storage size of ‘__tracepoint_mm_lru_insertion’ isn’t known
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/linux/tracepoint.h:233:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static const char __tpstrtab_##name[] \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: error: variable ‘__tracepoint_mm_lru_activate’ has initializer but incomplete type
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:20: error: section attribute cannot be specified for local variables
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:20: error: declaration of ‘__tracepoint_mm_lru_activate’ with no linkage follows extern declaration
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:182:27: note: previous declaration of ‘__tracepoint_mm_lru_activate’ was here
- extern struct tracepoint __tracepoint_##name; \
- ^
- include/linux/tracepoint.h:348:2: note: in expansion of macro ‘__DECLARE_TRACE’
- __DECLARE_TRACE(name, PARAMS(proto), PARAMS(args), \
- ^
- include/linux/tracepoint.h:484:2: note: in expansion of macro ‘DECLARE_TRACE’
- DECLARE_TRACE(name, PARAMS(proto), PARAMS(args))
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_activate’)
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: error: extra brace group at end of initializer
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: error: (near initialization for ‘__tracepoint_mm_lru_activate’)
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: excess elements in struct initializer [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:9: warning: (near initialization for ‘__tracepoint_mm_lru_activate’) [enabled by default]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:20: error: storage size of ‘__tracepoint_mm_lru_activate’ isn’t known
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/linux/ring_buffer.h:4:0,
- from include/linux/trace_events.h:5,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/kmemcheck.h:93:1: error: invalid storage class for function ‘kmemcheck_alloc_shadow’
- kmemcheck_alloc_shadow(struct page *page, int order, gfp_t flags, int node)
- ^
- include/linux/kmemcheck.h:92:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline void
- ^
- include/linux/kmemcheck.h:98:1: error: invalid storage class for function ‘kmemcheck_free_shadow’
- kmemcheck_free_shadow(struct page *page, int order)
- ^
- include/linux/kmemcheck.h:103:1: error: invalid storage class for function ‘kmemcheck_slab_alloc’
- kmemcheck_slab_alloc(struct kmem_cache *s, gfp_t gfpflags, void *object,
- ^
- include/linux/kmemcheck.h:108:20: error: invalid storage class for function ‘kmemcheck_slab_free’
- static inline void kmemcheck_slab_free(struct kmem_cache *s, void *object,
- ^
- include/linux/kmemcheck.h:113:20: error: invalid storage class for function ‘kmemcheck_pagealloc_alloc’
- static inline void kmemcheck_pagealloc_alloc(struct page *p,
- ^
- include/linux/kmemcheck.h:118:20: error: invalid storage class for function ‘kmemcheck_page_is_tracked’
- static inline bool kmemcheck_page_is_tracked(struct page *p)
- ^
- include/linux/kmemcheck.h:123:20: error: invalid storage class for function ‘kmemcheck_mark_unallocated’
- static inline void kmemcheck_mark_unallocated(void *address, unsigned int n)
- ^
- include/linux/kmemcheck.h:127:20: error: invalid storage class for function ‘kmemcheck_mark_uninitialized’
- static inline void kmemcheck_mark_uninitialized(void *address, unsigned int n)
- ^
- include/linux/kmemcheck.h:131:20: error: invalid storage class for function ‘kmemcheck_mark_initialized’
- static inline void kmemcheck_mark_initialized(void *address, unsigned int n)
- ^
- include/linux/kmemcheck.h:135:20: error: invalid storage class for function ‘kmemcheck_mark_freed’
- static inline void kmemcheck_mark_freed(void *address, unsigned int n)
- ^
- include/linux/kmemcheck.h:139:20: error: invalid storage class for function ‘kmemcheck_mark_unallocated_pages’
- static inline void kmemcheck_mark_unallocated_pages(struct page *p,
- ^
- include/linux/kmemcheck.h:144:20: error: invalid storage class for function ‘kmemcheck_mark_uninitialized_pages’
- static inline void kmemcheck_mark_uninitialized_pages(struct page *p,
- ^
- include/linux/kmemcheck.h:149:20: error: invalid storage class for function ‘kmemcheck_mark_initialized_pages’
- static inline void kmemcheck_mark_initialized_pages(struct page *p,
- ^
- include/linux/kmemcheck.h:154:20: error: invalid storage class for function ‘kmemcheck_is_obj_initialized’
- static inline bool kmemcheck_is_obj_initialized(unsigned long addr, size_t size)
- ^
- In file included from include/linux/ring_buffer.h:7:0,
- from include/linux/trace_events.h:5,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/poll.h:42:20: error: invalid storage class for function ‘poll_wait’
- static inline void poll_wait(struct file * filp, wait_queue_head_t * wait_address, poll_table *p)
- ^
- include/linux/poll.h:53:20: error: invalid storage class for function ‘poll_does_not_wait’
- static inline bool poll_does_not_wait(const poll_table *p)
- ^
- include/linux/poll.h:64:29: error: invalid storage class for function ‘poll_requested_events’
- static inline unsigned long poll_requested_events(const poll_table *p)
- ^
- include/linux/poll.h:69:20: error: invalid storage class for function ‘init_poll_funcptr’
- static inline void init_poll_funcptr(poll_table *pt, poll_queue_proc qproc)
- ^
- include/linux/poll.h:102:19: error: invalid storage class for function ‘poll_schedule’
- static inline int poll_schedule(struct poll_wqueues *pwq, int state)
- ^
- include/linux/poll.h:130:5: error: invalid storage class for function ‘get_fd_set’
- int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset)
- ^
- include/linux/poll.h:141:1: error: invalid storage class for function ‘set_fd_set’
- set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset)
- ^
- include/linux/poll.h:149:6: error: invalid storage class for function ‘zero_fd_set’
- void zero_fd_set(unsigned long nr, unsigned long *fdset)
- ^
- In file included from include/linux/trace_seq.h:4:0,
- from include/linux/trace_events.h:6,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/seq_buf.h:25:20: error: invalid storage class for function ‘seq_buf_clear’
- static inline void seq_buf_clear(struct seq_buf *s)
- ^
- include/linux/seq_buf.h:32:1: error: invalid storage class for function ‘seq_buf_init’
- seq_buf_init(struct seq_buf *s, unsigned char *buf, unsigned int size)
- ^
- include/linux/seq_buf.h:44:1: error: invalid storage class for function ‘seq_buf_has_overflowed’
- seq_buf_has_overflowed(struct seq_buf *s)
- ^
- include/linux/seq_buf.h:50:1: error: invalid storage class for function ‘seq_buf_set_overflow’
- seq_buf_set_overflow(struct seq_buf *s)
- ^
- include/linux/seq_buf.h:59:1: error: invalid storage class for function ‘seq_buf_buffer_left’
- seq_buf_buffer_left(struct seq_buf *s)
- ^
- include/linux/seq_buf.h:68:28: error: invalid storage class for function ‘seq_buf_used’
- static inline unsigned int seq_buf_used(struct seq_buf *s)
- ^
- include/linux/seq_buf.h:81:22: error: invalid storage class for function ‘seq_buf_get_buf’
- static inline size_t seq_buf_get_buf(struct seq_buf *s, char **bufp)
- ^
- include/linux/seq_buf.h:103:20: error: invalid storage class for function ‘seq_buf_commit’
- static inline void seq_buf_commit(struct seq_buf *s, int num)
- ^
- In file included from include/linux/trace_events.h:6:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/trace_seq.h:20:1: error: invalid storage class for function ‘trace_seq_init’
- trace_seq_init(struct trace_seq *s)
- ^
- include/linux/trace_seq.h:39:19: error: invalid storage class for function ‘trace_seq_used’
- static inline int trace_seq_used(struct trace_seq *s)
- ^
- include/linux/trace_seq.h:54:1: error: invalid storage class for function ‘trace_seq_buffer_ptr’
- trace_seq_buffer_ptr(struct trace_seq *s)
- ^
- include/linux/trace_seq.h:66:20: error: invalid storage class for function ‘trace_seq_has_overflowed’
- static inline bool trace_seq_has_overflowed(struct trace_seq *s)
- ^
- In file included from include/linux/ptrace.h:8:0,
- from ./arch/x86/include/asm/stacktrace.h:10,
- from ./arch/x86/include/asm/perf_event.h:246,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/pid_namespace.h:50:29: error: conflicting types for ‘init_pid_ns’
- extern struct pid_namespace init_pid_ns;
- ^
- In file included from mm/swap.c:17:0:
- include/linux/sched.h:2560:29: note: previous declaration of ‘init_pid_ns’ was here
- extern struct pid_namespace init_pid_ns;
- ^
- In file included from include/linux/ptrace.h:8:0,
- from ./arch/x86/include/asm/stacktrace.h:10,
- from ./arch/x86/include/asm/perf_event.h:246,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/pid_namespace.h:71:37: error: invalid storage class for function ‘get_pid_ns’
- static inline struct pid_namespace *get_pid_ns(struct pid_namespace *ns)
- ^
- include/linux/pid_namespace.h:76:37: error: invalid storage class for function ‘copy_pid_ns’
- static inline struct pid_namespace *copy_pid_ns(unsigned long flags,
- ^
- include/linux/pid_namespace.h:84:20: error: invalid storage class for function ‘put_pid_ns’
- static inline void put_pid_ns(struct pid_namespace *ns)
- ^
- include/linux/pid_namespace.h:88:20: error: invalid storage class for function ‘zap_pid_ns_processes’
- static inline void zap_pid_ns_processes(struct pid_namespace *ns)
- ^
- include/linux/pid_namespace.h:93:19: error: invalid storage class for function ‘reboot_pid_ns’
- static inline int reboot_pid_ns(struct pid_namespace *pid_ns, int cmd)
- ^
- In file included from ./arch/x86/include/asm/stacktrace.h:10:0,
- from ./arch/x86/include/asm/perf_event.h:246,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/ptrace.h:85:19: error: invalid storage class for function ‘ptrace_reparented’
- static inline int ptrace_reparented(struct task_struct *child)
- ^
- include/linux/ptrace.h:90:20: error: invalid storage class for function ‘ptrace_unlink’
- static inline void ptrace_unlink(struct task_struct *child)
- ^
- include/linux/ptrace.h:112:35: error: invalid storage class for function ‘ptrace_parent’
- static inline struct task_struct *ptrace_parent(struct task_struct *task)
- ^
- include/linux/ptrace.h:128:20: error: invalid storage class for function ‘ptrace_event_enabled’
- static inline bool ptrace_event_enabled(struct task_struct *task, int event)
- ^
- include/linux/ptrace.h:143:20: error: invalid storage class for function ‘ptrace_event’
- static inline void ptrace_event(int event, unsigned long message)
- ^
- include/linux/ptrace.h:166:20: error: invalid storage class for function ‘ptrace_event_pid’
- static inline void ptrace_event_pid(int event, struct pid *pid)
- ^
- include/linux/ptrace.h: In function ‘ptrace_event_pid’:
- include/linux/ptrace.h:180:3: warning: passing argument 2 of ‘pid_nr_ns’ from incompatible pointer type [enabled by default]
- message = pid_nr_ns(pid, ns);
- ^
- In file included from include/linux/sched.h:40:0,
- from mm/swap.c:17:
- include/linux/pid.h:172:7: note: expected ‘struct pid_namespace *’ but argument is of type ‘struct pid_namespace *’
- pid_t pid_nr_ns(struct pid *pid, struct pid_namespace *ns);
- ^
- In file included from ./arch/x86/include/asm/stacktrace.h:10:0,
- from ./arch/x86/include/asm/perf_event.h:246,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/ptrace.h: In function ‘page_is_young’:
- include/linux/ptrace.h:196:20: error: invalid storage class for function ‘ptrace_init_task’
- static inline void ptrace_init_task(struct task_struct *child, bool ptrace)
- ^
- include/linux/ptrace.h:223:20: error: invalid storage class for function ‘ptrace_release_task’
- static inline void ptrace_release_task(struct task_struct *task)
- ^
- In file included from ./arch/x86/include/asm/perf_event.h:246:0,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/stacktrace.h:60:1: error: invalid storage class for function ‘stack_frame’
- stack_frame(struct task_struct *task, struct pt_regs *regs)
- ^
- ./arch/x86/include/asm/stacktrace.h: In function ‘stack_frame’:
- ./arch/x86/include/asm/stacktrace.h:65:14: error: dereferencing pointer to incomplete type
- return regs->bp;
- ^
- ./arch/x86/include/asm/stacktrace.h: In function ‘page_is_young’:
- ./arch/x86/include/asm/stacktrace.h:105:29: error: invalid storage class for function ‘caller_frame_pointer’
- static inline unsigned long caller_frame_pointer(void)
- ^
- In file included from include/linux/perf_event.h:35:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/hw_breakpoint.h:46:19: error: invalid storage class for function ‘hw_breakpoint_slots’
- static inline int hw_breakpoint_slots(int type)
- ^
- In file included from include/linux/ftrace.h:10:0,
- from include/linux/perf_event.h:47,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/kallsyms.h:112:6: error: invalid storage class for function ‘__check_printsym_format’
- void __check_printsym_format(const char *fmt, ...)
- ^
- include/linux/kallsyms.h:116:20: error: invalid storage class for function ‘print_symbol’
- static inline void print_symbol(const char *fmt, unsigned long addr)
- ^
- include/linux/kallsyms.h:123:20: error: invalid storage class for function ‘print_ip_sym’
- static inline void print_ip_sym(unsigned long ip)
- ^
- In file included from include/linux/ftrace.h:20:0,
- from include/linux/perf_event.h:47,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/ftrace.h:21:29: error: invalid storage class for function ‘ftrace_call_adjust’
- static inline unsigned long ftrace_call_adjust(unsigned long addr)
- ^
- In file included from include/linux/perf_event.h:47:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/ftrace.h:207:20: error: invalid storage class for function ‘ftrace_function_local_enable’
- static inline void ftrace_function_local_enable(struct ftrace_ops *ops)
- ^
- include/linux/ftrace.h:224:20: error: invalid storage class for function ‘ftrace_function_local_disable’
- static inline void ftrace_function_local_disable(struct ftrace_ops *ops)
- ^
- include/linux/ftrace.h:241:19: error: invalid storage class for function ‘ftrace_function_local_disabled’
- static inline int ftrace_function_local_disabled(struct ftrace_ops *ops)
- ^
- include/linux/ftrace.h:519:19: error: invalid storage class for function ‘ftrace_enable_ftrace_graph_caller’
- static inline int ftrace_enable_ftrace_graph_caller(void) { return 0; }
- ^
- include/linux/ftrace.h:520:19: error: invalid storage class for function ‘ftrace_disable_ftrace_graph_caller’
- static inline int ftrace_disable_ftrace_graph_caller(void) { return 0; }
- ^
- include/linux/ftrace.h:665:20: error: invalid storage class for function ‘tracer_disable’
- static inline void tracer_disable(void)
- ^
- include/linux/ftrace.h:677:19: error: invalid storage class for function ‘__ftrace_enabled_save’
- static inline int __ftrace_enabled_save(void)
- ^
- include/linux/ftrace.h:688:20: error: invalid storage class for function ‘__ftrace_enabled_restore’
- static inline void __ftrace_enabled_restore(int enabled)
- ^
- include/linux/ftrace.h:717:29: error: invalid storage class for function ‘get_lock_parent_ip’
- static inline unsigned long get_lock_parent_ip(void)
- ^
- include/linux/ftrace.h:853:20: error: invalid storage class for function ‘ftrace_graph_init_task’
- static inline void ftrace_graph_init_task(struct task_struct *t) { }
- ^
- include/linux/ftrace.h:854:20: error: invalid storage class for function ‘ftrace_graph_exit_task’
- static inline void ftrace_graph_exit_task(struct task_struct *t) { }
- ^
- include/linux/ftrace.h:855:20: error: invalid storage class for function ‘ftrace_graph_init_idle_task’
- static inline void ftrace_graph_init_idle_task(struct task_struct *t, int cpu) { }
- ^
- include/linux/ftrace.h:857:19: error: invalid storage class for function ‘register_ftrace_graph’
- static inline int register_ftrace_graph(trace_func_graph_ret_t retfunc,
- ^
- include/linux/ftrace.h:862:20: error: invalid storage class for function ‘unregister_ftrace_graph’
- static inline void unregister_ftrace_graph(void) { }
- ^
- include/linux/ftrace.h:864:19: error: invalid storage class for function ‘task_curr_ret_stack’
- static inline int task_curr_ret_stack(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:869:20: error: invalid storage class for function ‘pause_graph_tracing’
- static inline void pause_graph_tracing(void) { }
- ^
- include/linux/ftrace.h:870:20: error: invalid storage class for function ‘unpause_graph_tracing’
- static inline void unpause_graph_tracing(void) { }
- ^
- include/linux/ftrace.h:885:20: error: invalid storage class for function ‘set_tsk_trace_trace’
- static inline void set_tsk_trace_trace(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:890:20: error: invalid storage class for function ‘clear_tsk_trace_trace’
- static inline void clear_tsk_trace_trace(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:895:19: error: invalid storage class for function ‘test_tsk_trace_trace’
- static inline int test_tsk_trace_trace(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:900:20: error: invalid storage class for function ‘set_tsk_trace_graph’
- static inline void set_tsk_trace_graph(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:905:20: error: invalid storage class for function ‘clear_tsk_trace_graph’
- static inline void clear_tsk_trace_graph(struct task_struct *tsk)
- ^
- include/linux/ftrace.h:910:19: error: invalid storage class for function ‘test_tsk_trace_graph’
- static inline int test_tsk_trace_graph(struct task_struct *tsk)
- ^
- In file included from include/linux/perf_event.h:49:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/irq_work.h:27:6: error: invalid storage class for function ‘init_irq_work’
- void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *))
- ^
- In file included from include/linux/irq_work.h:45:0,
- from include/linux/perf_event.h:49,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/irq_work.h:6:20: error: invalid storage class for function ‘arch_irq_work_has_interrupt’
- static inline bool arch_irq_work_has_interrupt(void)
- ^
- In file included from include/linux/perf_event.h:57:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/local.h:18:20: error: invalid storage class for function ‘local_inc’
- static inline void local_inc(local_t *l)
- ^
- ./arch/x86/include/asm/local.h:24:20: error: invalid storage class for function ‘local_dec’
- static inline void local_dec(local_t *l)
- ^
- ./arch/x86/include/asm/local.h:30:20: error: invalid storage class for function ‘local_add’
- static inline void local_add(long i, local_t *l)
- ^
- ./arch/x86/include/asm/local.h:37:20: error: invalid storage class for function ‘local_sub’
- static inline void local_sub(long i, local_t *l)
- ^
- ./arch/x86/include/asm/local.h:53:19: error: invalid storage class for function ‘local_sub_and_test’
- static inline int local_sub_and_test(long i, local_t *l)
- ^
- ./arch/x86/include/asm/local.h:66:19: error: invalid storage class for function ‘local_dec_and_test’
- static inline int local_dec_and_test(local_t *l)
- ^
- ./arch/x86/include/asm/local.h:79:19: error: invalid storage class for function ‘local_inc_and_test’
- static inline int local_inc_and_test(local_t *l)
- ^
- ./arch/x86/include/asm/local.h:93:19: error: invalid storage class for function ‘local_add_negative’
- static inline int local_add_negative(long i, local_t *l)
- ^
- ./arch/x86/include/asm/local.h:105:20: error: invalid storage class for function ‘local_add_return’
- static inline long local_add_return(long i, local_t *l)
- ^
- ./arch/x86/include/asm/local.h:114:20: error: invalid storage class for function ‘local_sub_return’
- static inline long local_sub_return(long i, local_t *l)
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:876:19: error: field ‘regs_user_copy’ has incomplete type
- struct pt_regs regs_user_copy;
- ^
- include/linux/perf_event.h:889:20: error: invalid storage class for function ‘perf_sample_data_init’
- static inline void perf_sample_data_init(struct perf_sample_data *data,
- ^
- include/linux/perf_event.h:926:1: error: invalid storage class for function ‘is_default_overflow_handler’
- is_default_overflow_handler(struct perf_event *event)
- ^
- include/linux/perf_event.h:947:20: error: invalid storage class for function ‘is_sampling_event’
- static inline bool is_sampling_event(struct perf_event *event)
- ^
- include/linux/perf_event.h:955:19: error: invalid storage class for function ‘is_software_event’
- static inline int is_software_event(struct perf_event *event)
- ^
- include/linux/perf_event.h:977:20: error: invalid storage class for function ‘perf_fetch_caller_regs’
- static inline void perf_fetch_caller_regs(struct pt_regs *regs)
- ^
- In file included from include/linux/perf_event.h:24:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h: In function ‘perf_fetch_caller_regs’:
- ./arch/x86/include/asm/perf_event.h:253:8: error: dereferencing pointer to incomplete type
- (regs)->ip = (__ip); \
- ^
- include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
- perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
- ^
- ./arch/x86/include/asm/perf_event.h:254:8: error: dereferencing pointer to incomplete type
- (regs)->bp = caller_frame_pointer(); \
- ^
- include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
- perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
- ^
- ./arch/x86/include/asm/perf_event.h:255:8: error: dereferencing pointer to incomplete type
- (regs)->cs = __KERNEL_CS; \
- ^
- include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
- perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
- ^
- ./arch/x86/include/asm/perf_event.h:256:6: error: dereferencing pointer to incomplete type
- regs->flags = 0; \
- ^
- include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
- perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
- ^
- ./arch/x86/include/asm/perf_event.h:259:17: error: dereferencing pointer to incomplete type
- : "=m" ((regs)->sp) \
- ^
- include/linux/perf_event.h:979:2: note: in expansion of macro ‘perf_arch_fetch_caller_regs’
- perf_arch_fetch_caller_regs(regs, CALLER_ADDR0);
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h: In function ‘page_is_young’:
- include/linux/perf_event.h:983:1: error: invalid storage class for function ‘perf_sw_event’
- perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
- ^
- include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
- DECLARE_PER_CPU_SECTION(type, name, "")
- ^
- include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
- ^
- include/linux/perf_event.h:989:33: error: array type has incomplete element type
- DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:997:1: error: invalid storage class for function ‘perf_sw_event_sched’
- perf_sw_event_sched(u32 event_id, u64 nr, u64 addr)
- ^
- include/linux/perf_event.h:1010:1: error: invalid storage class for function ‘perf_sw_migrate_enabled’
- perf_sw_migrate_enabled(void)
- ^
- include/linux/perf_event.h:1017:20: error: invalid storage class for function ‘perf_event_task_migrate’
- static inline void perf_event_task_migrate(struct task_struct *task)
- ^
- include/linux/perf_event.h: In function ‘perf_event_task_migrate’:
- include/linux/perf_event.h:1020:7: error: dereferencing pointer to incomplete type
- task->sched_migrated = 1;
- ^
- include/linux/perf_event.h: In function ‘page_is_young’:
- include/linux/perf_event.h:1023:20: error: invalid storage class for function ‘perf_event_task_sched_in’
- static inline void perf_event_task_sched_in(struct task_struct *prev,
- ^
- In file included from include/asm-generic/bug.h:4:0,
- from ./arch/x86/include/asm/bug.h:35,
- from include/linux/bug.h:4,
- from include/linux/mmdebug.h:4,
- from include/linux/mm.h:8,
- from mm/swap.c:16:
- include/linux/perf_event.h: In function ‘perf_event_task_sched_in’:
- include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- include/linux/compiler.h:151:30: note: in definition of macro ‘__trace_if’
- if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
- ^
- include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- include/linux/compiler.h:151:42: note: in definition of macro ‘__trace_if’
- if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
- ^
- include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- include/linux/perf_event.h:1029:39: error: dereferencing pointer to incomplete type
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- include/linux/compiler.h:162:16: note: in definition of macro ‘__trace_if’
- ______r = !!(cond); \
- ^
- include/linux/perf_event.h:1029:2: note: in expansion of macro ‘if’
- if (perf_sw_migrate_enabled() && task->sched_migrated) {
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:1034:7: error: dereferencing pointer to incomplete type
- task->sched_migrated = 0;
- ^
- include/linux/perf_event.h: In function ‘page_is_young’:
- include/linux/perf_event.h:1038:20: error: invalid storage class for function ‘perf_event_task_sched_out’
- static inline void perf_event_task_sched_out(struct task_struct *prev,
- ^
- include/linux/perf_event.h:1047:19: error: invalid storage class for function ‘__perf_event_count’
- static inline u64 __perf_event_count(struct perf_event *event)
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
- ^
- include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
- DECLARE_PER_CPU_SECTION(type, name, "")
- ^
- include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
- ^
- include/linux/perf_event.h:1062:46: error: section attribute cannot be specified for local variables
- DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:1074:19: error: invalid storage class for function ‘perf_callchain_store’
- static inline int perf_callchain_store(struct perf_callchain_entry *entry, u64 ip)
- ^
- include/linux/perf_event.h:1101:20: error: invalid storage class for function ‘perf_paranoid_tracepoint_raw’
- static inline bool perf_paranoid_tracepoint_raw(void)
- ^
- include/linux/perf_event.h:1106:20: error: invalid storage class for function ‘perf_paranoid_cpu’
- static inline bool perf_paranoid_cpu(void)
- ^
- include/linux/perf_event.h:1111:20: error: invalid storage class for function ‘perf_paranoid_kernel’
- static inline bool perf_paranoid_kernel(void)
- ^
- include/linux/perf_event.h:1129:20: error: invalid storage class for function ‘has_branch_stack’
- static inline bool has_branch_stack(struct perf_event *event)
- ^
- include/linux/perf_event.h:1134:20: error: invalid storage class for function ‘needs_branch_stack’
- static inline bool needs_branch_stack(struct perf_event *event)
- ^
- include/linux/perf_event.h:1139:20: error: invalid storage class for function ‘has_aux’
- static inline bool has_aux(struct perf_event *event)
- ^
- include/linux/perf_event.h:1144:20: error: invalid storage class for function ‘is_write_backward’
- static inline bool is_write_backward(struct perf_event *event)
- ^
- include/linux/perf_event.h:1149:20: error: invalid storage class for function ‘has_addr_filter’
- static inline bool has_addr_filter(struct perf_event *event)
- ^
- include/linux/perf_event.h:1158:1: error: invalid storage class for function ‘perf_event_addr_filters’
- perf_event_addr_filters(struct perf_event *event)
- ^
- In file included from include/trace/trace_events.h:19:0,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/trace_events.h:141:33: error: invalid storage class for function ‘trace_handle_return’
- static inline enum print_line_t trace_handle_return(struct trace_seq *s)
- ^
- include/linux/trace_events.h:283:1: error: invalid storage class for function ‘trace_event_name’
- trace_event_name(struct trace_event_call *call)
- ^
- include/linux/trace_events.h: In function ‘trace_event_name’:
- include/linux/trace_events.h:286:29: error: dereferencing pointer to incomplete type
- return call->tp ? call->tp->name : NULL;
- ^
- include/linux/trace_events.h: In function ‘page_is_young’:
- include/linux/trace_events.h:416:1: error: invalid storage class for function ‘trace_trigger_soft_disabled’
- trace_trigger_soft_disabled(struct trace_event_file *file)
- ^
- include/linux/trace_events.h:434:28: error: invalid storage class for function ‘trace_call_bpf’
- static inline unsigned int trace_call_bpf(struct bpf_prog *prog, void *ctx)
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/percpu-defs.h:86:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_scope_##name; \
- ^
- include/linux/percpu-defs.h:113:2: note: in expansion of macro ‘DECLARE_PER_CPU_SECTION’
- DECLARE_PER_CPU_SECTION(type, name, "")
- ^
- include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
- ^
- include/linux/trace_events.h:484:33: error: section attribute cannot be specified for local variables
- DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
- ^
- In file included from include/trace/trace_events.h:19:0,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/trace_events.h:502:1: error: invalid storage class for function ‘perf_trace_buf_submit’
- perf_trace_buf_submit(void *raw_data, int size, int rctx, u16 type,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:108:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct trace_event_call __used \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:98:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct trace_event_raw_##name { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:108:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct trace_event_call __used \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:187:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct trace_event_data_offsets_##call { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:187:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- struct trace_event_data_offsets_##call { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:313:1: error: invalid storage class for function ‘trace_raw_output_mm_lru_insertion’
- trace_raw_output_##call(struct trace_iterator *iter, int flags, \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:312:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace enum print_line_t \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:331:15: error: initializer element is not constant
- static struct trace_event_functions trace_event_type_funcs_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:331:15: error: (near initialization for ‘trace_event_type_funcs_mm_lru_insertion.trace’)
- static struct trace_event_functions trace_event_type_funcs_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:313:1: error: invalid storage class for function ‘trace_raw_output_mm_lru_activate’
- trace_raw_output_##call(struct trace_iterator *iter, int flags, \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:312:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace enum print_line_t \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:331:15: error: initializer element is not constant
- static struct trace_event_functions trace_event_type_funcs_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:331:15: error: (near initialization for ‘trace_event_type_funcs_mm_lru_activate.trace’)
- static struct trace_event_functions trace_event_type_funcs_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:416:1: error: invalid storage class for function ‘trace_event_define_fields_mm_lru_insertion’
- trace_event_define_fields_##call(struct trace_event_call *event_call) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:415:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static int notrace __init \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:416:1: error: invalid storage class for function ‘trace_event_define_fields_mm_lru_activate’
- trace_event_define_fields_##call(struct trace_event_call *event_call) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:415:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static int notrace __init \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:494:27: error: invalid storage class for function ‘trace_event_get_offsets_mm_lru_insertion’
- static inline notrace int trace_event_get_offsets_##call( \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:494:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline notrace int trace_event_get_offsets_##call( \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:494:27: error: invalid storage class for function ‘trace_event_get_offsets_mm_lru_activate’
- static inline notrace int trace_event_get_offsets_##call( \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:494:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline notrace int trace_event_get_offsets_##call( \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:665:1: error: invalid storage class for function ‘trace_event_raw_event_mm_lru_insertion’
- trace_event_raw_event_##call(void *__data, proto) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:664:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:698:20: error: invalid storage class for function ‘ftrace_test_probe_mm_lru_insertion’
- static inline void ftrace_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:698:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline void ftrace_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:665:1: error: invalid storage class for function ‘trace_event_raw_event_mm_lru_activate’
- trace_event_raw_event_##call(void *__data, proto) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:664:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:698:20: error: invalid storage class for function ‘ftrace_test_probe_mm_lru_activate’
- static inline void ftrace_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:698:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline void ftrace_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:609:2: error: invalid storage class for function ‘perf_trace_mm_lru_insertion’
- perf_trace_##call(void *__data, proto);
- ^
- include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
- _TRACE_PERF_PROTO(call, PARAMS(proto)); \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:608:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
- _TRACE_PERF_PROTO(call, PARAMS(proto)); \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:726:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static char print_fmt_##call[] = print; \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:727:50: error: redeclaration of ‘event_class_mm_lru_insertion’ with no linkage
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:104:34: note: previous declaration of ‘event_class_mm_lru_insertion’ was here
- static struct trace_event_class event_class_##name;
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:727:15: error: initializer element is not constant
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_insertion.define_fields’)
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:727:15: error: initializer element is not constant
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_insertion.probe’)
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:612:17: error: ‘perf_trace_mm_lru_insertion’ undeclared (first use in this function)
- .perf_probe = perf_trace_##call,
- ^
- include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
- _TRACE_PERF_INIT(call) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/trace_events.h:612:17: note: each undeclared identifier is reported only once for each function it appears in
- .perf_probe = perf_trace_##call,
- ^
- include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
- _TRACE_PERF_INIT(call) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:740:39: error: redeclaration of ‘event_mm_lru_insertion’ with no linkage
- static struct trace_event_call __used event_##call = { \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:109:34: note: previous declaration of ‘event_mm_lru_insertion’ was here
- __attribute__((__aligned__(4))) event_##name
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:740:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct trace_event_call __used event_##call = { \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:609:2: error: invalid storage class for function ‘perf_trace_mm_lru_activate’
- perf_trace_##call(void *__data, proto);
- ^
- include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
- _TRACE_PERF_PROTO(call, PARAMS(proto)); \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:608:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:725:1: note: in expansion of macro ‘_TRACE_PERF_PROTO’
- _TRACE_PERF_PROTO(call, PARAMS(proto)); \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:726:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static char print_fmt_##call[] = print; \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:727:50: error: redeclaration of ‘event_class_mm_lru_activate’ with no linkage
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:104:34: note: previous declaration of ‘event_class_mm_lru_activate’ was here
- static struct trace_event_class event_class_##name;
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:727:15: error: initializer element is not constant
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_activate.define_fields’)
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:727:15: error: initializer element is not constant
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/trace_events.h:727:15: error: (near initialization for ‘event_class_mm_lru_activate.probe’)
- static struct trace_event_class __used __refdata event_class_##call = { \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:612:17: error: ‘perf_trace_mm_lru_activate’ undeclared (first use in this function)
- .perf_probe = perf_trace_##call,
- ^
- include/trace/trace_events.h:734:2: note: in expansion of macro ‘_TRACE_PERF_INIT’
- _TRACE_PERF_INIT(call) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:740:39: error: redeclaration of ‘event_mm_lru_activate’ with no linkage
- static struct trace_event_call __used event_##call = { \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:109:34: note: previous declaration of ‘event_mm_lru_activate’ was here
- __attribute__((__aligned__(4))) event_##name
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:95:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/trace_events.h:740:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static struct trace_event_call __used event_##call = { \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- In file included from include/trace/define_trace.h:96:0,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/trace/perf.h:32:1: error: invalid storage class for function ‘perf_trace_mm_lru_insertion’
- perf_trace_##call(void *__data, proto) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/perf.h:31:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/perf.h:79:20: error: invalid storage class for function ‘perf_test_probe_mm_lru_insertion’
- static inline void perf_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/perf.h:79:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline void perf_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- include/trace/perf.h:32:1: error: invalid storage class for function ‘perf_trace_mm_lru_activate’
- perf_trace_##call(void *__data, proto) \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/perf.h:31:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static notrace void \
- ^
- include/trace/trace_events.h:60:2: note: in expansion of macro ‘DECLARE_EVENT_CLASS’
- DECLARE_EVENT_CLASS(name, \
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/perf.h:79:20: error: invalid storage class for function ‘perf_test_probe_mm_lru_activate’
- static inline void perf_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/trace/perf.h:79:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static inline void perf_test_probe_##call(void) \
- ^
- include/trace/trace_events.h:66:2: note: in expansion of macro ‘DEFINE_EVENT’
- DEFINE_EVENT(name, name, PARAMS(proto), PARAMS(args));
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- mm/swap.c:44:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int page_cluster;
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_add_pvec’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_add_pvec’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- mm/swap.c:46:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- mm/swap.c:46:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- mm/swap.c:46:39: error: weak declaration of ‘lru_add_pvec’ must be public
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- mm/swap.c:46:39: error: declaration of ‘lru_add_pvec’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- mm/swap.c:46:39: note: previous declaration of ‘lru_add_pvec’ was here
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:46:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_add_pvec);
- ^
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_rotate_pvecs’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_rotate_pvecs’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- mm/swap.c:47:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- mm/swap.c:47:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- mm/swap.c:47:39: error: weak declaration of ‘lru_rotate_pvecs’ must be public
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- mm/swap.c:47:39: error: declaration of ‘lru_rotate_pvecs’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- mm/swap.c:47:39: note: previous declaration of ‘lru_rotate_pvecs’ was here
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:47:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_rotate_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_deactivate_file_pvecs’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_deactivate_file_pvecs’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- mm/swap.c:48:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- mm/swap.c:48:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- mm/swap.c:48:39: error: weak declaration of ‘lru_deactivate_file_pvecs’ must be public
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- mm/swap.c:48:39: error: declaration of ‘lru_deactivate_file_pvecs’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- mm/swap.c:48:39: note: previous declaration of ‘lru_deactivate_file_pvecs’ was here
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:48:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_file_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_deactivate_pvecs’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_deactivate_pvecs’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- mm/swap.c:49:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- mm/swap.c:49:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- mm/swap.c:49:39: error: weak declaration of ‘lru_deactivate_pvecs’ must be public
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- mm/swap.c:49:39: error: declaration of ‘lru_deactivate_pvecs’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- mm/swap.c:49:39: note: previous declaration of ‘lru_deactivate_pvecs’ was here
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:49:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, lru_deactivate_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_activate_page_pvecs’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_activate_page_pvecs’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:51:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:51:39: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:51:39: error: weak declaration of ‘activate_page_pvecs’ must be public
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:51:39: error: declaration of ‘activate_page_pvecs’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:51:39: note: previous declaration of ‘activate_page_pvecs’ was here
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:51:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct pagevec, activate_page_pvecs);
- ^
- mm/swap.c:58:13: error: invalid storage class for function ‘__page_cache_release’
- static void __page_cache_release(struct page *page)
- ^
- mm/swap.c:75:13: error: invalid storage class for function ‘__put_single_page’
- static void __put_single_page(struct page *page)
- ^
- mm/swap.c:81:13: error: invalid storage class for function ‘__put_compound_page’
- static void __put_compound_page(struct page *page)
- ^
- mm/swap.c:113:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void put_pages_list(struct list_head *pages)
- ^
- mm/swap.c:138:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int get_kernel_pages(const struct kvec *kiov, int nr_segs, int write,
- ^
- mm/swap.c:166:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- int get_kernel_page(unsigned long start, int write, struct page **pages)
- ^
- mm/swap.c:177:13: error: invalid storage class for function ‘pagevec_lru_move_fn’
- static void pagevec_lru_move_fn(struct pagevec *pvec,
- ^
- mm/swap.c:177:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static void pagevec_lru_move_fn(struct pagevec *pvec,
- ^
- mm/swap.c:206:13: error: invalid storage class for function ‘pagevec_move_tail_fn’
- static void pagevec_move_tail_fn(struct page *page, struct lruvec *lruvec,
- ^
- mm/swap.c:222:13: error: invalid storage class for function ‘pagevec_move_tail’
- static void pagevec_move_tail(struct pagevec *pvec)
- ^
- mm/swap.c:251:13: error: invalid storage class for function ‘update_page_reclaim_stat’
- static void update_page_reclaim_stat(struct lruvec *lruvec,
- ^
- mm/swap.c:261:13: error: invalid storage class for function ‘__activate_page’
- static void __activate_page(struct page *page, struct lruvec *lruvec,
- ^
- mm/swap.c:280:13: error: invalid storage class for function ‘activate_page_drain’
- static void activate_page_drain(int cpu)
- ^
- mm/swap.c:288:13: error: invalid storage class for function ‘need_activate_page_drain’
- static bool need_activate_page_drain(int cpu)
- ^
- mm/swap.c:325:13: error: invalid storage class for function ‘__lru_cache_activate_page’
- static void __lru_cache_activate_page(struct page *page)
- ^
- mm/swap.c: In function ‘mark_page_accessed’:
- mm/swap.c:384:2: error: implicit declaration of function ‘page_is_idle’ [-Werror=implicit-function-declaration]
- if (page_is_idle(page))
- ^
- mm/swap.c:385:3: error: implicit declaration of function ‘clear_page_idle’ [-Werror=implicit-function-declaration]
- clear_page_idle(page);
- ^
- mm/swap.c: In function ‘page_is_young’:
- mm/swap.c:389:13: error: invalid storage class for function ‘__lru_cache_add’
- static void __lru_cache_add(struct page *page)
- ^
- mm/swap.c:389:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- static void __lru_cache_add(struct page *page)
- ^
- mm/swap.c:428:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void lru_cache_add(struct page *page)
- ^
- mm/swap.c:514:13: error: invalid storage class for function ‘lru_deactivate_file_fn’
- static void lru_deactivate_file_fn(struct page *page, struct lruvec *lruvec,
- ^
- mm/swap.c:561:13: error: invalid storage class for function ‘lru_deactivate_fn’
- static void lru_deactivate_fn(struct page *page, struct lruvec *lruvec,
- ^
- mm/swap.c:663:13: error: invalid storage class for function ‘lru_add_drain_per_cpu’
- static void lru_add_drain_per_cpu(struct work_struct *dummy)
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/percpu-defs.h:91:33: error: section attribute cannot be specified for local variables
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:92:26: error: section attribute cannot be specified for local variables
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:92:26: error: declaration of ‘__pcpu_unique_lru_add_drain_work’ with no linkage follows extern declaration
- __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:91:33: note: previous declaration of ‘__pcpu_unique_lru_add_drain_work’ was here
- extern __PCPU_DUMMY_ATTRS char __pcpu_unique_##name; \
- ^
- include/linux/percpu-defs.h:116:2: note: in expansion of macro ‘DEFINE_PER_CPU_SECTION’
- DEFINE_PER_CPU_SECTION(type, name, "")
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:668:43: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:668:43: error: section attribute cannot be specified for local variables
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:668:43: error: weak declaration of ‘lru_add_drain_work’ must be public
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:668:43: error: declaration of ‘lru_add_drain_work’ with no linkage follows extern declaration
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:95:19: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- __typeof__(type) name
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:668:43: note: previous declaration of ‘lru_add_drain_work’ was here
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- include/linux/percpu-defs.h:93:44: note: in definition of macro ‘DEFINE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name; \
- ^
- mm/swap.c:668:8: note: in expansion of macro ‘DEFINE_PER_CPU’
- static DEFINE_PER_CPU(struct work_struct, lru_add_drain_work);
- ^
- mm/swap.c:791:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void __pagevec_release(struct pagevec *pvec)
- ^
- mm/swap.c:801:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void lru_add_page_tail(struct page *page, struct page *page_tail,
- ^
- mm/swap.c:840:13: error: invalid storage class for function ‘__pagevec_lru_add_fn’
- static void __pagevec_lru_add_fn(struct page *page, struct lruvec *lruvec,
- ^
- mm/swap.c:885:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned pagevec_lookup_entries(struct pagevec *pvec,
- ^
- mm/swap.c:940:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- unsigned pagevec_lookup_tag(struct pagevec *pvec, struct address_space *mapping,
- ^
- mm/swap.c:952:1: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
- void __init swap_setup(void)
- ^
- mm/swap.c:971:1: error: expected declaration or statement at end of input
- }
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/trace_events.h:484:33: warning: unused variable ‘perf_trace_regs’ [-Wunused-variable]
- DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/trace_events.h:484:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, perf_trace_regs);
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:1087:12: warning: unused variable ‘sysctl_perf_cpu_time_max_percent’ [-Wunused-variable]
- extern int sysctl_perf_cpu_time_max_percent;
- ^
- include/linux/perf_event.h:1086:12: warning: unused variable ‘sysctl_perf_event_sample_rate’ [-Wunused-variable]
- extern int sysctl_perf_event_sample_rate;
- ^
- include/linux/perf_event.h:1085:12: warning: unused variable ‘sysctl_perf_event_mlock’ [-Wunused-variable]
- extern int sysctl_perf_event_mlock;
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/perf_event.h:1062:46: warning: unused variable ‘perf_callchain_entry’ [-Wunused-variable]
- DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/perf_event.h:1062:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
- ^
- In file included from include/linux/trace_events.h:9:0,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/perf_event.h:1053:42: warning: unused variable ‘perf_guest_cbs’ [-Wunused-variable]
- extern struct perf_guest_info_callbacks *perf_guest_cbs;
- ^
- In file included from include/asm-generic/percpu.h:6:0,
- from ./arch/x86/include/asm/percpu.h:551,
- from ./arch/x86/include/asm/preempt.h:5,
- from include/linux/preempt.h:59,
- from include/linux/spinlock.h:50,
- from include/linux/mmzone.h:7,
- from include/linux/gfp.h:5,
- from include/linux/mm.h:9,
- from mm/swap.c:16:
- include/linux/perf_event.h:989:33: warning: unused variable ‘__perf_regs’ [-Wunused-variable]
- DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
- ^
- include/linux/percpu-defs.h:87:44: note: in definition of macro ‘DECLARE_PER_CPU_SECTION’
- extern __PCPU_ATTRS(sec) __typeof__(type) name
- ^
- include/linux/perf_event.h:989:1: note: in expansion of macro ‘DECLARE_PER_CPU’
- DECLARE_PER_CPU(struct pt_regs, __perf_regs[4]);
- ^
- In file included from include/linux/perf_event.h:47:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/ftrace.h:921:12: warning: unused variable ‘__disable_trace_on_warning’ [-Wunused-variable]
- extern int __disable_trace_on_warning;
- ^
- include/linux/ftrace.h:918:12: warning: unused variable ‘tracepoint_printk’ [-Wunused-variable]
- extern int tracepoint_printk;
- ^
- include/linux/ftrace.h:917:30: warning: unused variable ‘ftrace_dump_on_oops’ [-Wunused-variable]
- extern enum ftrace_dump_mode ftrace_dump_on_oops;
- ^
- include/linux/ftrace.h:462:22: warning: unused variable ‘ftrace_trace_function’ [-Wunused-variable]
- extern ftrace_func_t ftrace_trace_function;
- ^
- include/linux/ftrace.h:312:20: warning: unused variable ‘ftrace_expected’ [-Wunused-variable]
- extern const void *ftrace_expected;
- ^
- include/linux/ftrace.h:306:29: warning: unused variable ‘ftrace_bug_type’ [-Wunused-variable]
- extern enum ftrace_bug_type ftrace_bug_type;
- ^
- include/linux/ftrace.h:276:12: warning: unused variable ‘stack_tracer_enabled’ [-Wunused-variable]
- extern int stack_tracer_enabled;
- ^
- include/linux/ftrace.h:274:24: warning: unused variable ‘stack_trace_max_lock’ [-Wunused-variable]
- extern arch_spinlock_t stack_trace_max_lock;
- ^
- include/linux/ftrace.h:273:22: warning: unused variable ‘stack_trace_max_size’ [-Wunused-variable]
- extern unsigned long stack_trace_max_size;
- ^
- include/linux/ftrace.h:272:27: warning: unused variable ‘stack_trace_max’ [-Wunused-variable]
- extern struct stack_trace stack_trace_max;
- ^
- include/linux/ftrace.h:271:17: warning: unused variable ‘stack_trace_index’ [-Wunused-variable]
- extern unsigned stack_trace_index[];
- ^
- include/linux/ftrace.h:185:35: warning: unused variable ‘ftrace_tracing_type’ [-Wunused-variable]
- extern enum ftrace_tracing_type_t ftrace_tracing_type;
- ^
- In file included from include/linux/ftrace.h:20:0,
- from include/linux/perf_event.h:47,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/ftrace.h:18:17: warning: unused variable ‘modifying_ftrace_code’ [-Wunused-variable]
- extern atomic_t modifying_ftrace_code;
- ^
- In file included from include/linux/perf_event.h:35:0,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/hw_breakpoint.h:74:19: warning: unused variable ‘perf_ops_bp’ [-Wunused-variable]
- extern struct pmu perf_ops_bp;
- ^
- In file included from ./arch/x86/include/asm/perf_event.h:246:0,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- ./arch/x86/include/asm/stacktrace.h:92:21: warning: unused variable ‘code_bytes’ [-Wunused-variable]
- extern unsigned int code_bytes;
- ^
- ./arch/x86/include/asm/stacktrace.h:12:12: warning: unused variable ‘kstack_depth_to_print’ [-Wunused-variable]
- extern int kstack_depth_to_print;
- ^
- In file included from include/linux/ptrace.h:8:0,
- from ./arch/x86/include/asm/stacktrace.h:10,
- from ./arch/x86/include/asm/perf_event.h:246,
- from include/linux/perf_event.h:24,
- from include/linux/trace_events.h:9,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/pid_namespace.h:50:29: warning: unused variable ‘init_pid_ns’ [-Wunused-variable]
- extern struct pid_namespace init_pid_ns;
- ^
- In file included from include/linux/ring_buffer.h:7:0,
- from include/linux/trace_events.h:5,
- from include/trace/trace_events.h:19,
- from include/trace/define_trace.h:95,
- from include/trace/events/pagemap.h:87,
- from mm/swap.c:41:
- include/linux/poll.h:14:25: warning: unused variable ‘epoll_table’ [-Wunused-variable]
- extern struct ctl_table epoll_table[]; /* for sysctl */
- ^
- In file included from include/trace/events/pagemap.h:7:0,
- from mm/swap.c:41:
- include/linux/tracepoint.h:235:20: warning: unused variable ‘__tracepoint_mm_lru_activate’ [-Wunused-variable]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:63:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_activate,
- ^
- include/linux/tracepoint.h:235:20: warning: unused variable ‘__tracepoint_mm_lru_insertion’ [-Wunused-variable]
- struct tracepoint __tracepoint_##name \
- ^
- include/linux/tracepoint.h:243:2: note: in expansion of macro ‘DEFINE_TRACE_FN’
- DEFINE_TRACE_FN(name, NULL, NULL);
- ^
- include/trace/define_trace.h:27:2: note: in expansion of macro ‘DEFINE_TRACE’
- DEFINE_TRACE(name)
- ^
- include/trace/events/pagemap.h:27:1: note: in expansion of macro ‘TRACE_EVENT’
- TRACE_EVENT(mm_lru_insertion,
- ^
- In file included from mm/swap.c:38:0:
- mm/internal.h:485:39: warning: unused variable ‘gfpflag_names’ [-Wunused-variable]
- extern const struct trace_print_flags gfpflag_names[];
- ^
- mm/internal.h:484:39: warning: unused variable ‘vmaflag_names’ [-Wunused-variable]
- extern const struct trace_print_flags vmaflag_names[];
- ^
- mm/internal.h:483:39: warning: unused variable ‘pageflag_names’ [-Wunused-variable]
- extern const struct trace_print_flags pageflag_names[];
- ^
- mm/internal.h:443:12: warning: unused variable ‘hwpoison_filter_enable’ [-Wunused-variable]
- extern u32 hwpoison_filter_enable;
- ^
- mm/internal.h:442:12: warning: unused variable ‘hwpoison_filter_memcg’ [-Wunused-variable]
- extern u64 hwpoison_filter_memcg;
- ^
- mm/internal.h:441:12: warning: unused variable ‘hwpoison_filter_flags_value’ [-Wunused-variable]
- extern u64 hwpoison_filter_flags_value;
- ^
- mm/internal.h:440:12: warning: unused variable ‘hwpoison_filter_flags_mask’ [-Wunused-variable]
- extern u64 hwpoison_filter_flags_mask;
- ^
- mm/internal.h:439:12: warning: unused variable ‘hwpoison_filter_dev_minor’ [-Wunused-variable]
- extern u32 hwpoison_filter_dev_minor;
- ^
- mm/internal.h:438:12: warning: unused variable ‘hwpoison_filter_dev_major’ [-Wunused-variable]
- extern u32 hwpoison_filter_dev_major;
- ^
- mm/internal.h:152:12: warning: unused variable ‘user_min_free_kbytes’ [-Wunused-variable]
- extern int user_min_free_kbytes;
- ^
- mm/internal.h:71:22: warning: unused variable ‘highest_memmap_pfn’ [-Wunused-variable]
- extern unsigned long highest_memmap_pfn;
- ^
- In file included from mm/swap.c:36:0:
- include/linux/page_idle.h:49:19: warning: unused variable ‘page_ext’ [-Wunused-variable]
- struct page_ext *page_ext = lookup_page_ext(page);
- ^
- mm/swap.c:971:1: warning: no return statement in function returning non-void [-Wreturn-type]
- }
- ^
- cc1: some warnings being treated as errors
- make[1]: *** [mm/swap.o] Error 1
- make: *** [mm] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement