Lines Matching refs:ids
48 struct perf_file_section ids;
655 * type of ids,
657 nri = evsel->ids;
669 * write unique ids for this event
671 ret = do_write(fd, evsel->id, evsel->ids * sizeof(u64));
1315 evsel->ids = nr;
1372 if (evsel->ids) {
1374 for (j = 0, id = evsel->id; j < evsel->ids; j++, id++) {
2303 err = do_write(fd, evsel->id, evsel->ids * sizeof(u64));
2315 .ids = {
2317 .size = evsel->ids * sizeof(u64),
2702 /* read perf_file_section, ids are read in caller */
2703 ret = readn(fd, &f_attr->ids, sizeof(f_attr->ids));
2809 nr_ids = f_attr.ids.size / sizeof(u64);
2813 * hattr->ids threads.
2818 lseek(fd, f_attr.ids.offset, SEEK_SET);
2850 struct perf_event_attr *attr, u32 ids, u64 *id,
2860 size += ids * sizeof(u64);
2868 memcpy(ev->attr.id, id, ids * sizeof(u64));
2891 err = perf_event__synthesize_attr(tool, &evsel->attr, evsel->ids,
2906 u32 i, ids, n_ids;
2922 ids = event->header.size;
2923 ids -= (void *)&event->attr.id - (void *)event;
2924 n_ids = ids / sizeof(u64);
2928 * hattr->ids threads.