projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a8c5b
)
perf trace: Add missing ' = ' in the default formatting of syscall returns
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 19 Jul 2017 14:39:47 +0000
(11:39 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 20 Jul 2017 12:55:51 +0000
(09:55 -0300)
We lost it recently, put it back.
Before:
789.499 ( 0.001 ms): libvirtd/1175 lseek(fd: 22, whence: CUR) 4328
After:
789.499 ( 0.001 ms): libvirtd/1175 lseek(fd: 22, whence: CUR) = 4328
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Wang Nan <
[email protected]
>
Fixes: 1f63139c3f8a ("perf trace beauty: Simplify syscall return formatting")
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-trace.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-trace.c
b/tools/perf/builtin-trace.c
index 1e4c0657b712bd5a6edf9a76c8419c14af0122c0..4370ce4f28c7899447a3369ffd19acf4ac6b822c 100644
(file)
--- a/
tools/perf/builtin-trace.c
+++ b/
tools/perf/builtin-trace.c
@@
-1660,7
+1660,7
@@
static int trace__sys_exit(struct trace *trace, struct perf_evsel *evsel,
if (ret < 0)
goto errno_print;
signed_print:
- fprintf(trace->output, ") %ld", ret);
+ fprintf(trace->output, ")
=
%ld", ret);
} else if (ret < 0) {
errno_print: {
char bf[STRERR_BUFSIZE];