mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: ffix + tstamp
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
75ee11e514
commit
f2d15dc910
|
@ -24,7 +24,7 @@
|
|||
.\" This document is based on the perf_event.h header file, the
|
||||
.\" tools/perf/design.txt file, and a lot of bitter experience.
|
||||
.\"
|
||||
.TH PERF_EVENT_OPEN 2 2013-11-08 "Linux" "Linux Programmer's Manual"
|
||||
.TH PERF_EVENT_OPEN 2 2013-12-12 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
perf_event_open \- set up performance monitoring
|
||||
.SH SYNOPSIS
|
||||
|
@ -81,21 +81,21 @@ and
|
|||
.I cpu
|
||||
arguments allow specifying which process and CPU to monitor:
|
||||
.TP
|
||||
.BR pid==0 " and " cpu==\-1
|
||||
.BR "pid == 0" " and " "cpu == \-1"
|
||||
This measures the current process/thread on any CPU.
|
||||
.TP
|
||||
.BR pid==0 " and " cpu>=0
|
||||
.BR "pid == 0" " and " "cpu >= 0"
|
||||
This measures the current process/thread only
|
||||
when running on the specified CPU.
|
||||
.TP
|
||||
.BR pid>0 " and " cpu==\-1
|
||||
.BR "pid > 0" " and " "cpu == \-1"
|
||||
This measures the specified process/thread on any CPU.
|
||||
.TP
|
||||
.BR pid>0 " and " cpu>=0
|
||||
.BR "pid > 0" " and " "cpu >= 0"
|
||||
This measures the specified process/thread only
|
||||
when running on the specified CPU.
|
||||
.TP
|
||||
.BR pid==\-1 " and " cpu>=0
|
||||
.BR "pid == \-1" " and " "cpu >= 0"
|
||||
This measures all processes/threads on the specified CPU.
|
||||
Measurements such as this require the
|
||||
.B CAP_SYS_ADMIN
|
||||
|
|
Loading…
Reference in New Issue