Lines Matching refs:counts
236 struct perf_counts_values *counts; in bpf_program_profiler__read() local
245 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
246 counts->val = 0; in bpf_program_profiler__read()
247 counts->ena = 0; in bpf_program_profiler__read()
248 counts->run = 0; in bpf_program_profiler__read()
267 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
268 counts->val += values[bpf_cpu].counter; in bpf_program_profiler__read()
269 counts->ena += values[bpf_cpu].enabled; in bpf_program_profiler__read()
270 counts->run += values[bpf_cpu].running; in bpf_program_profiler__read()
639 struct perf_counts_values *counts; in bperf__read() local
659 counts = perf_counts(evsel->counts, j, 0); in bperf__read()
660 counts->val = values[entry.cpu].counter; in bperf__read()
661 counts->ena = values[entry.cpu].enabled; in bperf__read()
662 counts->run = values[entry.cpu].running; in bperf__read()
668 counts = perf_counts(evsel->counts, i, 0); in bperf__read()
669 counts->val = values[cpu].counter; in bperf__read()
670 counts->ena = values[cpu].enabled; in bperf__read()
671 counts->run = values[cpu].running; in bperf__read()
675 counts = perf_counts(evsel->counts, 0, i); in bperf__read()
676 counts->val = 0; in bperf__read()
677 counts->ena = 0; in bperf__read()
678 counts->run = 0; in bperf__read()
681 counts->val += values[cpu].counter; in bperf__read()
682 counts->ena += values[cpu].enabled; in bperf__read()
683 counts->run += values[cpu].running; in bperf__read()