Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1373947
| From | "Wangnan (F)" <wangnan0@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl |
| Date | 2016-04-08 05:30 +0200 |
| Message-ID | <rlvho-5Ze-3@gated-at.bofh.it> (permalink) |
| References | <rlpbX-16R-3@gated-at.bofh.it> <rlpbX-16R-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2016/4/8 4:58, Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo <acme@redhat.com> > > We used libaudit to map ids to syscall names and vice-versa, but that > imposes a delay in supporting new syscalls, having to wait for libaudit > to get those new syscalls on its tables. > > To remove that delay, for x86_64 initially, grab a copy of > arch/x86/entry/syscalls/syscall_64.tbl and use it to generate those > tables. > > Syscalls currently not available in audit-libs: > > # trace -e copy_file_range,membarrier,mlock2,pread64,pwrite64,timerfd_create,userfaultfd > Error: Invalid syscall copy_file_range, membarrier, mlock2, pread64, pwrite64, timerfd_create, userfaultfd > Hint: try 'perf list syscalls:sys_enter_*' > Hint: and: 'man syscalls' > # > > With this patch: > > # trace -e copy_file_range,membarrier,mlock2,pread64,pwrite64,timerfd_create,userfaultfd > 8505.733 ( 0.010 ms): gnome-shell/2519 timerfd_create(flags: 524288) = 36 > 8506.688 ( 0.005 ms): gnome-shell/2519 timerfd_create(flags: 524288) = 40 > 30023.097 ( 0.025 ms): qemu-system-x8/24629 pwrite64(fd: 18, buf: 0x7f63ae382000, count: 4096, pos: 529592320) = 4096 > 31268.712 ( 0.028 ms): qemu-system-x8/24629 pwrite64(fd: 18, buf: 0x7f63afd8b000, count: 4096, pos: 2314133504) = 4096 > 31268.854 ( 0.016 ms): qemu-system-x8/24629 pwrite64(fd: 18, buf: 0x7f63afda2000, count: 4096, pos: 2314137600) = 4096 > > Cc: Adrian Hunter <adrian.hunter@intel.com> > Cc: David Ahern <dsahern@gmail.com> > Cc: Jiri Olsa <jolsa@kernel.org> > Cc: Namhyung Kim <namhyung@kernel.org> > Cc: Wang Nan <wangnan0@huawei.com> > Link: http://lkml.kernel.org/n/tip-5n4sx1wp0ig75dwcghf9m6zs@git.kernel.org > Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> > --- > There is racing in Makefile. I see following output: ... CC /xx/xx/perf/1.0-r8/perf-1.0/util/callchain.o CC /xx/xx/perf/1.0-r8/perf-1.0/util/values.o CC /xx/xx/perf/1.0-r8/perf-1.0/util/debug.o make[3]: *** No rule to make target `/xx/xx/perf/1.0-r8/perf-1.0/util/syscalltbl.o'. Stop. make[3]: *** Waiting for unfinished jobs.... CC /xx/xx/perf/1.0-r8/perf-1.0/util/machine.o CC /xx/xx/perf/1.0-r8/perf-1.0/util/map.o ... The error disappeareafter doing 'make archheaders' before 'make all'. Thank you.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-04-07 23:00 +0200
Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl David Ahern <dsahern@gmail.com> - 2016-04-07 23:40 +0200
Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-04-08 00:00 +0200
Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com> - 2016-04-08 00:00 +0200
Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl David Ahern <dsahern@gmail.com> - 2016-04-08 00:00 +0200
Re: [PATCH 17/19] perf tools: Build syscall table .c header from kernel's syscall_64.tbl "Wangnan (F)" <wangnan0@huawei.com> - 2016-04-08 05:30 +0200
csiph-web