diff options
author | Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> | 2017-05-05 13:14:17 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-05-27 16:10:18 +0300 |
commit | 7b4500bc519686712471924972022df88b12ff93 (patch) | |
tree | aa08525226bff77efc2c5125f8d10cdf05029f7f /net/ipx/Kconfig | |
parent | 6e30437bd42c4d4e9cfc4c40efda00eb83a11cde (diff) | |
download | linux-7b4500bc519686712471924972022df88b12ff93.tar.xz |
perf annotate: Fix failure when filename has special chars
When filename contains special chars, perf annotate fails
with an error:
$ perf annotate --vmlinux ./vmlinux\(test\) --stdio native_safe_halt
sh: -c: line 0: syntax error near unexpected token `('
sh: -c: line 0: `objdump --start-address=0xffffffff8184e840
--stop-address=0xffffffff8184e848 -l -d --no-show-raw -S -C
./vmlinux(test) 2>/dev/null|grep -v ./vmlinux(test):|expand'
Fix it by surrounding filename in double quotes.
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Adam Stylinski <adam.stylinski@etegent.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Taeung Song <treeze.taeung@gmail.com>
Link: http://lkml.kernel.org/r/20170505101417.2117-1-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net/ipx/Kconfig')
0 files changed, 0 insertions, 0 deletions