diff options
| author | Linus Torvalds <[email protected]> | 2022-04-09 18:45:10 -1000 | 
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2022-04-09 18:45:10 -1000 | 
| commit | 1862a69c917417142190bc18c8ce16680598664b (patch) | |
| tree | 82f45de07dc74334e2294bc057b8b2229db1cfd9 /tools/perf/util/annotate.c | |
| parent | 94a4c2bb7a1fb95bd7105ac5685377f57c13daf3 (diff) | |
| parent | 940a445a904088eac715dd985c01847311a42459 (diff) | |
Merge tag 'perf-tools-fixes-for-v5.18-2022-04-09' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux
Pull perf tools fixes from Arnaldo Carvalho de Melo:
 - Fix the clang command line option probing and remove some options to
   filter out, fixing the build with the latest clang versions
 - Fix 'perf bench' futex and epoll benchmarks to deal with machines
   with more than 1K CPUs
 - Fix 'perf test tsc' error message when not supported
 - Remap perf ring buffer if there is no space for event, fixing perf
   usage in 32-bit ChromeOS
 - Drop objdump stderr to avoid getting stuck waiting for stdout output
   in 'perf annotate'
 - Fix up garbled output by now showing unwind error messages when
   augmenting frame in best effort mode
 - Fix perf's libperf_print callback, use the va_args eprintf() variant
 - Sync vhost and arm64 cputype headers with the kernel sources
 - Fix 'perf report --mem-mode' with ARM SPE
 - Add missing external commands ('iiostat', etc) to 'perf --list-cmds'
* tag 'perf-tools-fixes-for-v5.18-2022-04-09' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux:
  perf annotate: Drop objdump stderr to avoid getting stuck waiting for stdout output
  perf tools: Add external commands to list-cmds
  perf docs: Add perf-iostat link to manpages
  perf session: Remap buf if there is no space for event
  perf bench: Fix epoll bench to correct usage of affinity for machines with #CPUs > 1K
  perf bench: Fix futex bench to correct usage of affinity for machines with #CPUs > 1K
  perf tools: Fix perf's libperf_print callback
  perf: arm-spe: Fix perf report --mem-mode
  perf unwind: Don't show unwind error messages when augmenting frame pointer stack
  tools headers arm64: Sync arm64's cputype.h with the kernel sources
  perf test tsc: Fix error message when not supported
  perf build: Don't use -ffat-lto-objects in the python feature test when building with clang-13
  perf python: Fix probing for some clang command line options
  tools build: Filter out options and warnings not supported by clang
  tools build: Use $(shell ) instead of `` to get embedded libperl's ccopts
  tools include UAPI: Sync linux/vhost.h with the kernel sources
Diffstat (limited to 'tools/perf/util/annotate.c')
| -rw-r--r-- | tools/perf/util/annotate.c | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index e4c641b240df..82cc396ef516 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c @@ -2047,6 +2047,7 @@ static int symbol__disassemble(struct symbol *sym, struct annotate_args *args)  	objdump_process.argv = objdump_argv;  	objdump_process.out = -1;  	objdump_process.err = -1; +	objdump_process.no_stderr = 1;  	if (start_command(&objdump_process)) {  		pr_err("Failure starting to run %s\n", command);  		err = -1;  |