1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

Add p5-Devel-STrace 0.31, strace(1)-like runtime call trace for Perl

applications.
This commit is contained in:
Sergey Skvortsov 2006-08-28 10:23:18 +00:00
parent a1c9b2ca0e
commit 1e6baf7b0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=171529
5 changed files with 51 additions and 0 deletions

View File

@ -1010,6 +1010,7 @@
SUBDIR += p5-Devel-Profile
SUBDIR += p5-Devel-Profiler
SUBDIR += p5-Devel-RingBuffer
SUBDIR += p5-Devel-STrace
SUBDIR += p5-Devel-SimpleTrace
SUBDIR += p5-Devel-Size
SUBDIR += p5-Devel-SmallProf

View File

@ -0,0 +1,29 @@
# New ports collection makefile for: Devel-STrace
# Date created: 28 August 2006
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= Devel-STrace
PORTVERSION= 0.31
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Devel
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= strace(1)-like runtime call trace for Perl applications
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Devel/RingBuffer.pm:${PORTSDIR}/devel/p5-Devel-RingBuffer \
${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= Devel::STrace.3 Devel::STrace::Monitor.3
post-patch:
@${REINPLACE_CMD} -e 's!\.pl!!g' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (Devel-STrace-0.31.tar.gz) = 8176b029e581374be3b198789528c4a7
SHA256 (Devel-STrace-0.31.tar.gz) = 38da714f9aa35f6a88a9d5e632b154b8a57380b042a8cd062850cc07bdce1b77
SIZE (Devel-STrace-0.31.tar.gz) = 18691

View File

@ -0,0 +1,8 @@
Provides a strace/truss-like runtime call monitor for Perl applications.
Note that, while strace/truss only dumps system calls, Devel::STrace
dumps all calls to Perl subs on the application's stack. Also note that
Devel::STrace cannot trace non-Perl calls (e.g., calls inside XS/C
modules), so an additional external strace/truss monitor may be needed
to fully diagnose a misbehaving Perl script.
WWW: http://search.cpan.org/dist/Devel-STrace/

View File

@ -0,0 +1,10 @@
bin/plstrace
%%SITE_PERL%%/Devel/STrace.pm
%%SITE_PERL%%/Devel/STrace.pod
%%SITE_PERL%%/Devel/STrace/Monitor.pm
%%SITE_PERL%%/Devel/STrace/Monitor.pod
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/STrace/.packlist
@dirrm %%SITE_PERL%%/Devel/STrace
@dirrmtry %%SITE_PERL%%/Devel
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/STrace
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel