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:
520d3f0
)
perf trace: Remove redundant ')'
author
Changbin Du
<
[email protected]
>
Tue, 13 Mar 2018 10:40:01 +0000
(18:40 +0800)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Tue, 3 Apr 2018 19:16:41 +0000
(16:16 -0300)
There is a redundant ')' at the tail of each event. So remove it.
$ sudo perf trace --no-syscalls -e 'kmem:*' -a
899.342 kmem:kfree:(vfs_writev+0xb9) call_site=
ffffffff9c453979
ptr=(nil))
899.344 kmem:kfree:(___sys_recvmsg+0x188) call_site=
ffffffff9c9b8b88
ptr=(nil))
Signed-off-by: Changbin Du <
[email protected]
>
Tested-by: Arnaldo Carvalho de Melo <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Link:
http://lkml.kernel.org/r/
[email protected]
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 4e03f0f68241e1ef5ee8c78f6f9d06210c162fb9..3ad17ee89403b8e1bbf49fc1e6e077de5bb07cdd 100644
(file)
--- a/
tools/perf/builtin-trace.c
+++ b/
tools/perf/builtin-trace.c
@@
-1962,7
+1962,7
@@
static int trace__event_handler(struct trace *trace, struct perf_evsel *evsel,
trace->output);
}
- fprintf(trace->output, "
)
\n");
+ fprintf(trace->output, "\n");
if (callchain_ret > 0)
trace__fprintf_callchain(trace, sample);