Lines Matching defs:fd
66 static int do_write(int fd, const void *buf, size_t size) in do_write()
83 static int write_padded(int fd, const void *bf, size_t count, in write_padded()
95 static int do_write_string(int fd, const char *str) in do_write_string()
111 static char *do_read_string(int fd, struct perf_header *ph) in do_read_string()
180 pid_t pid, u16 misc, int fd) in write_buildid()
204 pid_t pid, u16 misc, int fd) in __dsos__write_buildid_table()
238 static int machine__write_buildid_table(struct machine *machine, int fd) in machine__write_buildid_table()
257 static int dsos__write_buildid_table(struct perf_header *header, int fd) in dsos__write_buildid_table()
462 static int write_tracing_data(int fd, struct perf_header *h __maybe_unused, in write_tracing_data()
469 static int write_build_id(int fd, struct perf_header *h, in write_build_id()
491 static int write_hostname(int fd, struct perf_header *h __maybe_unused, in write_hostname()
504 static int write_osrelease(int fd, struct perf_header *h __maybe_unused, in write_osrelease()
517 static int write_arch(int fd, struct perf_header *h __maybe_unused, in write_arch()
530 static int write_version(int fd, struct perf_header *h __maybe_unused, in write_version()
536 static int write_cpudesc(int fd, struct perf_header *h __maybe_unused, in write_cpudesc()
595 static int write_nrcpus(int fd, struct perf_header *h __maybe_unused, in write_nrcpus()
621 static int write_event_desc(int fd, struct perf_header *h __maybe_unused, in write_event_desc()
678 static int write_cmdline(int fd, struct perf_header *h __maybe_unused, in write_cmdline()
850 static int write_cpu_topology(int fd, struct perf_header *h __maybe_unused, in write_cpu_topology()
886 static int write_total_mem(int fd, struct perf_header *h __maybe_unused, in write_total_mem()
914 static int write_topo_node(int fd, int node) in write_topo_node()
974 static int write_numa_topology(int fd, struct perf_header *h __maybe_unused, in write_numa_topology()
1035 static int write_pmu_mappings(int fd, struct perf_header *h __maybe_unused, in write_pmu_mappings()
1083 static int write_group_desc(int fd, struct perf_header *h __maybe_unused, in write_group_desc()
1127 static int write_cpuid(int fd, struct perf_header *h __maybe_unused, in write_cpuid()
1244 read_event_desc(struct perf_header *ph, int fd) in read_event_desc()
1338 static void print_event_desc(struct perf_header *ph, int fd, FILE *fp) in print_event_desc()
1660 int fd, void *data) in process_tracing_data()
1667 struct perf_header *ph, int fd, in process_build_id()
1676 struct perf_header *ph, int fd, in process_hostname()
1684 struct perf_header *ph, int fd, in process_osrelease()
1692 struct perf_header *ph, int fd, in process_version()
1700 struct perf_header *ph, int fd, in process_arch()
1708 struct perf_header *ph, int fd, in process_nrcpus()
1735 struct perf_header *ph, int fd, in process_cpudesc()
1743 struct perf_header *ph, int fd, in process_cpuid()
1751 struct perf_header *ph, int fd, in process_total_mem()
1802 struct perf_header *header, int fd, in process_event_desc()
1821 struct perf_header *ph, int fd, in process_cmdline()
1857 struct perf_header *ph, int fd, in process_cpu_topology()
1913 struct perf_header *ph, int fd, in process_numa_topology()
1973 struct perf_header *ph, int fd, in process_pmu_mappings()
2023 struct perf_header *ph, int fd, in process_group_desc()
2163 int feat, int fd, void *data) in perf_file_section__fprintf_info()
2192 int fd = session->fd; in perf_header__fprintf_info() local
2201 static int do_write_feat(int fd, struct perf_header *h, int type, in do_write_feat()
2230 struct perf_evlist *evlist, int fd) in perf_header__adds_write()
2269 int perf_header__write_pipe(int fd) in perf_header__write_pipe()
2290 int fd, bool at_exit) in perf_session__write_header()
2365 int fd, void *buf, size_t size) in perf_header__getbuffer64()
2376 int perf_header__process_sections(struct perf_header *header, int fd, in perf_header__process_sections()
2532 struct perf_header *ph, int fd) in perf_file_header__read()
2605 int feat, int fd, void *data) in perf_file_section__process()
2625 struct perf_header *ph, int fd, in perf_file_header__read_pipe()
2662 static int read_attr(int fd, struct perf_header *ph, in read_attr()
2759 int fd = session->fd; in perf_session__read_header() local
2942 int perf_event__synthesize_tracing_data(struct perf_tool *tool, int fd, in perf_event__synthesize_tracing_data()