perf intel-pt: Time filter logged perf events
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 10 Jul 2020 15:11:01 +0000 (18:11 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2020 11:23:19 +0000 (08:23 -0300)
commitd4575f5fce71b47431a98096a9f74b7492854633
tree0962d92875343ccbc93995219cac6db6e740cb62
parent8b83fccdd2fc91dfd6fc7ef6a804c1426f7a6216
perf intel-pt: Time filter logged perf events

Change the debug logging (when used with the --time option) to time
filter logged perf events, but allow that to be overridden by using
"d+a" instead of plain "d".

That can reduce the size of the log file.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lore.kernel.org/lkml/20200710151104.15137-10-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-intel-pt.txt
tools/perf/util/intel-pt.c