Skip to content

Commit 6f8fe61

Browse files
committed
perf trace: Add missing ' = ' in the default formatting of syscall returns
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: 1f63139 ("perf trace beauty: Simplify syscall return formatting") Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 91a8c5b commit 6f8fe61

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
@@ -1660,7 +1660,7 @@ static int trace__sys_exit(struct trace *trace, struct perf_evsel *evsel,
16601660
if (ret < 0)
16611661
goto errno_print;
16621662
signed_print:
1663-
fprintf(trace->output, ") %ld", ret);
1663+
fprintf(trace->output, ") = %ld", ret);
16641664
} else if (ret < 0) {
16651665
errno_print: {
16661666
char bf[STRERR_BUFSIZE];

0 commit comments

Comments
 (0)