diff options
author | gdt <gdt> | 2006-10-13 23:45:15 +0000 |
---|---|---|
committer | gdt <gdt> | 2006-10-13 23:45:15 +0000 |
commit | 08173e40c4266d2afe705df67f9097a411190311 (patch) | |
tree | 4bb374184d88a3156fc75d427575ff9f3de0a082 /devel/etrace | |
parent | f3409045b77d126b0f8da049c99728a685ea85da (diff) | |
download | pkgsrc-08173e40c4266d2afe705df67f9097a411190311.tar.gz |
etrace: A run-time tracing tool
-------------------------------
These source files comprise a simple but efficient utility that allows the
display of a function call tree in a C program at run-time. It is also
possible to dump the results of a program execution to an ASCII file for
later examination.
* ptrace.c compiles your code to enable this run-time tracing
* etrace is a Python script that will perform the run-time tracing by
displaying the function names as they are called
* etrace.pl is a Perl script that will perform the run-time tracing by
displaying the function names as they are called. Moreover, etrace.pl
can be used to trace dynamic libraries.
Diffstat (limited to 'devel/etrace')
-rw-r--r-- | devel/etrace/DESCR | 13 | ||||
-rw-r--r-- | devel/etrace/Makefile | 35 | ||||
-rw-r--r-- | devel/etrace/PLIST | 11 | ||||
-rw-r--r-- | devel/etrace/distinfo | 5 |
4 files changed, 64 insertions, 0 deletions
diff --git a/devel/etrace/DESCR b/devel/etrace/DESCR new file mode 100644 index 00000000000..f0ec3ce21cb --- /dev/null +++ b/devel/etrace/DESCR @@ -0,0 +1,13 @@ +etrace: A run-time tracing tool +------------------------------- +These source files comprise a simple but efficient utility that allows the +display of a function call tree in a C program at run-time. It is also +possible to dump the results of a program execution to an ASCII file for +later examination. + +* ptrace.c compiles your code to enable this run-time tracing +* etrace is a Python script that will perform the run-time tracing by +displaying the function names as they are called +* etrace.pl is a Perl script that will perform the run-time tracing by +displaying the function names as they are called. Moreover, etrace.pl +can be used to trace dynamic libraries. diff --git a/devel/etrace/Makefile b/devel/etrace/Makefile new file mode 100644 index 00000000000..621da61cca8 --- /dev/null +++ b/devel/etrace/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $ +# + +DISTNAME= etrace-2.1 +CATEGORIES= devel +MASTER_SITES= http://ndevilla.free.fr/etrace/ + +MAINTAINER= gdt@NetBSD.org +HOMEPAGE= http://ndevilla.free.fr/etrace/ +COMMENT= Function call tracing + +USE_TOOLS+= perl + +NO_BUILD= yes + +SHAREDIR= ${PREFIX}/share/etrace +DOCDIR= ${PREFIX}/share/doc/etrace +EXAMPLEDIR= ${PREFIX}/share/examples/etrace +BINDIR= ${PREFIX}/bin + +REPLACE_PERL= src/etrace.pl +# python script uses /usr/bin/env; let it slide pending wondering if +# we really want to depend on python and use a pyNN- prefix. + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace ${BINDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/src/etrace.pl ${BINDIR} + ${INSTALL_DATA_DIR} ${SHAREDIR} + ${INSTALL_SCRIPT} ${WRKSRC}/src/ptrace.c ${SHAREDIR} + ${INSTALL_DATA_DIR} ${DOCDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR} + ${INSTALL_DATA_DIR} ${EXAMPLEDIR} + ${INSTALL_DATA} ${WRKSRC}/example/* ${EXAMPLEDIR} + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/etrace/PLIST b/devel/etrace/PLIST new file mode 100644 index 00000000000..f6a37810b8a --- /dev/null +++ b/devel/etrace/PLIST @@ -0,0 +1,11 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $ +bin/etrace +bin/etrace.pl +share/doc/etrace/README +share/examples/etrace/Makefile +share/examples/etrace/crumble.c +share/etrace/ptrace.c +@exec ${MKDIR} %D/share/examples/etrace +@dirrm share/examples/etrace +@dirrm share/etrace +@dirrm share/doc/etrace diff --git a/devel/etrace/distinfo b/devel/etrace/distinfo new file mode 100644 index 00000000000..42acf40de17 --- /dev/null +++ b/devel/etrace/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/10/13 23:45:15 gdt Exp $ + +SHA1 (etrace-2.1.tar.gz) = 80798628bb7e1c65c558b05ec451c9447bd8543a +RMD160 (etrace-2.1.tar.gz) = b15d51acf9cdb4a7d42b31c556d1d86c81f9acf7 +Size (etrace-2.1.tar.gz) = 8255 bytes |