perf_event_open.2: Tweaks to Vince Weaver's patch "document new mmap2 record type"

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-08-15 21:12:26 +02:00
parent 9bfc542b93
commit 3a058284b6
1 changed files with 13 additions and 10 deletions

View File

@ -1598,10 +1598,10 @@ struct {
.RS
.TP
.I pid
is the process id.
is the process ID.
.TP
.I tid
is the thread id.
is the thread ID.
.TP
.I addr
is the address of the allocated memory.
@ -2134,13 +2134,15 @@ This record includes extended information on
calls returning executable mappings.
The format is similar to that of the
.B PERF_RECORD_MMAP
record but includes extra values that allow uniquely identifying
record, but includes extra values that allow uniquely identifying
shared mappings.
.in +4n
.nf
struct {
struct perf_event_header header;
u32 pid, tid;
u32 pid;
u32 tid;
u64 addr;
u64 len;
u64 pgoff;
@ -2148,7 +2150,8 @@ struct {
u32 min;
u64 ino;
u64 ino_generation;
u32 prot, flags;
u32 prot;
u32 flags;
char filename[];
struct sample_id sample_id;
};
@ -2156,10 +2159,10 @@ struct {
.RS
.TP
.I pid
is the process id.
is the process ID.
.TP
.I tid
is the thread id.
is the thread ID.
.TP
.I addr
is the address of the allocated memory.
@ -2171,13 +2174,13 @@ is the length of the allocated memory.
is the page offset of the allocated memory.
.TP
.I maj
is the major number of the underlying device.
is the major ID of the underlying device.
.TP
.I min
is the minor number of the underlying device.
is the minor ID of the underlying device.
.TP
.I ino
is the inode.
is the inode number.
.TP
.I ino_generation
is the inode generation.