diff options
Diffstat (limited to 'tools/perf/util/header.h')
-rw-r--r-- | tools/perf/util/header.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/header.h b/tools/perf/util/header.h index 2b69aab67e35..ccc8540feccd 100644 --- a/tools/perf/util/header.h +++ b/tools/perf/util/header.h | |||
@@ -52,6 +52,7 @@ struct perf_header { | |||
52 | u64 data_size; | 52 | u64 data_size; |
53 | u64 event_offset; | 53 | u64 event_offset; |
54 | u64 event_size; | 54 | u64 event_size; |
55 | bool needs_swap; | ||
55 | DECLARE_BITMAP(adds_features, HEADER_FEAT_BITS); | 56 | DECLARE_BITMAP(adds_features, HEADER_FEAT_BITS); |
56 | }; | 57 | }; |
57 | 58 | ||
@@ -80,6 +81,7 @@ bool perf_header__has_feat(const struct perf_header *self, int feat); | |||
80 | 81 | ||
81 | int perf_header__process_sections(struct perf_header *self, int fd, | 82 | int perf_header__process_sections(struct perf_header *self, int fd, |
82 | int (*process)(struct perf_file_section *self, | 83 | int (*process)(struct perf_file_section *self, |
84 | struct perf_header *ph, | ||
83 | int feat, int fd)); | 85 | int feat, int fd)); |
84 | 86 | ||
85 | #endif /* __PERF_HEADER_H */ | 87 | #endif /* __PERF_HEADER_H */ |