Lines Matching defs:fd

62 static int do_write(int fd, const void *buf, size_t size)  in do_write()
77 int write_padded(int fd, const void *bf, size_t count, size_t count_aligned) in write_padded()
91 static int do_write_string(int fd, const char *str) in do_write_string()
107 static char *do_read_string(int fd, struct perf_header *ph) in do_read_string()
138 static int write_tracing_data(int fd, struct perf_header *h __maybe_unused, in write_tracing_data()
145 static int write_build_id(int fd, struct perf_header *h, in write_build_id()
166 static int write_hostname(int fd, struct perf_header *h __maybe_unused, in write_hostname()
179 static int write_osrelease(int fd, struct perf_header *h __maybe_unused, in write_osrelease()
192 static int write_arch(int fd, struct perf_header *h __maybe_unused, in write_arch()
205 static int write_version(int fd, struct perf_header *h __maybe_unused, in write_version()
211 static int __write_cpudesc(int fd, const char *cpuinfo_proc) in __write_cpudesc()
268 static int write_cpudesc(int fd, struct perf_header *h __maybe_unused, in write_cpudesc()
287 static int write_nrcpus(int fd, struct perf_header *h __maybe_unused, in write_nrcpus()
313 static int write_event_desc(int fd, struct perf_header *h __maybe_unused, in write_event_desc()
369 static int write_cmdline(int fd, struct perf_header *h __maybe_unused, in write_cmdline()
542 static int write_cpu_topology(int fd, struct perf_header *h __maybe_unused, in write_cpu_topology()
593 static int write_total_mem(int fd, struct perf_header *h __maybe_unused, in write_total_mem()
622 static int write_topo_node(int fd, int node) in write_topo_node()
682 static int write_numa_topology(int fd, struct perf_header *h __maybe_unused, in write_numa_topology()
743 static int write_pmu_mappings(int fd, struct perf_header *h __maybe_unused, in write_pmu_mappings()
791 static int write_group_desc(int fd, struct perf_header *h __maybe_unused, in write_group_desc()
835 static int write_cpuid(int fd, struct perf_header *h __maybe_unused, in write_cpuid()
857 static int write_auxtrace(int fd, struct perf_header *h, in write_auxtrace()
968 read_event_desc(struct perf_header *ph, int fd) in read_event_desc()
1066 static void print_event_desc(struct perf_header *ph, int fd, FILE *fp) in print_event_desc()
1373 int fd, void *data) in process_tracing_data()
1380 struct perf_header *ph, int fd, in process_build_id()
1389 struct perf_header *ph, int fd, in process_hostname()
1397 struct perf_header *ph, int fd, in process_osrelease()
1405 struct perf_header *ph, int fd, in process_version()
1413 struct perf_header *ph, int fd, in process_arch()
1421 struct perf_header *ph, int fd, in process_nrcpus()
1448 struct perf_header *ph, int fd, in process_cpudesc()
1456 struct perf_header *ph, int fd, in process_cpuid()
1464 struct perf_header *ph, int fd, in process_total_mem()
1515 struct perf_header *header, int fd, in process_event_desc()
1534 struct perf_header *ph, int fd, in process_cmdline()
1579 struct perf_header *ph, int fd, in process_cpu_topology()
1688 struct perf_header *ph, int fd, in process_numa_topology()
1748 struct perf_header *ph, int fd, in process_pmu_mappings()
1801 struct perf_header *ph, int fd, in process_group_desc()
1895 struct perf_header *ph, int fd, in process_auxtrace()
1960 int feat, int fd, void *data) in perf_file_section__fprintf_info()
1989 int fd = perf_data_file__fd(session->file); in perf_header__fprintf_info() local
1998 static int do_write_feat(int fd, struct perf_header *h, int type, in do_write_feat()
2027 struct perf_evlist *evlist, int fd) in perf_header__adds_write()
2066 int perf_header__write_pipe(int fd) in perf_header__write_pipe()
2087 int fd, bool at_exit) in perf_session__write_header()
2163 int fd, void *buf, size_t size) in perf_header__getbuffer64()
2174 int perf_header__process_sections(struct perf_header *header, int fd, in perf_header__process_sections()
2331 struct perf_header *ph, int fd) in perf_file_header__read()
2404 int feat, int fd, void *data) in perf_file_section__process()
2424 struct perf_header *ph, int fd, in perf_file_header__read_pipe()
2462 static int read_attr(int fd, struct perf_header *ph, in read_attr()
2560 int fd = perf_data_file__fd(file); in perf_session__read_header() local
2748 int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, in perf_event__synthesize_tracing_data()
2799 int fd = perf_data_file__fd(session->file); in perf_event__process_tracing_data() local