perf intel-pt: Support itrace d+o option to direct debug log to stdout
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 27 Oct 2021 08:03:34 +0000 (11:03 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Oct 2021 19:21:01 +0000 (16:21 -0300)
commit624ff63abfd368fef5fa18ce34e025bc4e37dee5
tree2620521bce727af86ec70bf6cc6f9044a624af2c
parent4b2b2c6a7d244464b6142cdbfef441de1499e7ff
perf intel-pt: Support itrace d+o option to direct debug log to stdout

It can be useful to see debug output in between normal output.

Add support for AUXTRACE_LOG_FLG_USE_STDOUT to Intel PT.

Reviewed-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: https://lore.kernel.org/r/20211027080334.365596-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-decoder/intel-pt-log.c
tools/perf/util/intel-pt.c