opnsense-ports/devel/google-perftools/files/patch-src_pprof
Franco Fichtner 7135e34060 */*: sync with upstream
Taken from: FreeBSD
2016-04-09 16:19:36 +02:00

11 lines
565 B
Text

--- src/pprof.orig 2016-03-01 03:36:11 UTC
+++ src/pprof
@@ -4521,7 +4521,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)((\.\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})?)\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);