Lines Matching defs:fd

65 static int do_write(int fd, const void *buf, size_t size)  in do_write()
80 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()
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()
242 static int __write_cpudesc(int fd, const char *cpuinfo_proc) in __write_cpudesc()
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()
637 static int write_topo_node(int fd, int node) in write_topo_node()
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()
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()
1368 int fd, void *data) 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()
1873 int feat, int fd, void *data) in perf_file_section__fprintf_info()
1902 int fd = perf_data_file__fd(session->file); in perf_header__fprintf_info() local
1911 static int do_write_feat(int fd, struct perf_header *h, int type, in do_write_feat()
1940 struct perf_evlist *evlist, int fd) in perf_header__adds_write()
1979 int perf_header__write_pipe(int fd) in perf_header__write_pipe()
2000 int fd, bool at_exit) in perf_session__write_header()
2076 int fd, void *buf, size_t size) in perf_header__getbuffer64()
2087 int perf_header__process_sections(struct perf_header *header, int fd, in perf_header__process_sections()
2244 struct perf_header *ph, int fd) in perf_file_header__read()
2317 int feat, int fd, void *data) in perf_file_section__process()
2337 struct perf_header *ph, int fd, in perf_file_header__read_pipe()
2375 static int read_attr(int fd, struct perf_header *ph, in read_attr()
2473 int fd = perf_data_file__fd(file); in perf_session__read_header() local
2659 int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, in perf_event__synthesize_tracing_data()
2710 int fd = perf_data_file__fd(session->file); in perf_event__process_tracing_data() local