diff options
author | Aliaksey Kandratsenka <alk@tut.by> | 2014-07-26 14:12:42 -0700 |
---|---|---|
committer | Aliaksey Kandratsenka <alk@tut.by> | 2014-07-26 14:12:42 -0700 |
commit | a12890df2519d254d1c497b8e0a65bb8fc9e1ab2 (patch) | |
tree | 304e23b3f54cdeb02842001cd70d2d4a4e846fc2 | |
parent | d5e36788d8bc626403dc020a86213cfc740ee73d (diff) | |
download | gperftools-a12890df2519d254d1c497b8e0a65bb8fc9e1ab2.tar.gz |
issue-635: allow whitespace in libraries paths
This applies change suggested by user mich...@sebesbefut.com
-rwxr-xr-x | src/pprof | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4393,7 +4393,7 @@ sub ParseLibraries { my $finish; my $offset; my $lib; - if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(\S+\.(so|dll|dylib|bundle)((\.\d+)+\w*(\.\d+){0,3})?)$/i) { + if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(.+\.(so|dll|dylib|bundle)((\.\d+)+\w*(\.\d+){0,3})?)$/i) { # Full line from /proc/self/maps. Example: # 40000000-40015000 r-xp 00000000 03:01 12845071 /lib/ld-2.3.2.so $start = HexExtend($1); |