svn commit: r477513 - in head/devel: . pprof

Yuri Victorovich yuri at FreeBSD.org
Sat Aug 18 16:31:18 UTC 2018


Author: yuri
Date: Sat Aug 18 16:31:16 2018
New Revision: 477513
URL: https://svnweb.freebsd.org/changeset/ports/477513

Log:
  New port: devel/pprof: Tool for visualization and analysis of profiling data

Added:
  head/devel/pprof/
  head/devel/pprof/Makefile   (contents, props changed)
  head/devel/pprof/distinfo   (contents, props changed)
  head/devel/pprof/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Sat Aug 18 16:19:52 2018	(r477512)
+++ head/devel/Makefile	Sat Aug 18 16:31:16 2018	(r477513)
@@ -4196,6 +4196,7 @@
     SUBDIR += poxml
     SUBDIR += poxml-kde4
     SUBDIR += ppl
+    SUBDIR += pprof
     SUBDIR += pragmarcs
     SUBDIR += premake
     SUBDIR += premake4

Added: head/devel/pprof/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pprof/Makefile	Sat Aug 18 16:31:16 2018	(r477513)
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME=	pprof
+DISTVERSION=	g20180815
+CATEGORIES=	devel
+
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Tool for visualization and analysis of profiling data
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	go:lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	google
+GH_TAGNAME=	781f11b
+GH_TUPLE=	chzyer:readline:v1.4:readline/src/github.com/chzyer/readline \
+		ianlancetaylor:demangle:fcd258a:demangle/src/github.com/ianlancetaylor/demangle
+GH_SUBDIR=	src/github.com/google/${PORTNAME}
+
+PLIST_FILES=	bin/${PORTNAME}
+
+do-build:
+	@cd ${WRKSRC}/${GH_SUBDIR} && \
+		${SETENV} ${MAKE_ENV} GOPATH=${WRKSRC} go build -o ${PORTNAME}
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.mk>

Added: head/devel/pprof/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pprof/distinfo	Sat Aug 18 16:31:16 2018	(r477513)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1534609187
+SHA256 (google-pprof-g20180815-781f11b_GH0.tar.gz) = 8837b7370e2dbee5e892b7fb6b733563a07547e7a5c198f4094d13a611c48874
+SIZE (google-pprof-g20180815-781f11b_GH0.tar.gz) = 1138039
+SHA256 (chzyer-readline-v1.4_GH0.tar.gz) = 35a66d31d8c91b6b908c40137adf75eac09bb7bd2dbb9dbb12ff74216ec6ba45
+SIZE (chzyer-readline-v1.4_GH0.tar.gz) = 34261
+SHA256 (ianlancetaylor-demangle-fcd258a_GH0.tar.gz) = b064770efb052f2f2c7fc91119f2fc3b5de13302749742d7ed841d05f68868d4
+SIZE (ianlancetaylor-demangle-fcd258a_GH0.tar.gz) = 59252

Added: head/devel/pprof/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pprof/pkg-descr	Sat Aug 18 16:31:16 2018	(r477513)
@@ -0,0 +1,14 @@
+pprof is a tool for visualization and analysis of profiling data.
+
+pprof reads a collection of profiling samples in profile.proto format and
+generates reports to visualize and help analyze the data. It can generate
+both text and graphical reports (through the use of the dot visualization
+package).
+
+Profiles can be read from a local file, or over http. Multiple profiles of
+the same type can be aggregated or compared.
+
+If the profile samples contain machine addresses, pprof can symbolize them
+through the use of the native binutils tools (addr2line and nm).
+
+WWW: https://github.com/google/pprof


More information about the svn-ports-head mailing list