]> git.baikalelectronics.ru Git - kernel.git/commit
perf trace: Write to stderr by default
authorMilian Wolff <milian.wolff@kdab.com>
Wed, 5 Aug 2015 19:52:23 +0000 (16:52 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 5 Aug 2015 19:52:23 +0000 (16:52 -0300)
commit7f23acf4b064160efd6b5ca8d100850935c1ad67
tree194ff851ad18491536b2d4f619bec8735ce5970a
parent8a617d6ac71b61354c29a735326b137b94a65f32
perf trace: Write to stderr by default

Without this patch, it is cumbersome to read the trace output but
ignoring the normal, potentially verbose, output of the debuggee.  One
common example is doing something like the following:

 perf trace -s find /tmp > /dev/null

Without this patch, the trace summary will be lost. Now, it will still
be printed at the end. This behavior is also applied by strace.

Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: David Ahern <dsahern@gmail.com>
Link: http://lkml.kernel.org/n/tip-tqnks6y2cnvm5f9g2dsfr7zl@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c