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()
615 struct perf_counts_values *counts; in bperf__read() local
635 counts = perf_counts(evsel->counts, j, 0); in bperf__read()
636 counts->val = values[entry.cpu].counter; in bperf__read()
637 counts->ena = values[entry.cpu].enabled; in bperf__read()
638 counts->run = values[entry.cpu].running; in bperf__read()
644 counts = perf_counts(evsel->counts, i, 0); in bperf__read()
645 counts->val = values[cpu].counter; in bperf__read()
646 counts->ena = values[cpu].enabled; in bperf__read()
647 counts->run = values[cpu].running; in bperf__read()
651 counts = perf_counts(evsel->counts, 0, i); in bperf__read()
652 counts->val = 0; in bperf__read()
653 counts->ena = 0; in bperf__read()
654 counts->run = 0; in bperf__read()
657 counts->val += values[cpu].counter; in bperf__read()
658 counts->ena += values[cpu].enabled; in bperf__read()
659 counts->run += values[cpu].running; in bperf__read()