Home
last modified time | relevance | path

Searched refs:samples (Results 1 – 25 of 41) sorted by relevance

12

/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c23 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
31 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long i, samples, step = 9973; in calibrate() local
58 samples = 0; in calibrate()
68 samples += step; in calibrate()
74 return samples * seconds; in calibrate()
142 unsigned long long samples, calc; in main() local
157 samples = strtoull(argv[1], NULL, 0); in main()
159 samples = calibrate(); in main()
161 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/tools/testing/selftests/lkdtm/
Dstack-entropy.sh6 samples="${1:-1000}"
26 for i in $(seq 1 $samples); do
29 percent=$(( 100 * $i / $samples ))
39 seen=$(tac "$log" | grep -m1 -B"$samples"0 'Starting stack offset' | \
/tools/testing/selftests/timers/
Dfreq-step.c111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
120 x = samples[i].time; in regress()
121 y = samples[i].offset; in regress()
135 x = samples[i].time; in regress()
136 y = samples[i].offset; in regress()
148 struct sample samples[SAMPLES]; in run_test() local
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
180 regress(samples, SAMPLES / 2, &intercept, &slope, &stddev1, &max1); in run_test()
184 regress(samples + SAMPLES / 2, SAMPLES / 2, &intercept, &slope, in run_test()
/tools/perf/Documentation/
Dperf-annotate.txt47 --show-nr-samples::
48 Show the number of samples for each symbol
94 samples, TAB/UNTAB cycles through the lines with more samples.
99 --cpu=<cpu>:: Only report samples for the list of CPUs provided. Multiple CPUs can
101 CPUs are specified with -: 0-2. Default is to report samples on all
148 on - the samples period or the number of samples (hits).
Dperf-diff.txt23 If no parameters are passed the samples will be sorted by dso and symbol.
128 Analyze samples within given time window. It supports time
150 It also supports analyzing samples within a given time window
174 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can
176 CPUs are specified with -: 0-2. Default is to report samples on all
180 Only diff samples for given process ID (comma separated list).
183 Only diff samples for given thread ID (comma separated list).
187 aggregated by the branch records from samples.
192 file is iterated for samples. All other perf.data files specified on
196 All samples from non-baseline perf.data files, that do not match any
[all …]
Dperf-mem.txt44 --dump-raw-samples::
45 Dump the raw decoded samples on the screen in a format that is easy to parse with
50 Specify the field separator used when dump raw samples (-D option). By default,
Dperf-data.txt49 Default is off, only convert samples.
Dperf-report.txt33 --show-nr-samples::
34 Show the number of samples for each symbol
92 - srcfile: file name of the source file of the samples. Requires dwarf
109 - time: Separate the samples by time stamp with the resolution specified by
342 --cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can
344 CPUs are specified with -: 0-2. Default is to report samples on all
406 Use the data addresses of samples in addition to instruction addresses
438 Only analyze samples within given time window: <start>,<stop>. Times
515 Only report the samples on the processor socket that match with this filter
517 --samples=N::
[all …]
Dcallchain-overhead-calculation.txt18 can find which function has the most overhead even if samples are
43 Suppose all samples are recorded in 'foo' and 'bar' only. When it's
Dtips.txt15 Show individual samples with: perf script
39 To separate samples by time use perf report --sort time,overhead,sym
Dperf-kvm.txt61 handled time, samples, and so on.
111 Sorting key. Possible values: sample (default, sort by samples
148 Sorting key. Possible values: sample (default, sort by samples
Dperf-kmem.txt69 Only analyze samples within given time window: <start>,<stop>. Times
Dperf.data-directory-format.txt37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ]
Dexamples.txt75 [ perf record: Captured and wrote 0.267 MB perf.data (~11679 samples) ]
129 [ perf record: Captured and wrote 0.963 MB perf.data (~42069 samples) ]
Dperf-top.txt145 --show-nr-samples::
146 Show a column with the number of samples.
263 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading
264 to lots of unknown samples appearing on the UI. Enable this if you are in such
/tools/perf/util/
Dtop.c32 if (top->samples) { in perf_top__header_snprintf()
33 samples_per_sec = top->samples / top->delay_secs; in perf_top__header_snprintf()
35 esamples_percent = (100.0 * top->exact_samples) / top->samples; in perf_top__header_snprintf()
115 top->samples = top->us_samples = top->kernel_samples = in perf_top__reset_sample_counters()
Dtop.h29 u64 samples, lost, lost_total, drop, drop_total; member
/tools/perf/tests/
Dhists_link.c129 static int find_sample(struct sample *samples, size_t nr_samples, in find_sample() argument
133 if (samples->thread == t && samples->map == m && in find_sample()
134 samples->sym == s) in find_sample()
136 samples++; in find_sample()
/tools/testing/selftests/ftrace/
DREADME73 There are some sample test scripts for result code under samples/.
74 You can also run samples as below:
76 # ./ftracetest samples/
/tools/perf/
Dbuiltin-record.c111 unsigned long long samples; member
356 rec->samples++; in record__aio_push()
544 rec->samples++; in record__pushfn()
645 rec->samples++; in record__auxtrace_mmap_read()
662 rec->samples++; in record__auxtrace_mmap_read_snapshot()
996 rec->samples++; in process_sample_event()
1292 rec->samples = 0; in record__switch_output()
1864 unsigned long long hits = rec->samples; in __cmd_record()
1933 if (hits == rec->samples) { in __cmd_record()
2034 rec->samples = 0; in __cmd_record()
[all …]
Dbuiltin-inject.c54 struct list_head samples; member
625 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_process_exit()
656 list_add(&ent->node, &inject->samples); in perf_inject__sched_switch()
672 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_stat()
915 .samples = LIST_HEAD_INIT(inject.samples), in cmd_inject()
/tools/lib/perf/Documentation/
Dlibperf-sampling.txt36 The `sampling.c` example profiles/samples all CPUs with hardware cycles, in a
44 - reads and displays recorded samples
169 Following code walks through the ring buffers and reads stored events/samples:
/tools/testing/selftests/bpf/progs/
Dstrobemeta.h212 } samples SEC(".maps");
543 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
/tools/thermal/tmon/
Dsysfs.c484 static unsigned long samples; in update_thermal_data() local
496 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
/tools/perf/tests/attr/
DREADME55 perf record -n kill (test-record-no-samples)

12