[BUG] perf-tip: compile failure on ARM
From: Ming Lei
Date: Sun Nov 21 2010 - 11:07:19 EST
Hi,
Building -tip tree on ARM failed, follows the error messge:
CC kernel/trace/trace_syscalls.o
In file included from kernel/trace/trace_syscalls.c:2:
include/trace/events/syscalls.h:11:25: error: asm/syscall.h: No such
file or directory
kernel/trace/trace_syscalls.c:15: error: 'NR_syscalls' undeclared here
(not in a function)
kernel/trace/trace_syscalls.c: In function 'ftrace_syscall_enter':
kernel/trace/trace_syscalls.c:306: error: implicit declaration of
function 'syscall_get_nr'
kernel/trace/trace_syscalls.c:325: error: implicit declaration of
function 'syscall_get_arguments'
kernel/trace/trace_syscalls.c: In function 'ftrace_syscall_exit':
kernel/trace/trace_syscalls.c:357: error: implicit declaration of
function 'syscall_get_return_value'
kernel/trace/trace_syscalls.c: In function 'reg_event_syscall_enter':
kernel/trace/trace_syscalls.c:374: error: implicit declaration of
function 'register_trace_sys_enter'
kernel/trace/trace_syscalls.c: In function 'unreg_event_syscall_enter':
kernel/trace/trace_syscalls.c:394: error: implicit declaration of
function 'unregister_trace_sys_enter'
kernel/trace/trace_syscalls.c: In function 'reg_event_syscall_exit':
kernel/trace/trace_syscalls.c:408: error: implicit declaration of
function 'register_trace_sys_exit'
kernel/trace/trace_syscalls.c: In function 'unreg_event_syscall_exit':
kernel/trace/trace_syscalls.c:428: error: implicit declaration of
function 'unregister_trace_sys_exit'
kernel/trace/trace_syscalls.c: In function 'arch_syscall_addr':
kernel/trace/trace_syscalls.c:451: error: 'sys_call_table' undeclared
(first use in this function)
kernel/trace/trace_syscalls.c:451: error: (Each undeclared identifier
is reported only once
kernel/trace/trace_syscalls.c:451: error: for each function it appears in.)
make[2]: *** [kernel/trace/trace_syscalls.o] Error 1
make[1]: *** [kernel/trace] Error 2
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....
thanks,
--
Lei Ming
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/