diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-08-26 11:21:41 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-08-26 16:25:54 -0400 |
commit | e5959683adb6b15cc2aebfbed5aa1315e24a53db (patch) | |
tree | 7b799d1328f529bbddceb7588ef3d5c64de880a6 /tools/perf/builtin-trace.c | |
parent | 04b34729e4584adfcb2e8ea908ff9478b1563001 (diff) |
perf trace: Add aliases to remaining syscalls of the sys_enter_newfoo
Before:
2392.918 ( 0.008 ms): 21581 lstat(arg0: 140734915488448, arg1: 140734915488240, arg2: 140734915488240, arg3: 3, arg4: 24426352, arg5: 98) = 0
After:
7408.087 ( 0.013 ms): 21969 lstat(filename: 0x7fff44b4bf20, statbuf: 0x7fff44b4be50 ) = 0
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-8nxaole8mb7zyopk47tdellj@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index b2038fdefca1..2d759f57f9d4 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -32,16 +32,20 @@ static struct syscall_fmt { | |||
32 | { .name = "fstat", .errmsg = true, .alias = "newfstat", }, | 32 | { .name = "fstat", .errmsg = true, .alias = "newfstat", }, |
33 | { .name = "fstatat", .errmsg = true, .alias = "newfstatat", }, | 33 | { .name = "fstatat", .errmsg = true, .alias = "newfstatat", }, |
34 | { .name = "futex", .errmsg = true, }, | 34 | { .name = "futex", .errmsg = true, }, |
35 | { .name = "lstat", .errmsg = true, .alias = "newlstat", }, | ||
35 | { .name = "mmap", .hexret = true, }, | 36 | { .name = "mmap", .hexret = true, }, |
36 | { .name = "mremap", .hexret = true, }, | 37 | { .name = "mremap", .hexret = true, }, |
37 | { .name = "open", .errmsg = true, }, | 38 | { .name = "open", .errmsg = true, }, |
38 | { .name = "poll", .errmsg = true, .timeout = true, }, | 39 | { .name = "poll", .errmsg = true, .timeout = true, }, |
39 | { .name = "ppoll", .errmsg = true, .timeout = true, }, | 40 | { .name = "ppoll", .errmsg = true, .timeout = true, }, |
41 | { .name = "pread", .errmsg = true, .alias = "pread64", }, | ||
42 | { .name = "pwrite", .errmsg = true, .alias = "pwrite64", }, | ||
40 | { .name = "read", .errmsg = true, }, | 43 | { .name = "read", .errmsg = true, }, |
41 | { .name = "recvfrom", .errmsg = true, }, | 44 | { .name = "recvfrom", .errmsg = true, }, |
42 | { .name = "select", .errmsg = true, .timeout = true, }, | 45 | { .name = "select", .errmsg = true, .timeout = true, }, |
43 | { .name = "socket", .errmsg = true, }, | 46 | { .name = "socket", .errmsg = true, }, |
44 | { .name = "stat", .errmsg = true, .alias = "newstat", }, | 47 | { .name = "stat", .errmsg = true, .alias = "newstat", }, |
48 | { .name = "uname", .errmsg = true, .alias = "newuname", }, | ||
45 | }; | 49 | }; |
46 | 50 | ||
47 | static int syscall_fmt__cmp(const void *name, const void *fmtp) | 51 | static int syscall_fmt__cmp(const void *name, const void *fmtp) |