mirror of https://github.com/mkerrisk/man-pages
perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
8fec36298f
commit
cd7c700a16
|
@ -815,11 +815,11 @@ If set, don't count when the CPU is idle.
|
|||
The
|
||||
.I mmap
|
||||
bit enables generation of
|
||||
.I PERF_RECORD_MMAP
|
||||
.B PERF_RECORD_MMAP
|
||||
samples for every
|
||||
.BR mmap (2)
|
||||
call that has
|
||||
.I PROT_EXEC
|
||||
.B PROT_EXEC
|
||||
set.
|
||||
This allows tools to notice new executable code being mapped into
|
||||
a program (dynamic shared libraries for example)
|
||||
|
@ -829,9 +829,9 @@ so that addresses can be mapped back to the original code.
|
|||
The
|
||||
.I comm
|
||||
bit enables tracking of process command name as modified by the
|
||||
.IR exec (2)
|
||||
.BR exec (2)
|
||||
and
|
||||
.IR prctl (PR_SET_NAME)
|
||||
.BR prctl (PR_SET_NAME)
|
||||
system calls.
|
||||
Unfortunately for tools,
|
||||
there is no way to distinguish one system call versus the other.
|
||||
|
@ -904,11 +904,11 @@ The counterpart of the
|
|||
.I mmap
|
||||
field.
|
||||
This enables generation of
|
||||
.I PERF_RECORD_MMAP
|
||||
.B PERF_RECORD_MMAP
|
||||
samples for
|
||||
.BR mmap (2)
|
||||
calls that do not have
|
||||
.I PROT_EXEC
|
||||
.B PROT_EXEC
|
||||
set (for example data and SysV shared memory).
|
||||
.TP
|
||||
.IR "sample_id_all" " (Since Linux 2.6.38)"
|
||||
|
|
Loading…
Reference in New Issue