Home
last modified time | relevance | path

Searched refs:perf_counts (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/tools/perf/util/
A Dcounts.h12 struct perf_counts { struct
20 perf_counts(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts() argument
26 perf_counts__is_loaded(struct perf_counts *counts, int cpu_map_idx, int thread) in perf_counts__is_loaded()
32 perf_counts__set_loaded(struct perf_counts *counts, int cpu_map_idx, int thread, bool loaded) in perf_counts__set_loaded()
37 struct perf_counts *perf_counts__new(int ncpus, int nthreads);
38 void perf_counts__delete(struct perf_counts *counts);
39 void perf_counts__reset(struct perf_counts *counts);
A Dcounts.c10 struct perf_counts *perf_counts__new(int ncpus, int nthreads) in perf_counts__new()
12 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new()
38 void perf_counts__delete(struct perf_counts *counts) in perf_counts__delete()
47 void perf_counts__reset(struct perf_counts *counts) in perf_counts__reset()
A Dbpf_counter.c242 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
264 counts = perf_counts(evsel->counts, idx, 0); in bpf_program_profiler__read()
653 counts = perf_counts(evsel->counts, j, 0); in bperf__read()
662 counts = perf_counts(evsel->counts, i, 0); in bperf__read()
669 counts = perf_counts(evsel->counts, 0, i); in bperf__read()
A Dstat.c208 struct perf_counts *counts; in evsel__alloc_prev_raw_counts()
303 *perf_counts(evsel->counts, idx, thread) = in evsel__copy_prev_raw_counts()
304 *perf_counts(evsel->prev_raw_counts, idx, thread); in evsel__copy_prev_raw_counts()
499 perf_counts(counter->counts, idx, thread))) in process_counter_maps()
747 ptr = perf_counts(counter->counts, cpu_map_idx, st->thread); in perf_event__process_stat_event()
A Devsel.h16 struct perf_counts;
112 struct perf_counts *counts;
113 struct perf_counts *prev_raw_counts;
A Dbpf_counter_cgroup.c265 counts = perf_counts(evsel->counts, i, 0); in bperf_cgrp__read()
A Devsel.c1531 tmp = *perf_counts(evsel->prev_raw_counts, cpu_map_idx, thread); in evsel__compute_deltas()
1532 *perf_counts(evsel->prev_raw_counts, cpu_map_idx, thread) = *count; in evsel__compute_deltas()
1541 struct perf_counts_values *count = perf_counts(evsel->counts, cpu_map_idx, thread); in evsel__read_one()
1551 count = perf_counts(counter->counts, cpu_map_idx, thread); in evsel__set_count()
1651 *perf_counts(evsel->counts, cpu_map_idx, thread) = count; in __evsel__read_on_cpu()
/linux-6.3-rc2/tools/perf/tests/
A Dopenat-syscall.c58 if (perf_counts(evsel->counts, 0, 0)->val != nr_openat_calls) { in test__openat_syscall_event()
60 nr_openat_calls, perf_counts(evsel->counts, 0, 0)->val); in test__openat_syscall_event()
A Dopenat-syscall-all-cpus.c108 if (perf_counts(evsel->counts, idx, 0)->val != expected) { in test__openat_syscall_event_on_all_cpus()
110 expected, cpu.cpu, perf_counts(evsel->counts, idx, 0)->val); in test__openat_syscall_event_on_all_cpus()
/linux-6.3-rc2/tools/perf/arch/x86/util/
A Diostat.c433 struct perf_counts_values *count = perf_counts(evsel->counts, die, 0); in iostat_print_metric()
438 perf_counts(evsel->prev_raw_counts, die, 0); in iostat_print_metric()
/linux-6.3-rc2/tools/perf/
A Dbuiltin-stat.c342 perf_counts(counter->counts, cpu_map_idx, thread); in read_single_counter()
351 perf_counts(counter->counts, cpu_map_idx, thread); in read_single_counter()
384 count = perf_counts(counter->counts, cpu_map_idx, thread); in read_counter_cpu()
393 perf_counts(counter->counts, cpu_map_idx, thread)->ena = 0; in read_counter_cpu()
394 perf_counts(counter->counts, cpu_map_idx, thread)->run = 0; in read_counter_cpu()
A Dbuiltin-script.c2289 counts = perf_counts(counter->counts, idx, thread); in __process_stat()
/linux-6.3-rc2/tools/perf/util/scripting-engines/
A Dtrace-event-python.c1662 perf_counts(counter->counts, cpu, thread)); in python_process_stat()

Completed in 36 milliseconds