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:
parent
fd3329ec4b
commit
6b436fa5c1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257127
@ -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}
|
||||
|
12
devel/google-perftools/files/patch-pprof
Normal file
12
devel/google-perftools/files/patch-pprof
Normal 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);
|
||||
|
Loading…
Reference in New Issue
Block a user