]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Use itrace error flags to suppress some errors
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 10 Jul 2020 15:10:58 +0000 (18:10 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2020 11:22:07 +0000 (08:22 -0300)
commitfa4857a69942c9a1ccd0f80c3b6fe2d6a6081c67
treedc443ea5ca0b15b0cb0baa394947037278436429
parent2a64ebe3e7d8513a878cdec51ab0aec967250eda
perf intel-pt: Use itrace error flags to suppress some errors

The itrace "e" option may be followed by flags which affect what errors
will or will not be reported.  Each flag must be preceded by either '+' or '-'.
The flags supported by Intel PT are:

-o Suppress overflow errors
-l Suppress trace data lost errors
For example, for errors but not overflow or data lost errors:

--itrace=e-o-l

Suppressing those errors can be useful for testing and debugging because
they are not due to decoding.

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-7-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