Skip to contentSkip to conversation

perf trace: Beautify 'connect' result

tip:perf/core tip-bot for Arnaldo Carvalho de Melo 1 participant 1 message Aug 12, 2013 perf events

lore
Share & tools
lore
#0 lore raw
Commit-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]>
---
 tools/perf/builtin-trace.c | 1 +
 1 file changed, 1 insertion(+)
tools/perf/builtin-trace.c +1 -0
index 0e4b67f..da7ae01 100644
@@ -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, },