| /tools/perf/tests/shell/ |
| A D | stat_bpf_counters.sh | 7 workload="perf test -w sqrtloop" 44 …base_instructions=$(perf stat --no-big-num -e instructions -- $workload 2>&1 | awk '/instructions/… 45 …bpf_instructions=$(perf stat --no-big-num --bpf-counters -e instructions -- $workload 2>&1 | awk … 54 …num -e instructions/name=base_instructions/,instructions/name=bpf_instructions/b -- $workload 2>&1)
|
| A D | trace_summary.sh | 17 workload="true" 20 echo "testing: perf trace ${args} -- ${workload}" 21 perf trace ${args} -- ${workload} >${OUTPUT} 2>&1
|
| A D | stat_metrics_values.sh | 14 workload="perf bench futex hash -r 2 -s" 22 $PYTHON $pythonvalidator -rule $rulefile -output_dir $tmpdir -wl "${workload}" \
|
| A D | test_intel_pt.sh | 24 workload="${temp_dir}/workload" 64 cat << _end_of_file_ | /usr/bin/cc -o "${workload}" -xc - -pthread && have_workload=true 255 $workload & 257 $workload &
|
| /tools/perf/tests/ |
| A D | perf-record.c | 114 err = sched__get_first_possible_cpu(evlist->workload.pid, &cpu_mask); in test__PERF_RECORD() 126 if (sched_setaffinity(evlist->workload.pid, cpu_mask_size, &cpu_mask) < 0) { in test__PERF_RECORD() 212 if ((pid_t)sample.pid != evlist->workload.pid) { in test__PERF_RECORD() 214 name, evlist->workload.pid, sample.pid); in test__PERF_RECORD() 218 if ((pid_t)sample.tid != evlist->workload.pid) { in test__PERF_RECORD() 220 name, evlist->workload.pid, sample.tid); in test__PERF_RECORD() 229 (pid_t)event->comm.pid != evlist->workload.pid) { in test__PERF_RECORD()
|
| A D | builtin-test.c | 157 #define workloads__for_each(workload) \ argument 158 for (unsigned i = 0; i < ARRAY_SIZE(workloads) && ({ workload = workloads[i]; 1; }); i++) 782 const char *workload = NULL; in cmd_test() local 794 …OPT_STRING('w', "workload", &workload, "work", "workload to run for testing, use '--list-workloads… in cmd_test() 822 if (workload) in cmd_test() 823 return run_workload(workload, argc, argv); in cmd_test()
|
| A D | event-times.c | 53 waitpid(evlist->workload.pid, NULL, 0); in detach__enable_on_exec()
|
| /tools/perf/bench/ |
| A D | find-bit-bench.c | 34 static noinline void workload(int val) in workload() function 82 workload(bit); in do_for_each_set_bit() 97 workload(bit); in do_for_each_set_bit()
|
| /tools/perf/tests/shell/lib/ |
| A D | perf_metric_validation.py | 22 \tis {1} in workload(s): {2} \n\ 31 \tis {1} in workload(s): {2}\n\ 39 workload='true', metrics='', cputype='cpu'): argument 49 self.workloads = [x for x in workload.split(",") if x] 380 def _run_perf(self, metric, workload: str): 383 wl = workload.split() 392 def collect_perf(self, workload: str): 416 wl = workload 425 workload = self.workloads[self.wlidx] 427 data = self._run_perf(metric, workload) [all …]
|
| /tools/perf/Documentation/ |
| A D | perf-test.txt | 57 --workload=:: 58 Run a built-in workload, to list them use '--list-workloads', current ones include: 71 List the available workloads to use with -w/--workload.
|
| A D | perf-sched.txt | 18 of an arbitrary workload. 21 and other scheduling properties of the workload. 43 'perf sched script' to see a detailed trace of the workload that 46 'perf sched replay' to simulate the workload that was recorded 48 that mimic the workload based on the events in the trace. These 50 of the workload as it occurred when it was recorded - and can repeat 54 workload captured via perf sched record. Columns stand for 237 repeat the workload n times (0: infinite). Default is 10.
|
| A D | cpu-and-latency-overheads.txt | 51 flags. It shows fraction of (wall-clock) time the workload utilizes different 53 the workload utilizes only 1 core most of the time, but also has some 85 of a workload use '--latency --parallelism=1-2' flags.
|
| A D | perf-timechart.txt | 6 perf-timechart - Tool to visualize total system behavior during a workload 18 of an arbitrary workload. By default timechart records only scheduler
|
| A D | perf-kmem.txt | 18 record the kmem events of an arbitrary workload. Additional 'perf
|
| A D | examples.txt | 45 'repeat the workload N times' feature of perf stat: 65 Furthermore, these tracepoints can be used to sample the workload as
|
| A D | perf-kvm.txt | 24 of an arbitrary workload. 27 of an arbitrary workload and save it into a perf data file. We set the
|
| A D | tips.txt | 8 Save output of perf stat using: perf stat record <target workload> 64 To compare scalability of two workload samples use perf diff -c ratio file1 file2
|
| A D | perf-kwork.txt | 18 of an arbitrary workload.
|
| /tools/perf/util/ |
| A D | evlist.c | 81 evlist->workload.pid = -1; in evlist__init() 1428 evlist->workload.cork_fd = -1; in evlist__prepare_workload() 1440 evlist->workload.pid = fork(); in evlist__prepare_workload() 1441 if (evlist->workload.pid < 0) { in evlist__prepare_workload() 1446 if (!evlist->workload.pid) { in evlist__prepare_workload() 1546 if (evlist->workload.cork_fd >= 0) { in evlist__start_workload() 1556 close(evlist->workload.cork_fd); in evlist__start_workload() 1557 evlist->workload.cork_fd = -1; in evlist__start_workload() 1568 if (evlist->workload.cork_fd >= 0) { in evlist__cancel_workload() 1569 close(evlist->workload.cork_fd); in evlist__cancel_workload() [all …]
|
| A D | bpf_lock_contention.c | 341 if (target__none(target) && evlist->workload.pid > 0) { in lock_contention_prepare() 342 u32 pid = evlist->workload.pid; in lock_contention_prepare()
|
| A D | evlist.h | 69 } workload; member
|
| A D | intel-tpebs.c | 175 workload_pid = t->evsel->evlist->workload.pid; in should_ignore_sample()
|
| /tools/lib/perf/Documentation/ |
| A D | libperf-counting.txt | 35 * does some workload 158 From this moment events are counting and we can do our workload.
|
| /tools/testing/selftests/net/rds/ |
| A D | README.txt | 7 corruption. A workload of 50000 hashes, each 64 characters in size,
|
| /tools/sched_ext/ |
| A D | README.md | 12 the correct workload and with the correct tuning, they may be deployed in a 189 The approach demonstrated by this scheduler may be useful for any workload that
|