mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ming Lei <tom.leiming@gmail.com>
To: mingo@redhat.com, tglx@linutronix.de, mingo@elte.hu
Cc: linux-kernel@vger.kernel.org
Subject: [BUG] perf-tip: compile failure on ARM
Date: Mon, 22 Nov 2010 00:06:10 +0800	[thread overview]
Message-ID: <AANLkTi==JZK7r27zQndo7V5fjKMfyoVdzxESMJCXLBwR@mail.gmail.com> (raw)

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

                 reply	other threads:[~2010-11-21 16:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi==JZK7r27zQndo7V5fjKMfyoVdzxESMJCXLBwR@mail.gmail.com' \
    --to=tom.leiming@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®