diff options
Diffstat (limited to 'tools/perf/builtin-trace.c')
-rw-r--r-- | tools/perf/builtin-trace.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-trace.c index b1c1df9bfb26..3a696aa70630 100644 --- a/tools/perf/builtin-trace.c +++ b/tools/perf/builtin-trace.c | |||
@@ -1840,7 +1840,11 @@ static int trace__event_handler(struct trace *trace, struct perf_evsel *evsel, | |||
1840 | { | 1840 | { |
1841 | trace__printf_interrupted_entry(trace, sample); | 1841 | trace__printf_interrupted_entry(trace, sample); |
1842 | trace__fprintf_tstamp(trace, sample->time, trace->output); | 1842 | trace__fprintf_tstamp(trace, sample->time, trace->output); |
1843 | fprintf(trace->output, "(%9.9s): %s:", " ", evsel->name); | 1843 | |
1844 | if (trace->trace_syscalls) | ||
1845 | fprintf(trace->output, "( ): "); | ||
1846 | |||
1847 | fprintf(trace->output, "%s:", evsel->name); | ||
1844 | 1848 | ||
1845 | if (evsel->tp_format) { | 1849 | if (evsel->tp_format) { |
1846 | event_format__fprintf(evsel->tp_format, sample->cpu, | 1850 | event_format__fprintf(evsel->tp_format, sample->cpu, |