diff options
author | attilio <attilio@FreeBSD.org> | 2008-11-25 23:24:29 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2008-11-25 23:24:29 +0000 |
commit | eff98a06a316fa7bfe69fa25e05b4f43234ef0fb (patch) | |
tree | d20d0851527ed4a62980cc01bd4c57e8892a17e1 /usr.sbin/pmcstat/pmcstat.8 | |
parent | d6453c69d2e055205ffd07e3cb6b3370a99f3b82 (diff) | |
download | FreeBSD-src-eff98a06a316fa7bfe69fa25e05b4f43234ef0fb.zip FreeBSD-src-eff98a06a316fa7bfe69fa25e05b4f43234ef0fb.tar.gz |
Add the -m option to pmcstat.
This option prints the list of sampled PCs along with the function name,
the start and end addresses of this where their live within.
Reviewed by: jkoshy
Tested by: gnn
Sponsored by: Nokia
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat.8')
-rw-r--r-- | usr.sbin/pmcstat/pmcstat.8 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.8 b/usr.sbin/pmcstat/pmcstat.8 index f0a3a47..3ce35cc 100644 --- a/usr.sbin/pmcstat/pmcstat.8 +++ b/usr.sbin/pmcstat/pmcstat.8 @@ -48,6 +48,7 @@ .Op Fl d .Op Fl g .Op Fl k Ar kerneldir +.Op Fl m Ar pathname .Op Fl n Ar rate .Op Fl o Ar outputfile .Op Fl p Ar event-spec @@ -232,6 +233,19 @@ This directory specifies where should look for the kernel and its modules. The default is .Pa /boot/kernel . +.It Fl m Ar pathname +Print the sampled PCs with the name, the start and ending addresses +of the function within they live. +The +.Ar pathname +argument is mandatory and indicates where informations will be stored. +If argument +.Ar pathname +is a +.Dq Li - +this information is sent to the output file specified by the +.Fl o +option. .It Fl n Ar rate Set the default sampling rate for subsequent sampling mode PMCs specified on the command line. |