Home
last modified time | relevance | path

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

12

/tools/testing/selftests/bpf/progs/
Dbpf_iter_task_btf.c12 long tasks = 0; variable
34 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)
129 (executing 1000000 pipe operations between two tasks)
136 (executing 1000 pipe operations between two tasks)
Dperf-inject.txt45 tasks slept. sched_switch contains a callchain where a task slept and
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-sched.txt35 individual CPUs, and the two-letter shortcuts stand for tasks that
Dperf-report.txt521 Show --tasks output plus mmap information in a format similar to
534 --tasks::
535 Display monitored tasks stored in perf data. Displaying pid/tid/ppid
536 plus the command string aligned to distinguish parent and child tasks.
Dperf-script-python.txt528 gives scripts a chance to do setup tasks:
536 processed and gives scripts a chance to do end-of-script tasks, such
/tools/testing/selftests/rcutorture/configs/rcu/
DTASKS01.boot1 rcutorture.torture_type=tasks
DTASKS02.boot1 rcutorture.torture_type=tasks
DTASKS03.boot1 rcutorture.torture_type=tasks nohz_full=1
DRUDE01.boot1 rcutorture.torture_type=tasks-rude
DTRACE01.boot1 rcutorture.torture_type=tasks-tracing
DTRACE02.boot1 rcutorture.torture_type=tasks-tracing
/tools/testing/selftests/resctrl/
Dresctrlfs.c404 static int write_pid_to_tasks(char *tasks, pid_t pid) in write_pid_to_tasks() argument
408 fp = fopen(tasks, "w"); in write_pid_to_tasks()
444 char tasks[1024]; in write_bm_pid_to_resctrl() local
456 sprintf(tasks, "%s/tasks", controlgroup); in write_bm_pid_to_resctrl()
457 ret = write_pid_to_tasks(tasks, bm_pid); in write_bm_pid_to_resctrl()
471 sprintf(tasks, "%s/mon_groups/%s/tasks", in write_bm_pid_to_resctrl()
473 ret = write_pid_to_tasks(tasks, bm_pid); in write_bm_pid_to_resctrl()
DREADME37 process pids to tasks, start benchmark.
/tools/perf/
Dbuiltin-report.c827 struct task *tasks, *task; in tasks_print() local
841 tasks = malloc(sizeof(*tasks) * nr); in tasks_print()
842 if (!tasks) in tasks_print()
850 task = tasks + itask++; in tasks_print()
865 task = tasks + itask; in tasks_print()
873 free(tasks); in tasks_print()
886 free(tasks); in tasks_print()
Dbuiltin-sched.c185 struct task_desc **tasks; member
481 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid()
482 BUG_ON(!sched->tasks); in register_pid()
483 sched->tasks[task->nr] = task; in register_pid()
498 task = sched->tasks[i]; in print_task_traces()
510 task1 = sched->tasks[i]; in add_cross_task_wakeups()
514 task2 = sched->tasks[j]; in add_cross_task_wakeups()
682 parms->task = task = sched->tasks[i]; in create_tasks()
705 task = sched->tasks[i]; in wait_for_tasks()
718 task = sched->tasks[i]; in wait_for_tasks()
[all …]
Ddesign.txt200 events on descendant tasks as well as the task specified. This only
246 pid < 0: all tasks are counted (per cpu counters)
258 their own tasks.
/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
/tools/bpf/bpftool/Documentation/
Dbpftool-iter.rst30 particular kernel data (e.g., tasks, bpf_maps, etc.)
/tools/testing/selftests/bpf/
Dtest_maps.c649 static void test_sockmap(unsigned int tasks, void *data) in test_sockmap() argument
662 pid_t pid[tasks]; in test_sockmap()
1068 for (i = 0; i < tasks; i++) { in test_sockmap()
1086 for (i = 0; i < tasks; i++) { in test_sockmap()
1270 static void __run_parallel(unsigned int tasks, in __run_parallel() argument
1274 pid_t pid[tasks]; in __run_parallel()
1279 for (i = 0; i < tasks; i++) { in __run_parallel()
1290 for (i = 0; i < tasks; i++) { in __run_parallel()
/tools/perf/util/
Dsynthetic-events.c655 DIR *tasks; in __event__synthesize_thread() local
690 tasks = opendir(filename); in __event__synthesize_thread()
691 if (tasks == NULL) { in __event__synthesize_thread()
696 while ((dirent = readdir(tasks)) != NULL) { in __event__synthesize_thread()
733 closedir(tasks); in __event__synthesize_thread()
/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh46 echo $$ >$cgroup_path/tasks

12