Lines Matching refs:perf_header
50 void perf_header__set_feat(struct perf_header *header, int feat) in perf_header__set_feat()
55 void perf_header__clear_feat(struct perf_header *header, int feat) in perf_header__clear_feat()
60 bool perf_header__has_feat(const struct perf_header *header, int feat) in perf_header__has_feat()
107 static char *do_read_string(int fd, struct perf_header *ph) in do_read_string()
169 static int write_tracing_data(int fd, struct perf_header *h __maybe_unused, in write_tracing_data()
176 static int write_build_id(int fd, struct perf_header *h, in write_build_id()
197 static int write_hostname(int fd, struct perf_header *h __maybe_unused, in write_hostname()
210 static int write_osrelease(int fd, struct perf_header *h __maybe_unused, in write_osrelease()
223 static int write_arch(int fd, struct perf_header *h __maybe_unused, in write_arch()
236 static int write_version(int fd, struct perf_header *h __maybe_unused, in write_version()
299 static int write_cpudesc(int fd, struct perf_header *h __maybe_unused, in write_cpudesc()
318 static int write_nrcpus(int fd, struct perf_header *h __maybe_unused, in write_nrcpus()
344 static int write_event_desc(int fd, struct perf_header *h __maybe_unused, in write_event_desc()
400 static int write_cmdline(int fd, struct perf_header *h __maybe_unused, in write_cmdline()
572 static int write_cpu_topology(int fd, struct perf_header *h __maybe_unused, in write_cpu_topology()
608 static int write_total_mem(int fd, struct perf_header *h __maybe_unused, in write_total_mem()
697 static int write_numa_topology(int fd, struct perf_header *h __maybe_unused, in write_numa_topology()
758 static int write_pmu_mappings(int fd, struct perf_header *h __maybe_unused, in write_pmu_mappings()
806 static int write_group_desc(int fd, struct perf_header *h __maybe_unused, in write_group_desc()
850 static int write_cpuid(int fd, struct perf_header *h __maybe_unused, in write_cpuid()
866 struct perf_header *h __maybe_unused, in write_branch_stack()
872 static void print_hostname(struct perf_header *ph, int fd __maybe_unused, in print_hostname()
878 static void print_osrelease(struct perf_header *ph, int fd __maybe_unused, in print_osrelease()
884 static void print_arch(struct perf_header *ph, int fd __maybe_unused, FILE *fp) in print_arch()
889 static void print_cpudesc(struct perf_header *ph, int fd __maybe_unused, in print_cpudesc()
895 static void print_nrcpus(struct perf_header *ph, int fd __maybe_unused, in print_nrcpus()
902 static void print_version(struct perf_header *ph, int fd __maybe_unused, in print_version()
908 static void print_cmdline(struct perf_header *ph, int fd __maybe_unused, in print_cmdline()
926 static void print_cpu_topology(struct perf_header *ph, int fd __maybe_unused, in print_cpu_topology()
965 read_event_desc(struct perf_header *ph, int fd) in read_event_desc()
1064 static void print_event_desc(struct perf_header *ph, int fd, FILE *fp) in print_event_desc()
1096 static void print_total_mem(struct perf_header *ph, int fd __maybe_unused, in print_total_mem()
1102 static void print_numa_topology(struct perf_header *ph, int fd __maybe_unused, in print_numa_topology()
1143 static void print_cpuid(struct perf_header *ph, int fd __maybe_unused, FILE *fp) in print_cpuid()
1148 static void print_branch_stack(struct perf_header *ph __maybe_unused, in print_branch_stack()
1154 static void print_pmu_mappings(struct perf_header *ph, int fd __maybe_unused, in print_pmu_mappings()
1191 static void print_group_desc(struct perf_header *ph, int fd __maybe_unused, in print_group_desc()
1271 static int perf_header__read_build_ids_abi_quirk(struct perf_header *header, in perf_header__read_build_ids_abi_quirk()
1317 static int perf_header__read_build_ids(struct perf_header *header, in perf_header__read_build_ids()
1367 struct perf_header *ph __maybe_unused, in process_tracing_data()
1375 struct perf_header *ph, int fd, in process_build_id()
1384 struct perf_header *ph, int fd, in process_hostname()
1392 struct perf_header *ph, int fd, in process_osrelease()
1400 struct perf_header *ph, int fd, in process_version()
1408 struct perf_header *ph, int fd, in process_arch()
1416 struct perf_header *ph, int fd, in process_nrcpus()
1443 struct perf_header *ph, int fd, in process_cpudesc()
1451 struct perf_header *ph, int fd, in process_cpuid()
1459 struct perf_header *ph, int fd, in process_total_mem()
1510 struct perf_header *header, int fd, in process_event_desc()
1529 struct perf_header *ph, int fd, in process_cmdline()
1565 struct perf_header *ph, int fd, in process_cpu_topology()
1621 struct perf_header *ph, int fd, in process_numa_topology()
1681 struct perf_header *ph, int fd, in process_pmu_mappings()
1731 struct perf_header *ph, int fd, in process_group_desc()
1825 int (*write)(int fd, struct perf_header *h, struct perf_evlist *evlist);
1826 void (*print)(struct perf_header *h, int fd, FILE *fp);
1828 struct perf_header *h, int fd, void *data);
1872 struct perf_header *ph, in perf_file_section__fprintf_info()
1901 struct perf_header *header = &session->header; in perf_header__fprintf_info()
1911 static int do_write_feat(int fd, struct perf_header *h, int type, in do_write_feat()
1939 static int perf_header__adds_write(struct perf_header *header, in perf_header__adds_write()
2004 struct perf_header *header = &session->header; in perf_session__write_header()
2075 static int perf_header__getbuffer64(struct perf_header *header, in perf_header__getbuffer64()
2087 int perf_header__process_sections(struct perf_header *header, int fd, in perf_header__process_sections()
2090 struct perf_header *ph, in perf_header__process_sections()
2141 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_file_abis()
2179 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) in try_all_pipe_abis()
2209 bool is_pipe, struct perf_header *ph) in check_magic_endian()
2244 struct perf_header *ph, int fd) in perf_file_header__read()
2316 struct perf_header *ph, in perf_file_section__process()
2337 struct perf_header *ph, int fd, in perf_file_header__read_pipe()
2362 struct perf_header *header = &session->header; in perf_header__read_pipe()
2375 static int read_attr(int fd, struct perf_header *ph, in read_attr()
2468 struct perf_header *header = &session->header; in perf_session__read_header()