Skip to content

Commit c008f78

Browse files
committed
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]> Link: http://lkml.kernel.org/n/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent e77a074 commit c008f78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/perf/builtin-trace.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1552,7 +1552,7 @@ static int trace__sys_enter(struct trace *trace, struct perf_evsel *evsel,
15521552
if (sc->is_exit) {
15531553
if (!(trace->duration_filter || trace->summary_only || trace->min_stack)) {
15541554
trace__fprintf_entry_head(trace, thread, 1, sample->time, trace->output);
1555-
fprintf(trace->output, "%-70s\n", ttrace->entry_str);
1555+
fprintf(trace->output, "%-70s)\n", ttrace->entry_str);
15561556
}
15571557
} else {
15581558
ttrace->entry_pending = true;

0 commit comments

Comments
 (0)