| #include "../../../include/linux/perf_counter.h" |
| struct perf_header_attr { |
| struct perf_counter_attr attr; |
| struct perf_header_attr **attr; |
| struct perf_header *perf_header__read(int fd); |
| void perf_header__write(struct perf_header *self, int fd); |
| void perf_header__add_attr(struct perf_header *self, |
| struct perf_header_attr *attr); |
| struct perf_header_attr * |
| perf_header_attr__new(struct perf_counter_attr *attr); |
| void perf_header_attr__add_id(struct perf_header_attr *self, u64 id); |
| struct perf_header *perf_header__new(void); |
| #endif /* _PERF_HEADER_H */ |