perf trace: Fix exit_group() formatting
tip-bot for Arnaldo Carvalho de Melo
merge botCommit-ID: c008f78f9309a3be3548e11f48b8dfb08f2eb8fc Gitweb: http://git.kernel.org/tip/c008f78f9309a3be3548e11f48b8dfb08f2eb8fc Author: Arnaldo Carvalho de Melo <[email protected]> AuthorDate: Tue, 17 May 2016 12:13:54 -0300 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Fri, 20 May 2016 11:43:55 -0300
perf trace: Fix exit_group() formatting
This doesn't return, so there is no raw_syscalls:sys_exit for it, add the ending ')', without any return value, since it is void.
Reported-by Ingo Molnar <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc David Ahern <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Milian Wolff <[email protected]>
Cc Namhyung Kim <[email protected]>
Cc Wang Nan <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/builtin-trace.c +1 -1
@@ -1552,7 +1552,7 @@ static int trace__sys_enter(struct trace *trace, struct perf_evsel *evsel,if (sc->is_exit) {if (!(trace->duration_filter || trace->summary_only || trace->min_stack)) {trace__fprintf_entry_head (trace, thread,1 , sample->time, trace->output); -fprintf (trace->output,"%-70s\n" , ttrace->entry_str); +fprintf (trace->output,"%-70s)\n" , ttrace->entry_str); } }else { ttrace->entry_pending = true;