svn commit: r373179 - head/devel/py-tipper
Alfred Perlstein
alfred at FreeBSD.org
Sun Nov 23 22:05:58 UTC 2014
Author: alfred (src committer)
Date: Sun Nov 23 22:05:57 2014
New Revision: 373179
URL: https://svnweb.freebsd.org/changeset/ports/373179
QAT: https://qat.redports.org/buildarchive/r373179/
Log:
py-tipper, get python stack tracebacks via SIGUSR1
Reviewed by: mva, wg
Added:
head/devel/py-tipper/
head/devel/py-tipper/Makefile (contents, props changed)
head/devel/py-tipper/distinfo (contents, props changed)
head/devel/py-tipper/pkg-descr (contents, props changed)
Added: head/devel/py-tipper/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-tipper/Makefile Sun Nov 23 22:05:57 2014 (r373179)
@@ -0,0 +1,18 @@
+# Created by: Alfred Perlstein <alfred at freebsd.org>
+# $FreeBSD$
+
+PORTNAME= tipper
+PORTVERSION= 0.1
+CATEGORIES= www python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= alfred at freebsd.org
+COMMENT= Tracebacks for python via SIGUSR1
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= distutils autoplist
+
+.include <bsd.port.mk>
Added: head/devel/py-tipper/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-tipper/distinfo Sun Nov 23 22:05:57 2014 (r373179)
@@ -0,0 +1,2 @@
+SHA256 (tipper-0.1.tar.gz) = 331cb4353f580e5e7057bbc7d2a258e7f192e52a9a7a33f25f3bb30d3c4129af
+SIZE (tipper-0.1.tar.gz) = 4013
Added: head/devel/py-tipper/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-tipper/pkg-descr Sun Nov 23 22:05:57 2014 (r373179)
@@ -0,0 +1,10 @@
+Tipper is a small utility for dumping `stack tracebacks`_ of running
+Python processes.
+
+Included is a module that, when imported, installs a `signal handler`_
+for `SIGUSR1`_. Running ``kill -SIGUSR1 [pid]`` will cause the process
+to dump the current stack trace of each thread to
+``$TMPDIR/tipper-[unix timestamp]-[parent pid]-[pid].log``.
+
+WWW: https://pypi.python.org/pypi/tipper
+
More information about the svn-ports-head
mailing list