]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commita663520fcc4bce2814032e3de6c4e2665b9555e5
tree79df52fbb82994e2a3469b9671a1d3d1ff401746
parentae65b443f03fca3620cb37c5e019ddca3f89a1ce
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