freebsd-ports/devel/google-perftools/files/patch-pprof
Giuseppe Pilichi e9b20e928f - Update to 1.6
PR:		ports/149407
Submitted by:	Yuri <yuri@tsoft.com> (maintainer)
Approved by:	pgj (mentor)
2010-08-31 19:36:58 +00:00

13 lines
595 B
Plaintext

--- src/pprof.orig 2010-06-16 19:42:24.000000000 -0700
+++ src/pprof 2010-06-16 19:43:19.000000000 -0700
@@ -3369,7 +3369,7 @@
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+(\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);