1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- Fixes the minor issue when shared libraries aren't accounted for in the profile.

PR:		ports/147930
Submitted by:	Yuri <yuri@tsoft.com> (maintainer)
Feature safe:	yes
This commit is contained in:
Wen Heping 2010-06-29 01:47:32 +00:00
parent fd3329ec4b
commit 6b436fa5c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257127
2 changed files with 13 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= google-perftools
PORTVERSION= 1.5
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \
${MASTER_SITE_LOCAL}

View File

@ -0,0 +1,12 @@
--- 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*)?)$/i) {
+ if ($l =~ /^($h)-($h)\s+..x.\s+($h)\s+\S+:\S+\s+\d+\s+(\S+\.(so|dll|dylib|bundle)((\.\d+)+\w*)?)\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);