perf trace: Beautify 'connect' result
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: a14bb860a38ff5b4aa3db20f251fef43e447a7c9 Gitweb: http://git.kernel.org/tip/a14bb860a38ff5b4aa3db20f251fef43e447a7c9 Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 30 Jul 2013 16:38:23 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 7 Aug 2013 17:35:25 -0300
perf trace: Beautify 'connect' result
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]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-trace.c | 1 + 1 file changed, 1 insertion(+)
tools/perf/builtin-trace.c +1 -0
@@ -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, },