4 #include "../../../include/linux/perf_counter.h"
8 struct perf_header_attr
{
9 struct perf_counter_attr attr
;
18 struct perf_header_attr
**attr
;
24 struct perf_header
*perf_header__read(int fd
);
25 void perf_header__write(struct perf_header
*self
, int fd
);
27 void perf_header__add_attr(struct perf_header
*self
,
28 struct perf_header_attr
*attr
);
30 struct perf_header_attr
*
31 perf_header_attr__new(struct perf_counter_attr
*attr
);
32 void perf_header_attr__add_id(struct perf_header_attr
*self
, u64 id
);
35 struct perf_header
*perf_header__new(void);
37 #endif /* _PERF_HEADER_H */