Lines Matching defs:thread
458 int thread;
464 for (thread = 0; thread < nr_threads; thread++) {
465 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0);
474 int thread)
483 int err = ioctl(FD(evsel, cpu, thread), PERF_EVENT_IOC_ENABLE, 0);
922 * If specify '-a' and '--per-thread' to perf record, perf record
923 * will override '--per-thread'. target->per_thread = false and
926 * If specify '--per-thread' only to perf record,
936 * per-thread data. thread_map__new_str will call
1303 * as sys_perf_event_open(cpu = -1, thread = -1) is EINVAL