perf trace: Beautify 'connect' result
authorArnaldo Carvalho de Melo <[email protected]>
Tue, 30 Jul 2013 19:38:23 +0000 (16:38 -0300)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 7 Aug 2013 20:35:25 +0000 (17:35 -0300)
It is an errno, so print an error string.

Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/builtin-trace.c

index 0e4b67f6bbd10468e09911a82766156c91c15777..da7ae01c83943d6bd2a8cf2cce49582d4aea4b1e 100644 (file)
@@ -18,6 +18,7 @@ static struct syscall_fmt {
 } syscall_fmts[] = {
        { .name     = "access",     .errmsg = true, },
        { .name     = "arch_prctl", .errmsg = true, .alias = "prctl", },
+       { .name     = "connect",    .errmsg = true, },
        { .name     = "fstat",      .errmsg = true, .alias = "newfstat", },
        { .name     = "fstatat",    .errmsg = true, .alias = "newfstatat", },
        { .name     = "futex",      .errmsg = true, },