diff options
Diffstat (limited to 'tools/perf/util/event.h')
-rw-r--r-- | tools/perf/util/event.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h index 1ae95efbfb95..0f794744919c 100644 --- a/tools/perf/util/event.h +++ b/tools/perf/util/event.h | |||
@@ -205,6 +205,7 @@ struct perf_sample { | |||
205 | u32 flags; | 205 | u32 flags; |
206 | u16 insn_len; | 206 | u16 insn_len; |
207 | u8 cpumode; | 207 | u8 cpumode; |
208 | u16 misc; | ||
208 | char insn[MAX_INSN]; | 209 | char insn[MAX_INSN]; |
209 | void *raw_data; | 210 | void *raw_data; |
210 | struct ip_callchain *callchain; | 211 | struct ip_callchain *callchain; |
@@ -774,8 +775,7 @@ size_t perf_event__sample_event_size(const struct perf_sample *sample, u64 type, | |||
774 | u64 read_format); | 775 | u64 read_format); |
775 | int perf_event__synthesize_sample(union perf_event *event, u64 type, | 776 | int perf_event__synthesize_sample(union perf_event *event, u64 type, |
776 | u64 read_format, | 777 | u64 read_format, |
777 | const struct perf_sample *sample, | 778 | const struct perf_sample *sample); |
778 | bool swapped); | ||
779 | 779 | ||
780 | pid_t perf_event__synthesize_comm(struct perf_tool *tool, | 780 | pid_t perf_event__synthesize_comm(struct perf_tool *tool, |
781 | union perf_event *event, pid_t pid, | 781 | union perf_event *event, pid_t pid, |