Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 14 of 14) sorted by relevance

/tools/perf/tests/
Dopen-syscall.c42 if (evsel->counts->cpu[0].val != nr_open_calls) { in test__open_syscall_event()
44 nr_open_calls, evsel->counts->cpu[0].val); in test__open_syscall_event()
Dopen-syscall-all-cpus.c95 if (evsel->counts->cpu[cpu].val != expected) { in test__open_syscall_event_on_all_cpus()
97 expected, cpus->map[cpu], evsel->counts->cpu[cpu].val); in test__open_syscall_event_on_all_cpus()
/tools/perf/scripts/python/bin/
Dsyscall-counts-report10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts.py $comm
Dsyscall-counts-by-pid-report10 perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/syscall-counts-by-pid.py $comm
/tools/usb/
Dffs-test.c185 const __le32 counts[]; in descs_to_legacy() member
187 const __le32 *counts = in->counts; in descs_to_legacy() local
207 ret = le32_to_cpu(*counts); \ in descs_to_legacy()
209 ++counts; \ in descs_to_legacy()
219 descs_start = (const void *)counts; in descs_to_legacy()
/tools/perf/Documentation/
Dperf-stat.txt78 Do not aggregate counts across all monitored CPUs in system-wide mode (-a).
91 print counts using a CSV-style output to make it easy to import directly into
131 Aggregate counts per processor socket for system-wide mode measurements. This
138 Aggregate counts per physical processor for system-wide mode measurements. This
Dperf-script-python.txt32 'syscall-counts' script you see when you list the available perf script
37 The syscall-counts script is a simple script, but demonstrates all the
192 # mv perf-script.py syscall-counts.py
193 # perf script -s syscall-counts.py
262 and having the counts we've tallied as values.
318 # perf script -s syscall-counts.py
358 # cat kernel-source/tools/perf/scripts/python/bin/syscall-counts-record
370 # cat kernel-source/tools/perf/scripts/python/bin/syscall-counts-report
373 # description: system-wide syscall counts
374 perf script -s ~/libexec/perf-core/scripts/python/syscall-counts.py
[all …]
Dperf-diff.txt65 Be verbose, for instance, show the raw counts in addition to the
Dperf-record.txt121 Per thread counts.
/tools/perf/
Dbuiltin-stat.c204 sz = sizeof(*evsel->counts) + in perf_evsel__alloc_prev_raw_counts()
398 u64 *count = counter->counts->aggr.values; in read_counter_aggr()
434 count = counter->counts->cpu[cpu].values; in read_counter()
1136 val += counter->counts->cpu[cpu].val; in print_aggr()
1137 ena += counter->counts->cpu[cpu].ena; in print_aggr()
1138 run += counter->counts->cpu[cpu].run; in print_aggr()
1194 int scaled = counter->counts->scaled; in print_counter_aggr()
1255 val = counter->counts->cpu[cpu].val; in print_counter()
1256 ena = counter->counts->cpu[cpu].ena; in print_counter()
1257 run = counter->counts->cpu[cpu].run; in print_counter()
Ddesign.txt247 cpu == -1: the counter counts on all CPUs
251 A 'pid > 0' and 'cpu == -1' counter is a per task counter that counts
256 A 'pid == -1' and 'cpu == x' counter is a per CPU counter that counts
/tools/perf/util/
Devsel.c806 memset(evsel->counts, 0, (sizeof(*evsel->counts) + in perf_evsel__reset_counts()
812 evsel->counts = zalloc((sizeof(*evsel->counts) + in perf_evsel__alloc_counts()
814 return evsel->counts != NULL ? 0 : -ENOMEM; in perf_evsel__alloc_counts()
846 zfree(&evsel->counts); in perf_evsel__free_counts()
899 if (evsel->counts == NULL && perf_evsel__alloc_counts(evsel, cpu + 1) < 0) in __perf_evsel__read_on_cpu()
915 evsel->counts->cpu[cpu] = count; in __perf_evsel__read_on_cpu()
924 struct perf_counts_values *aggr = &evsel->counts->aggr, count; in __perf_evsel__read()
950 evsel->counts->scaled = 0; in __perf_evsel__read()
953 evsel->counts->scaled = -1; in __perf_evsel__read()
959 evsel->counts->scaled = 1; in __perf_evsel__read()
Devsel.h65 struct perf_counts *counts; member
/tools/usb/usbip/
DCOPYING168 access to copy the source code from the same place counts as