perf auxtrace: Add optional error flags to the itrace 'e' option
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 10 Jul 2020 15:10:57 +0000 (18:10 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2020 11:21:31 +0000 (08:21 -0300)
commitcb971438b7daa986b599942987e8a4d78443ad58
treea75ffc97f2ea9199eb9e1aaeba164bdc0f2e1c98
parent1e8f786944418535543f1ddf10024789f1cf2ae4
perf auxtrace: Add optional error flags to the itrace 'e' option

Allow the 'e' option to be followed by flags which will affect what errors
will or will not be reported. Each flag must be preceded by either '+' or
'-'. The flags are:
o overflow
l trace data lost

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-6-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/itrace.txt
tools/perf/util/auxtrace.c
tools/perf/util/auxtrace.h