Home
last modified time | relevance | path

Searched refs:f_attr (Results 1 – 1 of 1) sorted by relevance

/tools/perf/util/
Dheader.c3660 struct perf_file_attr f_attr; in perf_session__do_write_header() local
3690 f_attr = (struct perf_file_attr){ in perf_session__do_write_header()
3697 err = do_write(&ff, &f_attr, sizeof(f_attr)); in perf_session__do_write_header()
3717 .attr_size = sizeof(f_attr), in perf_session__do_write_header()
3720 .size = evlist->core.nr_entries * sizeof(f_attr), in perf_session__do_write_header()
4083 struct perf_file_attr *f_attr) in read_attr() argument
4085 struct perf_event_attr *attr = &f_attr->attr; in read_attr()
4087 size_t our_sz = sizeof(f_attr->attr); in read_attr()
4090 memset(f_attr, 0, sizeof(*f_attr)); in read_attr()
4123 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids)); in read_attr()
[all …]