Searched refs:cpu_idx (Results 1 – 3 of 3) sorted by relevance
| /tools/perf/util/ |
| A D | python.c | 937 int cpu = 0, cpu_idx, thread = 0, thread_idx; in pyrf_evsel__read() local 948 cpu_idx = perf_cpu_map__idx(evsel->core.cpus, (struct perf_cpu){.cpu = cpu}); in pyrf_evsel__read() 949 if (cpu_idx < 0) { in pyrf_evsel__read() 964 old_count = perf_counts(evsel->prev_raw_counts, cpu_idx, thread_idx); in pyrf_evsel__read() 965 new_count = perf_counts(evsel->counts, cpu_idx, thread_idx); in pyrf_evsel__read() 967 evsel__read_counter(evsel, cpu_idx, thread_idx); in pyrf_evsel__read()
|
| /tools/lib/perf/ |
| A D | evlist.c | 513 int idx, struct perf_mmap_param *mp, int cpu_idx, in mmap_per_evsel() argument 516 struct perf_cpu evlist_cpu = perf_cpu_map__cpu(evlist->all_cpus, cpu_idx); in mmap_per_evsel()
|
| /tools/perf/ |
| A D | builtin-record.c | 1939 int cpu_idx, int thread_idx, u64 lost_count, in __record__save_lost_samples() argument 1949 sid = xyarray__entry(evsel->core.sample_id, cpu_idx, thread_idx); in __record__save_lost_samples()
|
Completed in 17 milliseconds