/tools/testing/selftests/bpf/progs/ |
D | test_core_reloc_kernel.c | 23 struct task_struct *task = (void *)bpf_get_current_task(); in test_core_kernel() local 27 if (BPF_CORE_READ(&pid, &task->pid) || in test_core_kernel() 28 BPF_CORE_READ(&tgid, &task->tgid)) in test_core_kernel()
|
D | strobemeta.h | 443 static __always_inline void *read_strobe_meta(struct task_struct *task, in read_strobe_meta() argument 462 tls_base = (void *)task; in read_strobe_meta() 499 struct task_struct *task; in on_event() local 513 task = (struct task_struct *)bpf_get_current_task(); in on_event() 514 sample_end = read_strobe_meta(task, &sample->metadata); in on_event()
|
D | pyperf.h | 181 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in __on_event() local 182 void* tls_base = (void*)task; in __on_event()
|
/tools/testing/fault-injection/ |
D | failcmd.sh | 34 --oom-kill-allocating-task=value 42 --interval=value, --space=value, --verbose=value, --task-filter=value, 87 LONGOPTS=probability:,interval:,times:,space:,verbose:,task-filter: 89 LONGOPTS=$LONGOPTS,reject-start:,reject-end:,oom-kill-allocating-task:,help 108 echo N > $FAULTATTR/task-filter 154 --task-filter) 178 --oom-kill-allocating-task) 213 echo $task_filter > $FAULTATTR/task-filter
|
/tools/perf/ |
D | builtin-report.c | 700 struct task { struct 706 static struct task *tasks_list(struct task *task, struct machine *machine) in tasks_list() argument 708 struct thread *parent_thread, *thread = task->thread; in tasks_list() 709 struct task *parent_task; in tasks_list() 712 if (!list_empty(&task->list)) in tasks_list() 717 return task; in tasks_list() 724 list_add_tail(&task->list, &parent_task->children); in tasks_list() 754 static void task__print_level(struct task *task, FILE *fp, int level) in task__print_level() argument 756 struct thread *thread = task->thread; in task__print_level() 757 struct task *child; in task__print_level() [all …]
|
D | builtin-sched.c | 355 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event() argument 358 unsigned long idx = task->nr_events; in get_new_event() 364 task->nr_events++; in get_new_event() 365 size = sizeof(struct sched_atom *) * task->nr_events; in get_new_event() 366 task->atoms = realloc(task->atoms, size); in get_new_event() 367 BUG_ON(!task->atoms); in get_new_event() 369 task->atoms[idx] = event; in get_new_event() 374 static struct sched_atom *last_event(struct task_desc *task) in last_event() argument 376 if (!task->nr_events) in last_event() 379 return task->atoms[task->nr_events - 1]; in last_event() [all …]
|
D | design.txt | 13 hardware capabilities. It provides per task and per CPU counters, counter 200 events on descendant tasks as well as the task specified. This only 238 counter to be specific to a task: 241 current task. 243 pid > 0: the counter is attached to a specific task (if the current task 255 A 'pid > 0' and 'cpu == -1' counter is a per task counter that counts 256 events of that task and 'follows' that task to whatever CPU the task 257 gets schedule to. Per task counters can be created by any user, for
|
/tools/testing/selftests/prctl/ |
D | disable-tsc-on-off-stress-test.c | 60 static void task(void) in task() function 90 task(); in main()
|
/tools/perf/Documentation/ |
D | perf-sched.txt | 20 'perf sched latency' to report the per task scheduling latencies 46 time (time between sched-out and next sched-in events for the task), the 47 task scheduling delay (time between wakeup and actually running) and run 48 time for the task: 50 time cpu task name wait time sch delay run time 149 Show next task. 163 Show task state when it switched out.
|
D | perf-inject.txt | 41 tasks slept. sched_switch contains a callchain where a task slept and 42 sched_stat contains a timeslice how long a task slept.
|
D | perf-timechart.txt | 19 and CPU events (task switches, running times, CPU power states, etc), 60 Print task info for at least given number of tasks. 68 interpreted as task name.
|
/tools/lib/traceevent/Documentation/ |
D | libtraceevent-event_print.txt | 40 N : The task is set to call the scheduler when 41 possible, as another higher priority task 43 . : The task is not set to call the scheduler. 55 On preemptible kernels (where the task can be scheduled 58 from scheduling out the current task. The preempt count
|
/tools/perf/tests/attr/ |
D | test-record-group | 20 task=0
|
D | test-record-group1 | 21 task=0
|
D | base-record | 26 task=1
|
D | base-stat | 26 task=0
|
D | test-record-group-sampling | 26 task=0
|
/tools/perf/python/ |
D | twatch.py | 16 task = 1, comm = 1, mmap = 0, freq = 0,
|
/tools/testing/selftests/bpf/ |
D | test_maps.c | 37 static void test_hashmap(unsigned int task, void *data) in test_hashmap() argument 127 static void test_hashmap_sizes(unsigned int task, void *data) in test_hashmap_sizes() argument 147 static void test_hashmap_percpu(unsigned int task, void *data) in test_hashmap_percpu() argument 274 static void test_hashmap_walk(unsigned int task, void *data) in test_hashmap_walk() argument 345 static void test_arraymap(unsigned int task, void *data) in test_arraymap() argument 400 static void test_arraymap_percpu(unsigned int task, void *data) in test_arraymap_percpu() argument 496 static void test_devmap(unsigned int task, void *data) in test_devmap() argument 511 static void test_devmap_hash(unsigned int task, void *data) in test_devmap_hash() argument 526 static void test_queuemap(unsigned int task, void *data) in test_queuemap() argument 584 static void test_stackmap(unsigned int task, void *data) in test_stackmap() argument [all …]
|
/tools/perf/tests/ |
D | task-exit.c | 93 evsel->core.attr.task = 1; in test__task_exit()
|
D | attr.c | 119 WRITE_ASS(task, "d"); in store_event()
|
/tools/testing/ktest/examples/ |
D | README | 3 is broken up by task which makes it easier to understand how to set up
|
/tools/thermal/tmon/ |
D | README | 17 matrix by hand is not a trivial task. Testing is also difficult in that
|
/tools/perf/scripts/python/ |
D | sched-migration.py | 129 next_tasks = [task for task in self.tasks if task != old]
|
/tools/perf/util/ |
D | perf_event_attr_fprintf.c | 116 PRINT_ATTRf(task, p_unsigned); in perf_event_attr__fprintf()
|