/tools/testing/selftests/seccomp/ |
D | seccomp_benchmark.c | 19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument 27 for (i = 0; i < samples; i++) { in timing() 52 unsigned long long samples = 1 << i; in calibrate() local 55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) in calibrate() 56 return samples; in calibrate() 70 unsigned long long samples; in main() local 74 samples = strtoull(argv[1], NULL, 0); in main() 76 samples = calibrate(); in main() 78 printf("Benchmarking %llu samples...\n", samples); in main() 80 native = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main() [all …]
|
/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 87 samples, TAB/UNTAB cycles through the lines with more samples. 92 --cpu=<cpu>:: Only report samples for the list of CPUs provided. Multiple CPUs can 94 CPUs are specified with -: 0-2. Default is to report samples on all 128 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. 123 Analyze samples within given time window. It supports time 145 It also supports analyzing samples within a given time window 169 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can 171 CPUs are specified with -: 0-2. Default is to report samples on all 175 Only diff samples for given process ID (comma separated list). 178 Only diff samples for given thread ID (comma separated list). 183 file is iterated for samples. All other perf.data files specified on 187 All samples from non-baseline perf.data files, that do not match any 191 Example files samples: [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-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 108 - time: Separate the samples by time stamp with the resolution specified by 329 --cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can 331 CPUs are specified with -: 0-2. Default is to report samples on all 382 Use the data addresses of samples in addition to instruction addresses 414 Only analyze samples within given time window: <start>,<stop>. Times 480 Only report the samples on the processor socket that match with this filter 482 --samples=N:: [all …]
|
D | perf-data.txt | 43 Default is off, only convert samples.
|
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. 110 Sorting key. Possible values: sample (default, sort by samples 147 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-top.txt | 140 --show-nr-samples:: 141 Show a column with the number of samples. 252 as PERF_RECORD_MMAP which makes 'perf top' unable to resolve samples, leading 253 to lots of unknown samples appearing on the UI. Enable this if you are in such
|
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-script.txt | 113 Do various checks like samples ordering and lost events. 274 --cpu:: Only report samples for the list of CPUs provided. Multiple CPUs can 276 CPUs are specified with -: 0-2. Default is to report samples on all 363 Only analyze samples within given time window: <start>,<stop>. Times
|
D | perf-timechart.txt | 104 [ perf record: Captured and wrote 4.253 MB perf.data (~185801 samples) ]
|
D | perf-sched.txt | 156 Only analyze samples within given time window: <start>,<stop>. Times
|
/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 | 92 unsigned long long samples; member 321 rec->samples++; in record__aio_push() 495 rec->samples++; in record__pushfn() 579 rec->samples++; in record__auxtrace_mmap_read() 596 rec->samples++; in record__auxtrace_mmap_read_snapshot() 837 rec->samples++; in process_sample_event() 1124 rec->samples = 0; in record__switch_output() 1546 unsigned long long hits = rec->samples; in __cmd_record() 1615 if (hits == rec->samples) { in __cmd_record() 1691 rec->samples = 0; in __cmd_record() [all …]
|
D | builtin-inject.c | 46 struct list_head samples; member 476 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_process_exit() 507 list_add(&ent->node, &inject->samples); in perf_inject__sched_switch() 523 list_for_each_entry(ent, &inject->samples, node) { in perf_inject__sched_stat() 773 .samples = LIST_HEAD_INIT(inject.samples), in cmd_inject()
|
/tools/testing/selftests/bpf/progs/ |
D | strobemeta.h | 212 } samples SEC(".maps"); 529 bpf_perf_event_output(ctx, &samples, 0, sample, 1 + sample_size); in on_event()
|
/tools/thermal/tmon/ |
D | sysfs.c | 482 static unsigned long samples; in update_thermal_data() local 494 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
|
/tools/perf/tests/attr/ |
D | README | 54 perf record -n kill (test-record-no-samples)
|