diff options
Diffstat (limited to 'man2/perf_event_open.2')
| -rw-r--r-- | man2/perf_event_open.2 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man2/perf_event_open.2 b/man2/perf_event_open.2 index 19d80de58f..5a94166418 100644 --- a/man2/perf_event_open.2 +++ b/man2/perf_event_open.2 @@ -208,7 +208,7 @@ for the event being created. struct perf_event_attr { __u32 type; /* Type of event */ __u32 size; /* Size of attribute structure */ - __u64 config; /* Type-specific configuration */ + __u64 config; /* Type\-specific configuration */ union { __u64 sample_period; /* Period of sampling */ @@ -234,7 +234,7 @@ struct perf_event_attr { task : 1, /* trace fork/exit */ watermark : 1, /* wakeup_watermark */ precise_ip : 2, /* skid constraint */ - mmap_data : 1, /* non-exec mmap data */ + mmap_data : 1, /* non\-exec mmap data */ sample_id_all : 1, /* sample_type all events */ exclude_host : 1, /* don\(aqt count in host */ exclude_guest : 1, /* don\(aqt count in guest */ @@ -1606,7 +1606,7 @@ struct perf_event_mmap_page { __u64 time_offset; __u64 __reserved[120]; /* Pad to 1 k */ __u64 data_head; /* head in the data section */ - __u64 data_tail; /* user-space written tail */ + __u64 data_tail; /* user\-space written tail */ __u64 data_offset; /* where the buffer starts */ __u64 data_size; /* data buffer size */ __u64 aux_head; @@ -1807,7 +1807,7 @@ values: .IP .in +4n .EX -time = timestamp - time_zero; +time = timestamp \- time_zero; quot = time / time_mult; rem = time % time_mult; cyc = (quot << time_shift) + (rem << time_shift) / time_mult; @@ -1819,7 +1819,7 @@ And vice versa: .in +4n .EX quot = cyc >> time_shift; -rem = cyc & (((u64)1 << time_shift) - 1); +rem = cyc & (((u64)1 << time_shift) \- 1); timestamp = time_zero + quot * time_mult + ((rem * time_mult) >> time_shift); .EE |
