perf auxtrace: Add itrace d+o option to direct debug log to stdout
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 27 Oct 2021 08:03:33 +0000 (11:03 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Oct 2021 19:20:45 +0000 (16:20 -0300)
commit4b2b2c6a7d244464b6142cdbfef441de1499e7ff
treed7ab2d45305dc0b4ad5721a49f4b7455fba77411
parentc3afd6e50fce824f551914c690f6b905787783cf
perf auxtrace: Add itrace d+o option to direct debug log to stdout

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

Add 'o' to the flags of debug option 'd', so that '--itrace=d+o' can
specify output of the debug log to stdout.

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