perf_event_open.2: PERF_COUNT_SW_DUMMY support

Support for the PERF_COUNT_SW_DUMMY event type was added in
Linux 3.12.

Signed-off-by: Vince Weaver <vincent.weaver@maine.edu>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Vince Weaver 2013-11-06 13:28:50 -05:00 committed by Michael Kerrisk
parent 4d4cecd6fa
commit dab3845542
1 changed files with 7 additions and 0 deletions

View File

@ -468,6 +468,13 @@ This counts the number of emulation faults.
The kernel sometimes traps on unimplemented instructions The kernel sometimes traps on unimplemented instructions
and emulates them for user space. and emulates them for user space.
This can negatively impact performance. This can negatively impact performance.
.TP
.BR PERF_COUNT_SW_DUMMY " (Since Linux 3.12)"
This is a placeholder event that counts nothing.
Informational sample record types such as mmap or comm
must be associated with an active event.
This dummy event allows gathering such records without requiring
a counting event.
.RE .RE
.RS .RS