1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

py-tipper, get python stack tracebacks via SIGUSR1

Reviewed by: mva, wg
This commit is contained in:
Alfred Perlstein 2014-11-23 22:05:57 +00:00
parent 228dcbe001
commit 33a2e6a96b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373179
3 changed files with 30 additions and 0 deletions

18
devel/py-tipper/Makefile Normal file
View File

@ -0,0 +1,18 @@
# Created by: Alfred Perlstein <alfred@freebsd.org>
# $FreeBSD$
PORTNAME= tipper
PORTVERSION= 0.1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= alfred@freebsd.org
COMMENT= Tracebacks for python via SIGUSR1
LICENSE= MIT
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

2
devel/py-tipper/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (tipper-0.1.tar.gz) = 331cb4353f580e5e7057bbc7d2a258e7f192e52a9a7a33f25f3bb30d3c4129af
SIZE (tipper-0.1.tar.gz) = 4013

10
devel/py-tipper/pkg-descr Normal file
View File

@ -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