Home
last modified time | relevance | path

Searched refs:tasks (Results 1 – 25 of 35) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_btf.c11 long tasks = 0; variable
33 tasks++; in dump_task_struct()
/tools/perf/scripts/python/
Dsched-migration.py100 def __init__(self, tasks = [0], event = RunqueueEventUnknown()): argument
101 self.tasks = tuple(tasks)
107 if taskState(prev_state) == "R" and next in self.tasks \
108 and prev in self.tasks:
114 next_tasks = list(self.tasks[:])
115 if prev in self.tasks:
127 if old not in self.tasks:
129 next_tasks = [task for task in self.tasks if task != old]
134 if new in self.tasks:
137 next_tasks = self.tasks[:] + tuple([new])
[all …]
/tools/perf/Documentation/
Dperf-timechart.txt48 --tasks-only::
60 Print task info for at least given number of tasks.
65 Highlight tasks (using different color) that run more than given
66 duration or tasks with given name. If number is given it's interpreted
89 --tasks-only::
90 Record only tasks-related events
114 then generate timechart and highlight 'gcc' tasks:
Dperf-bench.txt32 (executing 1000000 pipe operations between two tasks)
140 (executing 1000000 pipe operations between two tasks)
147 (executing 1000 pipe operations between two tasks)
Dperf-sched.txt55 individual CPUs, and the two-letter shortcuts stand for tasks that
138 ('-' indicates other tasks while '.' is idle).
Dperf-script-perl.txt133 gives scripts a chance to do setup tasks:
142 processed and gives scripts a chance to do end-of-script tasks, such
Dperf-inject.txt52 tasks slept. sched_switch contains a callchain where a task slept and
/tools/testing/selftests/rcutorture/configs/rcuscale/
DTRACE01.boot1 rcuscale.scale_type=tasks-tracing
/tools/testing/selftests/rcutorture/configs/rcu/
DTASKS03.boot1 rcutorture.torture_type=tasks nohz_full=1
DTASKS02.boot1 rcutorture.torture_type=tasks
DTRACE02.boot1 rcutorture.torture_type=tasks-tracing
DRUDE01.boot1 rcutorture.torture_type=tasks-rude
DTRACE01.boot1 rcutorture.torture_type=tasks-tracing
DTASKS01.boot1 rcutorture.torture_type=tasks
/tools/perf/tests/shell/
Dtest_task_analyzer.sh89 perf script report task-analyzer --ms --filter-tasks perf --highlight-tasks perf \
98 --limit-to-tasks perf > "$out"
/tools/testing/selftests/bpf/benchs/
Drun_bench_local_storage_rcu_tasks_trace.sh11 ./bench --nr_procs 15000 --kthread_pid $kthread_pid -d 600 --quiet local-storage-tasks-trace
/tools/testing/selftests/resctrl/
Dresctrlfs.c499 static int write_pid_to_tasks(char *tasks, pid_t pid) in write_pid_to_tasks() argument
503 fp = fopen(tasks, "w"); in write_pid_to_tasks()
537 char tasks[1024]; in write_bm_pid_to_resctrl() local
549 sprintf(tasks, "%s/tasks", controlgroup); in write_bm_pid_to_resctrl()
550 ret = write_pid_to_tasks(tasks, bm_pid); in write_bm_pid_to_resctrl()
562 sprintf(tasks, "%s/mon_groups/%s/tasks", in write_bm_pid_to_resctrl()
564 ret = write_pid_to_tasks(tasks, bm_pid); in write_bm_pid_to_resctrl()
DREADME62 process pids to tasks, start benchmark.
/tools/testing/selftests/cgroup/
Dtest_cpuset_v1_hp.sh29 echo $TASK > $CPUSET/$TDIR/tasks
/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
/tools/bpf/bpftool/Documentation/
Dbpftool-iter.rst36 tasks, bpf_maps, etc.) and a bpf program called for each kernel data object
/tools/testing/selftests/bpf/
Dtest_maps.c658 static void test_sockmap(unsigned int tasks, void *data) in test_sockmap() argument
671 pid_t pid[tasks]; in test_sockmap()
1078 for (i = 0; i < tasks; i++) { in test_sockmap()
1096 for (i = 0; i < tasks; i++) { in test_sockmap()
1355 static void __run_parallel(unsigned int tasks, in __run_parallel() argument
1359 pid_t pid[tasks]; in __run_parallel()
1364 for (i = 0; i < tasks; i++) { in __run_parallel()
1375 for (i = 0; i < tasks; i++) { in __run_parallel()
/tools/perf/
Dbuiltin-sched.c172 struct task_desc **tasks; member
475 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid()
476 BUG_ON(!sched->tasks); in register_pid()
477 sched->tasks[task->nr] = task; in register_pid()
492 task = sched->tasks[i]; in print_task_traces()
504 task1 = sched->tasks[i]; in add_cross_task_wakeups()
508 task2 = sched->tasks[j]; in add_cross_task_wakeups()
673 parms->task = task = sched->tasks[i]; in create_tasks()
697 task = sched->tasks[i]; in destroy_tasks()
719 task = sched->tasks[i]; in wait_for_tasks()
[all …]
Dbuiltin-report.c1023 LIST_HEAD(tasks); in tasks_print()
1026 ret = machine__thread_list(machine, &tasks); in tasks_print()
1030 list_sort(machine, &tasks, task_list_cmp); in tasks_print()
1034 list_for_each_entry(task, &tasks, list) in tasks_print()
1037 thread_list__delete(&tasks); in tasks_print()
Ddesign.txt203 events on descendant tasks as well as the task specified. This only
249 pid < 0: all tasks are counted (per cpu counters)
261 their own tasks.

12