Lines Matching defs:thread
229 int cpu, int thread, u64 id)
232 struct perf_sample_id *sid = SID(evsel, cpu, thread);
242 int cpu, int thread, u64 id)
244 perf_evlist__id_hash(evlist, evsel, cpu, thread, id);
250 int cpu, int thread, int fd)
285 perf_evlist__id_add(evlist, evsel, cpu, thread, id);
370 static void perf_evsel__set_sid_idx(struct perf_evsel *evsel, int idx, int cpu, int thread)
372 struct perf_sample_id *sid = SID(evsel, cpu, thread);
376 sid->tid = perf_thread_map__pid(evsel->threads, thread);
421 int thread, int *_output, int *_output_overwrite)
432 if (evsel->system_wide && thread)
451 fd = FD(evsel, cpu, thread);
492 if (perf_evlist__id_add_fd(evlist, evsel, cpu, thread,
495 perf_evsel__set_sid_idx(evsel, idx, cpu, thread);
506 int thread;
509 for (thread = 0; thread < nr_threads; thread++) {
514 ops->idx(evlist, mp, thread, false);
516 if (mmap_per_evsel(evlist, ops, thread, mp, 0, thread,
534 int cpu, thread;
543 for (thread = 0; thread < nr_threads; thread++) {
545 thread, &output, &output_overwrite))