]> git.baikalelectronics.ru Git - kernel.git/commit
perf annotate: Set error stream of objdump process for TUI
authorNamhyung Kim <namhyung@kernel.org>
Wed, 2 Feb 2022 07:08:25 +0000 (23:08 -0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 6 Feb 2022 12:03:06 +0000 (09:03 -0300)
commit9b98dd3c15c82c570ed9fcdfa83482a30195c566
tree79df52fbb82994e2a3469b9671a1d3d1ff401746
parentfb91b1f899f60f01df80f0816b9cf8633fb02acf
perf annotate: Set error stream of objdump process for TUI

The stderr should be set to a pipe when using TUI.  Otherwise it'd
print to stdout and break TUI windows with an error message.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20220202070828.143303-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c