File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
tools/lib/perf/include/perf Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 6
6
#include <linux/types.h>
7
7
#include <linux/limits.h>
8
8
#include <linux/bpf.h>
9
- #include <linux/compiler.h>
10
9
#include <sys/types.h> /* pid_t */
11
10
12
11
#define event_contains (obj , mem ) ((obj).header.size > offsetof(typeof(obj), mem))
@@ -207,7 +206,7 @@ struct perf_record_range_cpu_map {
207
206
__u16 end_cpu ;
208
207
};
209
208
210
- struct __packed perf_record_cpu_map_data {
209
+ struct perf_record_cpu_map_data {
211
210
__u16 type ;
212
211
union {
213
212
/* Used when type == PERF_CPU_MAP__CPUS. */
@@ -219,7 +218,7 @@ struct __packed perf_record_cpu_map_data {
219
218
/* Used when type == PERF_CPU_MAP__RANGE_CPUS. */
220
219
struct perf_record_range_cpu_map range_cpu_data ;
221
220
};
222
- };
221
+ } __attribute__(( packed )) ;
223
222
224
223
#pragma GCC diagnostic pop
225
224
You can’t perform that action at this time.
0 commit comments