Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1436694

[PATCH 16/16] perf tools: Sync copy of syscall_64.tbl with the kernel

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 16/16] perf tools: Sync copy of syscall_64.tbl with the kernel
Date 2016-07-05 02:50 +0200
Message-ID <rRmIO-48U-23@gated-at.bofh.it> (permalink)
References <rRmz7-45F-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Arnaldo Carvalho de Melo <acme@redhat.com>

Noticed by the build system, that emitted this warning:

  Warning: x86_64's syscall_64.tbl differs from kernel

This was due to the wiring up of the recently added preadv2 & pwritev2
syscalls to the compat code, which hadn't been done by the patch
introducing those syscalls: 4babf2c5efb7 ("x86: wire up preadv2 and
pwritev2").

The patch doing the compat wiring was:

  482dd2ef1244 ("x86/syscalls: Wire up compat readv2/writev2 syscalls")

This just silences the perf build warning, as compat syscalls still
can't be supported in 'perf trace“ due to limitations in the
raw_syscalls:sys_{enter,exit} tracepoints it relies on.

Reported-by: Ingo Molnar <mingo@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-4dm8eoy0wslgtwqdhz64ods0@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl b/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
index cac6d17ce5db..555263e385c9 100644
--- a/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/tools/perf/arch/x86/entry/syscalls/syscall_64.tbl
@@ -374,3 +374,5 @@
 543	x32	io_setup		compat_sys_io_setup
 544	x32	io_submit		compat_sys_io_submit
 545	x32	execveat		compat_sys_execveat/ptregs
+534	x32	preadv2			compat_sys_preadv2
+535	x32	pwritev2		compat_sys_pwritev2
-- 
2.7.4

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[GIT PULL 00/16] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:40 +0200
  [PATCH 10/16] perf unwind: Add initialized arg into unwind__prepare_access Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:40 +0200
  [PATCH 07/16] perf buildid-cache: Scan and import user SDT events to probe cache Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:40 +0200
  [PATCH 14/16] tools lib subcmd: Respect WERROR=0 for build Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 01/16] perf probe: Use cache entry if possible Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 05/16] perf sdt: ELF support for SDT Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 13/16] tools lib api: Respect WERROR=0 for build Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 08/16] perf header: Transform nodes string info to struct Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 09/16] perf tests: Fix hist accumulation test Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 16/16] perf tools: Sync copy of syscall_64.tbl with the kernel Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 15/16] perf tools: Update android build documentation Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  [PATCH 12/16] tools lib bpf: Add license header Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-07-05 02:50 +0200
  Re: [GIT PULL 00/16] perf/core improvements and fixes Ingo Molnar <mingo@kernel.org> - 2016-07-05 12:20 +0200

csiph-web