aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2016-10-17 08:44:55 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2016-10-17 08:44:55 +0200
commit7a10da70f2d00c0bf5ea9b0b4ffa50ac008a15f3 (patch)
tree613477877723a500aa0b17b7a0637c47af1f3efe
parent4199d3a14bd137c4a8dae2ef25923b99bac3a3a8 (diff)
downloadman-pages-7a10da70f2d00c0bf5ea9b0b4ffa50ac008a15f3.tar.gz
perf_event_open.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man2/perf_event_open.2122
1 files changed, 61 insertions, 61 deletions
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2
index 752ede55ac..58fa89805b 100644
--- a/man2/perf_event_open.2
+++ b/man2/perf_event_open.2
@@ -1875,8 +1875,8 @@ This record indicates when events are lost.
.nf
struct {
struct perf_event_header header;
- u64 id;
- u64 lost;
+ u64 id;
+ u64 lost;
struct sample_id sample_id;
};
.fi
@@ -1897,9 +1897,9 @@ This record indicates a change in the process name.
.nf
struct {
struct perf_event_header header;
- u32 pid;
- u32 tid;
- char comm[];
+ u32 pid;
+ u32 tid;
+ char comm[];
struct sample_id sample_id;
};
.fi
@@ -1923,9 +1923,9 @@ This record indicates a process exit event.
.nf
struct {
struct perf_event_header header;
- u32 pid, ppid;
- u32 tid, ptid;
- u64 time;
+ u32 pid, ppid;
+ u32 tid, ptid;
+ u64 time;
struct sample_id sample_id;
};
.fi
@@ -1938,9 +1938,9 @@ This record indicates a throttle/unthrottle event.
.nf
struct {
struct perf_event_header header;
- u64 time;
- u64 id;
- u64 stream_id;
+ u64 time;
+ u64 id;
+ u64 stream_id;
struct sample_id sample_id;
};
.fi
@@ -1953,9 +1953,9 @@ This record indicates a fork event.
.nf
struct {
struct perf_event_header header;
- u32 pid, ppid;
- u32 tid, ptid;
- u64 time;
+ u32 pid, ppid;
+ u32 tid, ptid;
+ u64 time;
struct sample_id sample_id;
};
.fi
@@ -1968,7 +1968,7 @@ This record indicates a read event.
.nf
struct {
struct perf_event_header header;
- u32 pid, tid;
+ u32 pid, tid;
struct read_format values;
struct sample_id sample_id;
};
@@ -1982,36 +1982,36 @@ This record indicates a sample.
.nf
struct {
struct perf_event_header header;
- u64 sample_id; /* if PERF_SAMPLE_IDENTIFIER */
- u64 ip; /* if PERF_SAMPLE_IP */
- u32 pid, tid; /* if PERF_SAMPLE_TID */
- u64 time; /* if PERF_SAMPLE_TIME */
- u64 addr; /* if PERF_SAMPLE_ADDR */
- u64 id; /* if PERF_SAMPLE_ID */
- u64 stream_id; /* if PERF_SAMPLE_STREAM_ID */
- u32 cpu, res; /* if PERF_SAMPLE_CPU */
- u64 period; /* if PERF_SAMPLE_PERIOD */
+ u64 sample_id; /* if PERF_SAMPLE_IDENTIFIER */
+ u64 ip; /* if PERF_SAMPLE_IP */
+ u32 pid, tid; /* if PERF_SAMPLE_TID */
+ u64 time; /* if PERF_SAMPLE_TIME */
+ u64 addr; /* if PERF_SAMPLE_ADDR */
+ u64 id; /* if PERF_SAMPLE_ID */
+ u64 stream_id; /* if PERF_SAMPLE_STREAM_ID */
+ u32 cpu, res; /* if PERF_SAMPLE_CPU */
+ u64 period; /* if PERF_SAMPLE_PERIOD */
struct read_format v; /* if PERF_SAMPLE_READ */
- u64 nr; /* if PERF_SAMPLE_CALLCHAIN */
- u64 ips[nr]; /* if PERF_SAMPLE_CALLCHAIN */
- u32 size; /* if PERF_SAMPLE_RAW */
- char data[size]; /* if PERF_SAMPLE_RAW */
- u64 bnr; /* if PERF_SAMPLE_BRANCH_STACK */
+ u64 nr; /* if PERF_SAMPLE_CALLCHAIN */
+ u64 ips[nr]; /* if PERF_SAMPLE_CALLCHAIN */
+ u32 size; /* if PERF_SAMPLE_RAW */
+ cha r data[size]; /* if PERF_SAMPLE_RAW */
+ u64 bnr; /* if PERF_SAMPLE_BRANCH_STACK */
struct perf_branch_entry lbr[bnr];
- /* if PERF_SAMPLE_BRANCH_STACK */
- u64 abi; /* if PERF_SAMPLE_REGS_USER */
- u64 regs[weight(mask)];
- /* if PERF_SAMPLE_REGS_USER */
- u64 size; /* if PERF_SAMPLE_STACK_USER */
- char data[size]; /* if PERF_SAMPLE_STACK_USER */
- u64 dyn_size; /* if PERF_SAMPLE_STACK_USER &&
- size != 0 */
- u64 weight; /* if PERF_SAMPLE_WEIGHT */
- u64 data_src; /* if PERF_SAMPLE_DATA_SRC */
- u64 transaction;/* if PERF_SAMPLE_TRANSACTION */
- u64 abi; /* if PERF_SAMPLE_REGS_INTR */
- u64 regs[weight(mask)];
- /* if PERF_SAMPLE_REGS_INTR */
+ /* if PERF_SAMPLE_BRANCH_STACK */
+ u64 abi; /* if PERF_SAMPLE_REGS_USER */
+ u64 regs[weight(mask)];
+ /* if PERF_SAMPLE_REGS_USER */
+ u64 size; /* if PERF_SAMPLE_STACK_USER */
+ char data[size]; /* if PERF_SAMPLE_STACK_USER */
+ u64 dyn_size; /* if PERF_SAMPLE_STACK_USER &&
+ size != 0 */
+ u64 weight; /* if PERF_SAMPLE_WEIGHT */
+ u64 data_src; /* if PERF_SAMPLE_DATA_SRC */
+ u64 transaction;/* if PERF_SAMPLE_TRANSACTION */
+ u64 abi; /* if PERF_SAMPLE_REGS_INTR */
+ u64 regs[weight(mask)];
+ /* if PERF_SAMPLE_REGS_INTR */
};
.fi
.RS 4
@@ -2438,18 +2438,18 @@ shared mappings.
.nf
struct {
struct perf_event_header header;
- u32 pid;
- u32 tid;
- u64 addr;
- u64 len;
- u64 pgoff;
- u32 maj;
- u32 min;
- u64 ino;
- u64 ino_generation;
- u32 prot;
- u32 flags;
- char filename[];
+ u32 pid;
+ u32 tid;
+ u64 addr;
+ u64 len;
+ u64 pgoff;
+ u32 maj;
+ u32 min;
+ u64 ino;
+ u64 ino_generation;
+ u32 prot;
+ u32 flags;
+ char filename[];
struct sample_id sample_id;
};
.fi
@@ -2501,9 +2501,9 @@ AUX buffer region.
.nf
struct {
struct perf_event_header header;
- u64 aux_offset;
- u64 aux_size;
- u64 flags;
+ u64 aux_offset;
+ u64 aux_size;
+ u64 flags;
struct sample_id sample_id;
};
.fi
@@ -2539,8 +2539,8 @@ addresses in the AUX buffer with the proper executable.
.nf
struct {
struct perf_event_header header;
- u32 pid;
- u32 tid;
+ u32 pid;
+ u32 tid;
};
.fi
.RS
@@ -2561,7 +2561,7 @@ indicates some number of samples that may have been lost.
.nf
struct {
struct perf_event_header header;
- u64 lost;
+ u64 lost;
struct sample_id sample_id;
};
.fi