aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/pmcstat/pmcstat.8
diff options
context:
space:
mode:
authorMatt Macy <mmacy@FreeBSD.org>2018-05-26 19:29:19 +0000
committerMatt Macy <mmacy@FreeBSD.org>2018-05-26 19:29:19 +0000
commit959826ca1bb0a42ddd624bf1803ae2957a3282f3 (patch)
treec994717317a845c2afb2fd2d79beb650af57fafd /usr.sbin/pmcstat/pmcstat.8
parent5506ceb87fa19140863b4e3ee978f631ccc4cf74 (diff)
downloadsrc-959826ca1bb0a42ddd624bf1803ae2957a3282f3.tar.gz
src-959826ca1bb0a42ddd624bf1803ae2957a3282f3.zip
pmc(3)/hwpmc(4): update supported Intel processors to rely fully on the
vendor provided pmu-events tables and sundry cleanups. The vendor pmu-events tables provide counter descriptions, default sample rates, event, umask, and flag values for all the counter configuration permutations. Using this gives us: - much simpler kernel code for the MD component - helpful long and short event descriptions - simpler user code - sample rates that won't overload the system Update man page with newer sample types and remove unused sample type.
Notes
Notes: svn path=/head/; revision=334244
Diffstat (limited to 'usr.sbin/pmcstat/pmcstat.8')
-rw-r--r--usr.sbin/pmcstat/pmcstat.825
1 files changed, 17 insertions, 8 deletions
diff --git a/usr.sbin/pmcstat/pmcstat.8 b/usr.sbin/pmcstat/pmcstat.8
index fa68a39a1483..f6ff4fbb32cb 100644
--- a/usr.sbin/pmcstat/pmcstat.8
+++ b/usr.sbin/pmcstat/pmcstat.8
@@ -39,7 +39,7 @@
.Op Fl F Ar pathname
.Op Fl G Ar pathname
.Op Fl I
-.Op Fl L Ar lwp
+.Op Fl L
.Op Fl M Ar mapfilename
.Op Fl N
.Op Fl O Ar logfilename
@@ -47,6 +47,7 @@
.Op Fl R Ar logfilename
.Op Fl S Ar event-spec
.Op Fl T
+.Op Fl U Ar event-spec
.Op Fl W
.Op Fl a Ar pathname
.Op Fl c Ar cpu-spec
@@ -54,6 +55,7 @@
.Op Fl e
.Op Fl f Ar pluginopt
.Op Fl g
+.Op Fl i Ar lwp
.Op Fl k Ar kerneldir
.Op Fl l Ar secs
.Op Fl m Ar pathname
@@ -64,6 +66,7 @@
.Op Fl r Ar fsroot
.Op Fl s Ar event-spec
.Op Fl t Ar process-spec
+.Op Fl u Ar event-spec
.Op Fl v
.Op Fl w Ar secs
.Op Fl z Ar graphdepth
@@ -159,13 +162,8 @@ this information is sent to the output file specified by the
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 L
+List all event names.
.It Fl M Ar mapfilename
Write the mapping between executable objects encountered in the event
log and the abbreviated pathnames used for
@@ -228,6 +226,8 @@ can be used: 'c+a' switch to accumulative mode, 'c+d' switch
to delta mode, 'm' merge PMCs, 'n' change view, 'p' show next
PMC, ' ' pause, 'q' quit. calltree only: 'f' cost under threshold
is seen as a dot.
+.It Fl U Ar event-spec
+Provide long description of event.
.It Fl W
Toggle logging the incremental counts seen by the threads of a
tracked process each time they are scheduled on a CPU.
@@ -291,6 +291,13 @@ A separate profile file is generated for each executable object
encountered.
Profile files are placed in sub-directories named by their PMC
event name.
+.It Fl i Ar lwp
+Filter on thread ID
+.Ar lwp ,
+which you can get from
+.Xr ps 1
+.Fl o
+.Li lwp .
.It Fl k Ar kerneldir
Set the pathname of the kernel directory to argument
.Ar kerneldir .
@@ -363,6 +370,8 @@ Argument
.Ar process-spec
may be a non-negative integer denoting a specific process id, or a
regular expression for selecting processes based on their command names.
+.It Fl u Ar event-spec
+Provide short description of event.
.It Fl v
Increase verbosity.
.It Fl w Ar secs