Home
last modified time | relevance | path

Searched refs:task (Results 1 – 25 of 43) sorted by relevance

12

/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_kernel.c23 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()
Dstrobemeta.h443 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()
Dpyperf.h181 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/
Dfailcmd.sh34 --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/
Dbuiltin-report.c700 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 …]
Dbuiltin-sched.c355 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 …]
Ddesign.txt13 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/
Ddisable-tsc-on-off-stress-test.c60 static void task(void) in task() function
90 task(); in main()
/tools/perf/Documentation/
Dperf-sched.txt20 '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.
Dperf-inject.txt41 tasks slept. sched_switch contains a callchain where a task slept and
42 sched_stat contains a timeslice how long a task slept.
Dperf-timechart.txt19 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/
Dlibtraceevent-event_print.txt40 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/
Dtest-record-group20 task=0
Dtest-record-group121 task=0
Dbase-record26 task=1
Dbase-stat26 task=0
Dtest-record-group-sampling26 task=0
/tools/perf/python/
Dtwatch.py16 task = 1, comm = 1, mmap = 0, freq = 0,
/tools/testing/selftests/bpf/
Dtest_maps.c37 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/
Dtask-exit.c93 evsel->core.attr.task = 1; in test__task_exit()
Dattr.c119 WRITE_ASS(task, "d"); in store_event()
/tools/testing/ktest/examples/
DREADME3 is broken up by task which makes it easier to understand how to set up
/tools/thermal/tmon/
DREADME17 matrix by hand is not a trivial task. Testing is also difficult in that
/tools/perf/scripts/python/
Dsched-migration.py129 next_tasks = [task for task in self.tasks if task != old]
/tools/perf/util/
Dperf_event_attr_fprintf.c116 PRINT_ATTRf(task, p_unsigned); in perf_event_attr__fprintf()

12