Page MenuHomeFreeBSD

D15549.1794810405.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D15549.1794810405.diff

Index: usr.sbin/pmcstat/pmcstat.8
===================================================================
--- usr.sbin/pmcstat/pmcstat.8
+++ usr.sbin/pmcstat/pmcstat.8
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 18, 2015
+.Dd May 24, 2018
.Dt PMCSTAT 8
.Os
.Sh NAME
@@ -38,6 +38,7 @@
.Op Fl E
.Op Fl F Ar pathname
.Op Fl G Ar pathname
+.Op Fl L Ar lwp
.Op Fl M Ar mapfilename
.Op Fl N
.Op Fl O Ar logfilename
@@ -155,6 +156,13 @@
this information is sent to the output file specified by the
.Fl o
option.
+.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
Write the mapping between executable objects encountered in the event
log and the abbreviated pathnames used for
Index: usr.sbin/pmcstat/pmcstat.c
===================================================================
--- usr.sbin/pmcstat/pmcstat.c
+++ usr.sbin/pmcstat/pmcstat.c
@@ -365,6 +365,7 @@
"\t -F file\t write a system-wide callgraph (Kcachegrind format)"
" to \"file\"\n"
"\t -G file\t write a system-wide callgraph to \"file\"\n"
+ "\t -L lwp\t filter on thread id matching \"lwp\"\n"
"\t -M file\t print executable/gmon file map to \"file\"\n"
"\t -N\t\t (toggle) capture callchains\n"
"\t -O file\t send log output to \"file\"\n"

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 16, 6:26 AM (6 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41745512
Default Alt Text
D15549.1794810405.diff (1 KB)

Event Timeline