Lines Matching refs:thread
47 int cpu, thread;
49 for (thread = 0; thread < nthreads; thread++) {
50 FD(evsel, cpu, thread) = -1;
69 int cpu, thread, err = 0;
100 for (thread = 0; thread < threads->nr; thread++) {
104 threads->map[thread].pid,
110 FD(evsel, cpu, thread) = fd;
119 int thread;
121 for (thread = 0; thread < xyarray__max_y(evsel->fd); ++thread) {
122 if (FD(evsel, cpu, thread) >= 0)
123 close(FD(evsel, cpu, thread));
124 FD(evsel, cpu, thread) = -1;
184 int perf_evsel__read(struct perf_evsel *evsel, int cpu, int thread,
191 if (FD(evsel, cpu, thread) < 0)
194 if (readn(FD(evsel, cpu, thread), count->values, size) <= 0)
204 int thread;
206 for (thread = 0; thread < xyarray__max_y(evsel->fd); thread++) {
207 int fd = FD(evsel, cpu, thread),