Skip to content

Commit

Permalink
Fix typo derived from tcmalloc's pprof
Browse files Browse the repository at this point in the history
The same pr is submitted into gperftools:

gperftools/gperftools#1105
  • Loading branch information
theidexisted authored and interwq committed Apr 23, 2019
1 parent 1aabab5 commit 498f47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/jeprof.in
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "";
Expand Down

0 comments on commit 498f47e

Please sign in to comment.