/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 23 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/ |
D | stack-entropy.sh | 6 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/ |
D | freq-step.c | 111 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/ |
D | perf-annotate.txt | 47 --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).
|
D | perf-diff.txt | 23 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 …]
|
D | perf-mem.txt | 44 --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,
|
D | perf-data.txt | 49 Default is off, only convert samples.
|
D | perf-report.txt | 33 --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 …]
|
D | callchain-overhead-calculation.txt | 18 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
|
D | tips.txt | 15 Show individual samples with: perf script 39 To separate samples by time use perf report --sort time,overhead,sym
|
D | perf-kvm.txt | 61 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
|
D | perf-kmem.txt | 69 Only analyze samples within given time window: <start>,<stop>. Times
|
D | perf.data-directory-format.txt | 37 [ perf record: Captured and wrote 0.015 MB perf.data (9 samples) ]
|
D | examples.txt | 75 [ 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) ]
|
D | perf-top.txt | 145 --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/ |
D | top.c | 32 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()
|
D | top.h | 29 u64 samples, lost, lost_total, drop, drop_total; member
|
/tools/perf/tests/ |
D | hists_link.c | 129 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/ |
D | README | 73 There are some sample test scripts for result code under samples/. 74 You can also run samples as below: 76 # ./ftracetest samples/
|
/tools/perf/ |
D | builtin-record.c | 111 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 …]
|
D | builtin-inject.c | 54 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/ |
D | libperf-sampling.txt | 36 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/ |
D | strobemeta.h | 212 } samples SEC(".maps"); 543 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
|
/tools/thermal/tmon/ |
D | sysfs.c | 484 static unsigned long samples; in update_thermal_data() local 496 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
|
/tools/perf/tests/attr/ |
D | README | 55 perf record -n kill (test-record-no-samples)
|