pmcstat(8)

- Document per thread filtering.

Submitted by:	kbowling
Sponsored by:	Limelight Networks
Differential Revision:	https://reviews.freebsd.org/D15549
This commit is contained in:
sbruno 2018-05-25 18:11:13 +00:00
parent 88b6e9f18b
commit f7707a7fd0
2 changed files with 14 additions and 3 deletions

View File

@ -25,7 +25,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd November 18, 2015 .Dd May 25, 2018
.Dt PMCSTAT 8 .Dt PMCSTAT 8
.Os .Os
.Sh NAME .Sh NAME
@ -38,6 +38,8 @@
.Op Fl E .Op Fl E
.Op Fl F Ar pathname .Op Fl F Ar pathname
.Op Fl G Ar pathname .Op Fl G Ar pathname
.Op Fl I
.Op Fl L Ar lwp
.Op Fl M Ar mapfilename .Op Fl M Ar mapfilename
.Op Fl N .Op Fl N
.Op Fl O Ar logfilename .Op Fl O Ar logfilename
@ -155,6 +157,15 @@ is a
this information is sent to the output file specified by the this information is sent to the output file specified by the
.Fl o .Fl o
option. option.
.It Fl I
Skip symbol lookup and display address instead.
.It Fl L Ar lwp
Filter on thread ID
.Ar lwp ,
which you can get from
.Xr ps 1
.Fl o
.Li lwp .
.It Fl M Ar mapfilename .It Fl M Ar mapfilename
Write the mapping between executable objects encountered in the event Write the mapping between executable objects encountered in the event
log and the abbreviated pathnames used for log and the abbreviated pathnames used for

View File

@ -365,8 +365,8 @@ pmcstat_show_usage(void)
"\t -F file\t write a system-wide callgraph (Kcachegrind format)" "\t -F file\t write a system-wide callgraph (Kcachegrind format)"
" to \"file\"\n" " to \"file\"\n"
"\t -G file\t write a system-wide callgraph to \"file\"\n" "\t -G file\t write a system-wide callgraph to \"file\"\n"
"\t -I don't resolve leaf function but show address instead" "\t -I don't resolve leaf function name, show address instead\n"
"\t -L \"tid\" filter on thread id in post-processing" "\t -L lwp\t filter on thread id \"lwp\" in post-processing\n"
"\t -M file\t print executable/gmon file map to \"file\"\n" "\t -M file\t print executable/gmon file map to \"file\"\n"
"\t -N\t\t (toggle) capture callchains\n" "\t -N\t\t (toggle) capture callchains\n"
"\t -O file\t send log output to \"file\"\n" "\t -O file\t send log output to \"file\"\n"