1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

sysutils/sample

A program for examining periodic stack traces of all running processes.

WWW: https://github.com/freenas/sample
This commit is contained in:
William Grzybowski 2016-03-14 19:50:34 +00:00
parent 3998073e82
commit 98026ee4e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=411111
5 changed files with 44 additions and 0 deletions

View File

@ -939,6 +939,7 @@
SUBDIR += safecat
SUBDIR += samefile
SUBDIR += samesame
SUBDIR += sample
SUBDIR += sas2ircu
SUBDIR += sas3ircu
SUBDIR += savelogs

35
sysutils/sample/Makefile Normal file
View File

@ -0,0 +1,35 @@
# $FreeBSD$
PORTNAME= sample
PORTVERSION= 0.02f
PORTREVISION= 1
CATEGORIES= sysutils
MAINTAINER= wg@FreeBSD.org
COMMENT= Examine periodic stack traces of all running processes
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${LOCALBASE}/lib/libbfd.a:${PORTSDIR}/devel/libbfd \
${LOCALBASE}/lib/libiberty.a:${PORTSDIR}/devel/gnulibiberty \
${LOCALBASE}/lib/libxo.a:${PORTSDIR}/devel/libxo \
${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \
${LOCALBASE}/bin/python:${PORTSDIR}/lang/python
USE_GITHUB= yes
GH_ACCOUNT= freenas
GH_PROJECT= sample
GH_TAGNAME= 45e2b86
USES= python:build kmod
MAKE_ENV= SYSDIR=${SRC_BASE}/sys
SSP_UNSAFE= YES
do-install:
${INSTALL_KLD} ${WRKSRC}/driver/sample_driver.ko ${STAGEDIR}${KMODDIR}
${INSTALL_MAN} ${WRKSRC}/sample/sample.8 ${STAGEDIR}${PREFIX}/man/man8
${INSTALL_PROGRAM} ${WRKSRC}/sample/sample ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

2
sysutils/sample/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (freenas-sample-0.02f-45e2b86_GH0.tar.gz) = 48d03eabd6c2acc3e311c16aac983d5d1aa2eac6577db48d668599f4b5717764
SIZE (freenas-sample-0.02f-45e2b86_GH0.tar.gz) = 31533

View File

@ -0,0 +1,3 @@
A program for examining periodic stack traces of all running processes.
WWW: https://github.com/freenas/sample

View File

@ -0,0 +1,3 @@
/%%KMODDIR%%/sample_driver.ko
bin/sample
man/man8/sample.8.gz