pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/etrace etrace: A run-time tracing tool



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19f23a13e0b0
branches:  trunk
changeset: 520022:19f23a13e0b0
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Fri Oct 13 23:45:15 2006 +0000

description:
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:

 devel/etrace/DESCR    |  13 +++++++++++++
 devel/etrace/Makefile |  35 +++++++++++++++++++++++++++++++++++
 devel/etrace/PLIST    |  11 +++++++++++
 devel/etrace/distinfo |   5 +++++
 4 files changed, 64 insertions(+), 0 deletions(-)

diffs (80 lines):

diff -r 1c11b41eaa90 -r 19f23a13e0b0 devel/etrace/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/etrace/DESCR        Fri Oct 13 23:45:15 2006 +0000
@@ -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 -r 1c11b41eaa90 -r 19f23a13e0b0 devel/etrace/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/etrace/Makefile     Fri Oct 13 23:45:15 2006 +0000
@@ -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@localhost
+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 -r 1c11b41eaa90 -r 19f23a13e0b0 devel/etrace/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/etrace/PLIST        Fri Oct 13 23:45:15 2006 +0000
@@ -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 -r 1c11b41eaa90 -r 19f23a13e0b0 devel/etrace/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/etrace/distinfo     Fri Oct 13 23:45:15 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index