H A D | header.c | 47 void perf_header__set_feat(struct perf_header *header, int feat) perf_header__set_feat() 52 void perf_header__clear_feat(struct perf_header *header, int feat) perf_header__clear_feat() 57 bool perf_header__has_feat(const struct perf_header *header, int feat) perf_header__has_feat() 107 static char *do_read_string(int fd, struct perf_header *ph) do_read_string() 138 static int write_tracing_data(int fd, struct perf_header *h __maybe_unused, write_tracing_data() 145 static int write_build_id(int fd, struct perf_header *h, write_build_id() 166 static int write_hostname(int fd, struct perf_header *h __maybe_unused, write_hostname() 179 static int write_osrelease(int fd, struct perf_header *h __maybe_unused, write_osrelease() 192 static int write_arch(int fd, struct perf_header *h __maybe_unused, write_arch() 205 static int write_version(int fd, struct perf_header *h __maybe_unused, write_version() 268 static int write_cpudesc(int fd, struct perf_header *h __maybe_unused, write_cpudesc() 287 static int write_nrcpus(int fd, struct perf_header *h __maybe_unused, write_nrcpus() 313 static int write_event_desc(int fd, struct perf_header *h __maybe_unused, write_event_desc() 369 static int write_cmdline(int fd, struct perf_header *h __maybe_unused, write_cmdline() 542 static int write_cpu_topology(int fd, struct perf_header *h __maybe_unused, write_cpu_topology() 593 static int write_total_mem(int fd, struct perf_header *h __maybe_unused, write_total_mem() 682 static int write_numa_topology(int fd, struct perf_header *h __maybe_unused, write_numa_topology() 743 static int write_pmu_mappings(int fd, struct perf_header *h __maybe_unused, write_pmu_mappings() 791 static int write_group_desc(int fd, struct perf_header *h __maybe_unused, write_group_desc() 835 static int write_cpuid(int fd, struct perf_header *h __maybe_unused, write_cpuid() 851 struct perf_header *h __maybe_unused, write_branch_stack() 857 static int write_auxtrace(int fd, struct perf_header *h, write_auxtrace() 871 static void print_hostname(struct perf_header *ph, int fd __maybe_unused, print_hostname() 877 static void print_osrelease(struct perf_header *ph, int fd __maybe_unused, print_osrelease() 883 static void print_arch(struct perf_header *ph, int fd __maybe_unused, FILE *fp) print_arch() 888 static void print_cpudesc(struct perf_header *ph, int fd __maybe_unused, print_cpudesc() 894 static void print_nrcpus(struct perf_header *ph, int fd __maybe_unused, print_nrcpus() 901 static void print_version(struct perf_header *ph, int fd __maybe_unused, print_version() 907 static void print_cmdline(struct perf_header *ph, int fd __maybe_unused, print_cmdline() 921 static void print_cpu_topology(struct perf_header *ph, int fd __maybe_unused, print_cpu_topology() 968 read_event_desc(struct perf_header *ph, int fd) read_event_desc() 1066 static void print_event_desc(struct perf_header *ph, int fd, FILE *fp) print_event_desc() 1098 static void print_total_mem(struct perf_header *ph, int fd __maybe_unused, print_total_mem() 1104 static void print_numa_topology(struct perf_header *ph, int fd __maybe_unused, print_numa_topology() 1145 static void print_cpuid(struct perf_header *ph, int fd __maybe_unused, FILE *fp) print_cpuid() 1150 static void print_branch_stack(struct perf_header *ph __maybe_unused, print_branch_stack() 1156 static void print_auxtrace(struct perf_header *ph __maybe_unused, print_auxtrace() 1162 static void print_pmu_mappings(struct perf_header *ph, int fd __maybe_unused, print_pmu_mappings() 1199 static void print_group_desc(struct perf_header *ph, int fd __maybe_unused, print_group_desc() 1276 static int perf_header__read_build_ids_abi_quirk(struct perf_header *header, perf_header__read_build_ids_abi_quirk() 1322 static int perf_header__read_build_ids(struct perf_header *header, perf_header__read_build_ids() 1372 struct perf_header *ph __maybe_unused, process_tracing_data() 1380 struct perf_header *ph, int fd, process_build_id() 1389 struct perf_header *ph, int fd, process_hostname() 1397 struct perf_header *ph, int fd, process_osrelease() 1405 struct perf_header *ph, int fd, process_version() 1413 struct perf_header *ph, int fd, process_arch() 1421 struct perf_header *ph, int fd, process_nrcpus() 1448 struct perf_header *ph, int fd, process_cpudesc() 1456 struct perf_header *ph, int fd, process_cpuid() 1464 struct perf_header *ph, int fd, process_total_mem() 1515 struct perf_header *header, int fd, process_event_desc() 1534 struct perf_header *ph, int fd, process_cmdline() 1579 struct perf_header *ph, int fd, process_cpu_topology() 1688 struct perf_header *ph, int fd, process_numa_topology() 1748 struct perf_header *ph, int fd, process_pmu_mappings() 1801 struct perf_header *ph, int fd, process_group_desc() 1895 struct perf_header *ph, int fd, process_auxtrace() 1911 int (*write)(int fd, struct perf_header *h, struct perf_evlist *evlist); 1912 void (*print)(struct perf_header *h, int fd, FILE *fp); 1914 struct perf_header *h, int fd, void *data); 1959 struct perf_header *ph, perf_file_section__fprintf_info() 1988 struct perf_header *header = &session->header; perf_header__fprintf_info() 1998 static int do_write_feat(int fd, struct perf_header *h, int type, do_write_feat() 2026 static int perf_header__adds_write(struct perf_header *header, perf_header__adds_write() 2091 struct perf_header *header = &session->header; perf_session__write_header() 2162 static int perf_header__getbuffer64(struct perf_header *header, perf_header__getbuffer64() 2174 int perf_header__process_sections(struct perf_header *header, int fd, perf_header__process_sections() 2177 struct perf_header *ph, perf_header__process_sections() 2228 static int try_all_file_abis(uint64_t hdr_sz, struct perf_header *ph) try_all_file_abis() 2266 static int try_all_pipe_abis(uint64_t hdr_sz, struct perf_header *ph) try_all_pipe_abis() 2296 bool is_pipe, struct perf_header *ph) check_magic_endian() 2331 struct perf_header *ph, int fd) perf_file_header__read() 2403 struct perf_header *ph, perf_file_section__process() 2424 struct perf_header *ph, int fd, perf_file_header__read_pipe() 2449 struct perf_header *header = &session->header; perf_header__read_pipe() 2462 static int read_attr(int fd, struct perf_header *ph, read_attr() 2555 struct perf_header *header = &session->header; perf_session__read_header()
|