summaryrefslogtreecommitdiffstats
path: root/dilos/tdesdk/debian/man/pprof2calltree.1
blob: b5cf9082c3c9457f05567f4970279586ca534a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
.\"                                      Hey, EMACS: -*- nroff -*-
.\" First parameter, NAME, should be all caps
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
.\" other parameters are allowed: see man(7), man(1)
.TH PPROF2CALLTREE 1 "October 15, 2004"
.\" Please adjust this date whenever revising the manpage.
.\"
.\" Some roff macros, for reference:
.\" .nh        disable hyphenation
.\" .hy        enable hyphenation
.\" .ad l      left justify
.\" .ad b      justify to both left and right margins
.\" .nf        disable filling
.\" .fi        enable filling
.\" .br        insert line break
.\" .sp <n>    insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.SH NAME
pprof2calltree \- convert APD profiling data to KCachegrind calltree format
.SH SYNOPSIS
.B pprof2calltree
\fB\-f\fP \fIinput\fP
.SH DESCRIPTION
\fBpprof2calltree\fP reads the pprof profiling data output by
APD (http://pecl.php.net/apd/), and converts it into calltree format
for use by KCachegrind.
.PP
This utility is part of the TDE Software Development Kit.
.SH OPTIONS
.TP
\fB\-f\fP \fIinput\fP
Specifies the APD pprof trace file to convert.  This generally has a
name of the form \fIpprof.XXXXX.Y\fP.  The calltree output for
KCachegrind will then be written to the file \fIcachegrind.out.XXXXX.Y\fP.
.SH EXAMPLE
Suppose you profile a script with APD and obtain the pprof trace file
\fIpprof.12345.1\fP.  You can then work with this data in KCachegrind as
follows.
.PP
.RS
pprof2calltree -f pprof.12345.1
.br
tdecachegrind cachegrind.out.12345.1
.RE
.PP
.SH SEE ALSO
.BR tdecachegrind (1).
.SH AUTHOR
This converter was written by George Schlossnagle <george@omniti.com>.
.br
This manual page was prepared by Ben Burton <bab@debian.org>
for the Debian GNU/Linux system (but may be used by others).