From 3a058284b65330f9e6da53ec2d329b41eb4c788b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 15 Aug 2014 21:12:26 +0200 Subject: [PATCH] perf_event_open.2: Tweaks to Vince Weaver's patch "document new mmap2 record type" Signed-off-by: Michael Kerrisk --- man2/perf_event_open.2 | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index d03acc258..33f778213 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -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.