summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author风 <invalid_ms_user@live.com>2019-04-22 06:21:12 (GMT)
committerQi Wang <interwq@gmail.com>2019-04-23 22:29:57 (GMT)
commit498f47e1ec83431426cdff256c23eceade41b4ef (patch)
tree4c0349c1a5d35dfd79bfab0789195bdc5925da5e
parent1aabab5fdca1cd76be3900e9272ef83549006ac0 (diff)
downloadjemalloc-498f47e1ec83431426cdff256c23eceade41b4ef.zip
jemalloc-498f47e1ec83431426cdff256c23eceade41b4ef.tar.gz
jemalloc-498f47e1ec83431426cdff256c23eceade41b4ef.tar.bz2
Fix typo derived from tcmalloc's pprof
The same pr is submitted into gperftools: https://github.com/gperftools/gperftools/pull/1105
-rw-r--r--bin/jeprof.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/jeprof.in b/bin/jeprof.in
index 16a76c6..3ed408c 100644
--- a/bin/jeprof.in
+++ b/bin/jeprof.in
@@ -5367,7 +5367,7 @@ sub GetProcedureBoundaries {
my $demangle_flag = "";
my $cppfilt_flag = "";
my $to_devnull = ">$dev_null 2>&1";
- if (system(ShellEscape($nm, "--demangle", "image") . $to_devnull) == 0) {
+ if (system(ShellEscape($nm, "--demangle", $image) . $to_devnull) == 0) {
# In this mode, we do "nm --demangle <foo>"
$demangle_flag = "--demangle";
$cppfilt_flag = "";