diff options
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r-- | tools/perf/util/annotate.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c index e01af2b1a46..01d36ba5405 100644 --- a/tools/perf/util/annotate.c +++ b/tools/perf/util/annotate.c | |||
@@ -324,9 +324,12 @@ fallback: | |||
324 | 324 | ||
325 | snprintf(command, sizeof(command), | 325 | snprintf(command, sizeof(command), |
326 | "objdump --start-address=0x%016" PRIx64 | 326 | "objdump --start-address=0x%016" PRIx64 |
327 | " --stop-address=0x%016" PRIx64 " -dS -C %s|grep -v %s|expand", | 327 | " --stop-address=0x%016" PRIx64 |
328 | " -d %s %s -C %s|grep -v %s|expand", | ||
328 | map__rip_2objdump(map, sym->start), | 329 | map__rip_2objdump(map, sym->start), |
329 | map__rip_2objdump(map, sym->end), | 330 | map__rip_2objdump(map, sym->end), |
331 | symbol_conf.annotate_asm_raw ? "" : "--no-show-raw", | ||
332 | symbol_conf.annotate_src ? "-S" : "", | ||
330 | symfs_filename, filename); | 333 | symfs_filename, filename); |
331 | 334 | ||
332 | pr_debug("Executing: %s\n", command); | 335 | pr_debug("Executing: %s\n", command); |