Lines Matching refs:counts
233 struct perf_counts_values *counts; in bpf_program_profiler__read() local
242 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
243 counts->val = 0; in bpf_program_profiler__read()
244 counts->ena = 0; in bpf_program_profiler__read()
245 counts->run = 0; in bpf_program_profiler__read()
264 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
265 counts->val += values[bpf_cpu].counter; in bpf_program_profiler__read()
266 counts->ena += values[bpf_cpu].enabled; in bpf_program_profiler__read()
267 counts->run += values[bpf_cpu].running; in bpf_program_profiler__read()
633 struct perf_counts_values *counts; in bperf__read() local
653 counts = perf_counts(evsel->counts, j, 0); in bperf__read()
654 counts->val = values[entry.cpu].counter; in bperf__read()
655 counts->ena = values[entry.cpu].enabled; in bperf__read()
656 counts->run = values[entry.cpu].running; in bperf__read()
662 counts = perf_counts(evsel->counts, i, 0); in bperf__read()
663 counts->val = values[cpu].counter; in bperf__read()
664 counts->ena = values[cpu].enabled; in bperf__read()
665 counts->run = values[cpu].running; in bperf__read()
669 counts = perf_counts(evsel->counts, 0, i); in bperf__read()
670 counts->val = 0; in bperf__read()
671 counts->ena = 0; in bperf__read()
672 counts->run = 0; in bperf__read()
675 counts->val += values[cpu].counter; in bperf__read()
676 counts->ena += values[cpu].enabled; in bperf__read()
677 counts->run += values[cpu].running; in bperf__read()