/Linux-v5.10/tools/perf/util/ |
D | counts.h | 12 struct perf_counts { struct 21 perf_counts(struct perf_counts *counts, int cpu, int thread) in perf_counts() function 27 perf_counts__is_loaded(struct perf_counts *counts, int cpu, int thread) in perf_counts__is_loaded() 33 perf_counts__set_loaded(struct perf_counts *counts, int cpu, int thread, bool loaded) in perf_counts__set_loaded() 38 struct perf_counts *perf_counts__new(int ncpus, int nthreads); 39 void perf_counts__delete(struct perf_counts *counts); 40 void perf_counts__reset(struct perf_counts *counts);
|
D | counts.c | 9 struct perf_counts *perf_counts__new(int ncpus, int nthreads) in perf_counts__new() 11 struct perf_counts *counts = zalloc(sizeof(*counts)); in perf_counts__new() 37 void perf_counts__delete(struct perf_counts *counts) in perf_counts__delete() 46 void perf_counts__reset(struct perf_counts *counts) in perf_counts__reset()
|
D | stat.c | 153 struct perf_counts *counts; in evsel__alloc_prev_raw_counts() 239 *perf_counts(evsel->counts, cpu, thread) = in perf_evsel__copy_prev_raw_counts() 240 *perf_counts(evsel->prev_raw_counts, cpu, in perf_evsel__copy_prev_raw_counts() 271 *perf_counts(evsel->prev_raw_counts, 0, 0) = in perf_evlist__save_aggr_prev_raw_counts() 390 perf_counts(counter->counts, cpu, thread))) in process_counter_maps() 467 *perf_counts(counter->counts, st->cpu, st->thread) = count; in perf_event__process_stat_event()
|
D | stat-display.c | 511 val += perf_counts(counter->counts, cpu, 0)->val; in aggr_update_shadow() 606 counts = perf_counts(counter->counts, cpu, 0); in aggr_cb() 716 val += perf_counts(counter->counts, cpu, thread)->val; in sort_aggr_thread() 717 ena += perf_counts(counter->counts, cpu, thread)->ena; in sort_aggr_thread() 718 run += perf_counts(counter->counts, cpu, thread)->run; in sort_aggr_thread() 829 ad->val += perf_counts(counter->counts, ad->cpu, 0)->val; in counter_cb() 830 ad->ena += perf_counts(counter->counts, ad->cpu, 0)->ena; in counter_cb() 831 ad->run += perf_counts(counter->counts, ad->cpu, 0)->run; in counter_cb() 887 val = perf_counts(counter->counts, cpu, 0)->val; in print_no_aggr_metric() 888 ena = perf_counts(counter->counts, cpu, 0)->ena; in print_no_aggr_metric() [all …]
|
D | evsel.h | 17 struct perf_counts; 94 struct perf_counts *counts; 95 struct perf_counts *prev_raw_counts;
|
D | evsel.c | 1402 tmp = *perf_counts(evsel->prev_raw_counts, cpu, thread); in evsel__compute_deltas() 1403 *perf_counts(evsel->prev_raw_counts, cpu, thread) = *count; in evsel__compute_deltas() 1432 struct perf_counts_values *count = perf_counts(evsel->counts, cpu, thread); in evsel__read_one() 1443 count = perf_counts(counter->counts, cpu, thread); in perf_evsel__set_count() 1546 *perf_counts(evsel->counts, cpu, thread) = count; in __evsel__read_on_cpu()
|
/Linux-v5.10/tools/perf/tests/ |
D | openat-syscall.c | 54 if (perf_counts(evsel->counts, 0, 0)->val != nr_openat_calls) { in test__openat_syscall_event() 56 nr_openat_calls, perf_counts(evsel->counts, 0, 0)->val); in test__openat_syscall_event()
|
D | openat-syscall-all-cpus.c | 113 if (perf_counts(evsel->counts, cpu, 0)->val != expected) { in test__openat_syscall_event_on_all_cpus() 115 expected, cpus->map[cpu], perf_counts(evsel->counts, cpu, 0)->val); in test__openat_syscall_event_on_all_cpus()
|
/Linux-v5.10/tools/perf/ |
D | builtin-stat.c | 321 perf_counts(counter->counts, cpu, thread); in read_single_counter() 347 count = perf_counts(counter->counts, cpu, thread); in read_counter_cpu() 356 perf_counts(counter->counts, cpu, thread)->ena = 0; in read_counter_cpu() 357 perf_counts(counter->counts, cpu, thread)->run = 0; in read_counter_cpu()
|
D | builtin-script.c | 2050 counts = perf_counts(counter->counts, cpu, thread); in __process_stat()
|
/Linux-v5.10/tools/perf/util/scripting-engines/ |
D | trace-event-python.c | 1414 perf_counts(counter->counts, cpu, thread)); in python_process_stat()
|