diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-18 18:06:13 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-10-24 16:41:08 -0400 |
commit | 8b745263d93470a6ab4528088a26e5cd3dfe7bf6 (patch) | |
tree | 6501101928b28b294d0bdb6d3200a7549520e92e | |
parent | ae9ed03579c9745e85a88e80522770df7ae5c9b7 (diff) |
perf tools: Pretty print errno for some more functions
This time: access, open and socket.
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
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-e19dmpz8zxqo2uebxnp7ilkf@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r-- | tools/perf/builtin-trace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index 82ffa6c246d8..fb83cfe472e3 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -16,15 +16,18 @@ static struct syscall_fmt { | |||
16 | bool errmsg; | 16 | bool errmsg; |
17 | bool timeout; | 17 | bool timeout; |
18 | } syscall_fmts[] = { | 18 | } syscall_fmts[] = { |
19 | { .name = "access", .errmsg = true, }, | ||
19 | { .name = "arch_prctl", .errmsg = true, .alias = "prctl", }, | 20 | { .name = "arch_prctl", .errmsg = true, .alias = "prctl", }, |
20 | { .name = "fstat", .errmsg = true, .alias = "newfstat", }, | 21 | { .name = "fstat", .errmsg = true, .alias = "newfstat", }, |
21 | { .name = "fstatat", .errmsg = true, .alias = "newfstatat", }, | 22 | { .name = "fstatat", .errmsg = true, .alias = "newfstatat", }, |
22 | { .name = "futex", .errmsg = true, }, | 23 | { .name = "futex", .errmsg = true, }, |
24 | { .name = "open", .errmsg = true, }, | ||
23 | { .name = "poll", .errmsg = true, .timeout = true, }, | 25 | { .name = "poll", .errmsg = true, .timeout = true, }, |
24 | { .name = "ppoll", .errmsg = true, .timeout = true, }, | 26 | { .name = "ppoll", .errmsg = true, .timeout = true, }, |
25 | { .name = "read", .errmsg = true, }, | 27 | { .name = "read", .errmsg = true, }, |
26 | { .name = "recvfrom", .errmsg = true, }, | 28 | { .name = "recvfrom", .errmsg = true, }, |
27 | { .name = "select", .errmsg = true, .timeout = true, }, | 29 | { .name = "select", .errmsg = true, .timeout = true, }, |
30 | { .name = "socket", .errmsg = true, }, | ||
28 | { .name = "stat", .errmsg = true, .alias = "newstat", }, | 31 | { .name = "stat", .errmsg = true, .alias = "newstat", }, |
29 | }; | 32 | }; |
30 | 33 | ||