forked from Lainports/opnsense-ports
11 lines
575 B
Text
11 lines
575 B
Text
--- src/pprof.orig 2017-07-06 15:20:46 UTC
|
|
+++ src/pprof
|
|
@@ -4520,7 +4520,7 @@ sub ParseLibraries {
|
|
my $finish;
|
|
my $offset;
|
|
my $lib;
|
|
- if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(.+\.(so|dll|dylib|bundle|node)((\.\d+)+\w*(\.\d+){0,3})?)$/i) {
|
|
+ if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(.+\.(so|dll|dylib|bundle|node)((\.\d+)+\w*(\.\d+){0,3})?)\s+[A-Z]+\s+[\-0-9]+$/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);
|