Sys::Trace provides a way to programmatically run or trace a program

and see the system calls it makes.

This can be useful during testing as a way to ensure a particular file
is actually opened, or another hard to test interaction actually occurs.

Currently supported tracing mechanisms are ktrace, strace and truss.

WWW: http://search.cpan.org/dist/Sys-Trace/

PR:		ports/148395
Submitted by:	Ju Pengfei <jupengfei@gmail.com>
This commit is contained in:
Wen Heping 2010-07-09 03:47:44 +00:00
parent c32286c579
commit 8cd2a0c566
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=257543
5 changed files with 49 additions and 0 deletions

View file

@ -2116,6 +2116,7 @@
SUBDIR += p5-Sys-Sig
SUBDIR += p5-Sys-SigAction
SUBDIR += p5-Sys-Syscall
SUBDIR += p5-Sys-Trace
SUBDIR += p5-System2
SUBDIR += p5-TAP-Formatter-JUnit
SUBDIR += p5-TAP-Harness-JUnit

View file

@ -0,0 +1,25 @@
# New ports collection makefile for: Sys-Trace
# Date created: 06 July 2010
# Whom: Ju Pengfei <jupengfei@gmail.com>
#
# $FreeBSD$
#
PORTNAME= Sys-Trace
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= jupengfei@gmail.com
COMMENT= Interface to system call tracing interfaces
PERL_CONFIGURE= yes
MAN3= Sys::Trace.3 \
Sys::Trace::Impl::Ktrace.3 \
Sys::Trace::Impl::Strace.3 \
Sys::Trace::Impl::Truss.3 \
Sys::Trace::Results.3
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (Sys-Trace-0.03.tar.gz) = b33557f2f520add773de94fed1f2e507
SHA256 (Sys-Trace-0.03.tar.gz) = f1eb9726b10a2c2a28e226f70f4cb45249d38ea15215d8f68d18960ca9b6c723
SIZE (Sys-Trace-0.03.tar.gz) = 27355

View file

@ -0,0 +1,9 @@
Sys::Trace provides a way to programmatically run or trace a program
and see the system calls it makes.
This can be useful during testing as a way to ensure a particular file
is actually opened, or another hard to test interaction actually occurs.
Currently supported tracing mechanisms are ktrace, strace and truss.
WWW: http://search.cpan.org/dist/Sys-Trace/

View file

@ -0,0 +1,11 @@
%%SITE_PERL%%/Sys/Trace/Impl/Ktrace.pm
%%SITE_PERL%%/Sys/Trace/Impl/Strace.pm
%%SITE_PERL%%/Sys/Trace/Impl/Truss.pm
%%SITE_PERL%%/Sys/Trace/Results.pm
%%SITE_PERL%%/Sys/Trace.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Trace/.packlist
@dirrm %%SITE_PERL%%/Sys/Trace/Impl
@dirrm %%SITE_PERL%%/Sys/Trace
@dirrmtry %%SITE_PERL%%/Sys
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys/Trace
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Sys