Re: [PATCH] perf trace: Fix summary_only option

From: Arnaldo Carvalho de Melo
Date: Fri Mar 20 2015 - 10:02:45 EST


Em Thu, Mar 19, 2015 at 12:23:03PM -0600, David Ahern escreveu:
> The intent of the -s/--summary-only option is to just show a summary of the
> system calls and statistics without any of the individual events. Commit
> e596663ebb2 broke that by showing the interrupted lines:
>
> perf trace -i perf.data -s
> ...
> 0.741 ( 0.000 ms): sleep/31316 fstat(fd: 4, statbuf: 0x7ffc75ceb830 ) ...
> 0.744 ( 0.000 ms): sleep/31316 mmap(len: 100244, prot: READ, flags: PRIVATE, fd: 4 ) ...
> 0.747 ( 0.000 ms): perf/31315 write(fd: 3, buf: 0x7d4bb0, count: 8 ) ...
> ...
>
> Fix by checking for the summary only option.

Thanks, applied.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/