| /tools/testing/selftests/bpf/progs/ |
| D | task_kfunc_failure.c | 19 static struct __tasks_kfunc_map_value *insert_lookup_task(struct task_struct *task) in insert_lookup_task() 32 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() 53 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG() 69 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG() 84 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 104 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() 119 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() 133 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG() 153 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() 166 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
| D | task_kfunc_success.c | 39 static int test_acquire_release(struct task_struct *task) in test_acquire_release() 67 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG() 97 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG() 111 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG() 120 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG() 129 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG() 144 int BPF_PROG(test_task_xchg_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 228 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 266 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 299 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
| D | rcu_read_lock.c | 32 struct task_struct *task; in get_cgroup_id() local 53 struct task_struct *task, *real_parent; in task_succ() local 82 struct task_struct *task, *real_parent; in no_lock() local 94 struct task_struct *task, *real_parent; in two_regions() local 113 struct task_struct *task, *real_parent; in non_sleepable_1() local 129 struct task_struct *task, *real_parent; in non_sleepable_2() local 148 struct task_struct *task, *real_parent, *gparent; in task_acquire() local 176 struct task_struct *task; in miss_lock() local 190 struct task_struct *task; in miss_unlock() local 202 struct task_struct *task, *real_parent; in non_sleepable_rcu_mismatch() local [all …]
|
| D | cpumask_failure.c | 36 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() 111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() 121 int BPF_PROG(test_global_mask_out_of_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 155 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() 183 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG() 208 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG()
|
| D | cpumask_success.c | 139 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 155 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 184 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 213 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 252 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG() 284 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG() 316 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG() 363 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG() 405 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG() 459 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG() [all …]
|
| D | find_vma.c | 23 static long check_vma(struct task_struct *task, struct vm_area_struct *vma, in check_vma() 40 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local 56 struct task_struct *task = bpf_get_current_task_btf(); in handle_pe() local
|
| D | cgrp_ls_sleepable.c | 60 struct task_struct *task; in cgrp1_no_rcu_lock() local 80 struct task_struct *task; in no_rcu_lock() local 94 struct task_struct *task; in yes_rcu_lock() local
|
| D | iters_css_task.c | 27 struct task_struct *task; in BPF_PROG() local 61 struct task_struct *task; in cgroup_id_printer() local 91 struct task_struct *task; in BPF_PROG() local
|
| D | percpu_alloc_cgrp_local_storage.c | 25 struct task_struct *task; in BPF_PROG() local 50 struct task_struct *task; in BPF_PROG() local 79 struct task_struct *task; in BPF_PROG() local
|
| D | find_vma_fail2.c | 12 static long write_task(struct task_struct *task, struct vm_area_struct *vma, in write_task() 24 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local
|
| D | find_vma_fail1.c | 13 static long write_vma(struct task_struct *task, struct vm_area_struct *vma, in write_vma() 25 struct task_struct *task = bpf_get_current_task_btf(); in handle_getpid() local
|
| D | nested_trust_success.c | 22 int BPF_PROG(test_read_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() 38 int BPF_PROG(test_nested_offset, struct task_struct *task, u64 clone_flags) in BPF_PROG()
|
| D | bpf_iter_task_stack.c | 16 struct task_struct *task = ctx->task; in dump_task_stack() local 44 struct task_struct *task = ctx->task; in get_task_user_stacks() local
|
| D | task_ls_recursion.c | 33 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local 73 struct task_struct *task; in BPF_PROG() local
|
| D | test_task_under_cgroup.c | 21 int BPF_PROG(tp_btf_run, struct task_struct *task, u64 clone_flags) in BPF_PROG() 55 struct task_struct *task; in BPF_PROG() local
|
| D | task_local_storage.c | 27 struct task_struct *task; in BPF_PROG() local 48 struct task_struct *task; in BPF_PROG() local
|
| D | bpf_iter_tasks.c | 17 struct task_struct *task = ctx->task; in dump_task() local 44 struct task_struct *task = ctx->task; in dump_task_sleepable() local
|
| D | profiler.inc.h | 178 static INLINE void populate_ancestors(struct task_struct* task, in populate_ancestors() 250 struct task_struct* task, in populate_cgroup_info() 331 struct task_struct* task, in populate_var_metadata() 360 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in get_var_kill_data() local 561 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local 626 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exit() local 698 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in raw_tracepoint__sched_process_exec() local 787 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in kprobe_ret__do_filp_open() local 840 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local 895 struct task_struct* task = (struct task_struct*)bpf_get_current_task(); in BPF_KPROBE() local
|
| D | cgrp_ls_recursion.c | 46 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local 79 struct task_struct *task = bpf_get_current_task_btf(); in BPF_PROG() local
|
| D | cgrp_ls_tp_btf.c | 69 struct task_struct *task; in BPF_PROG() local 107 struct task_struct *task; in BPF_PROG() local
|
| D | verifier_vfs_reject.c | 35 struct task_struct *task; in BPF_PROG() local 101 int BPF_PROG(path_d_path_kfunc_untrusted_from_argument, struct task_struct *task) in BPF_PROG()
|
| /tools/perf/util/bpf_skel/ |
| D | kwork_top.bpf.c | 105 static __always_inline void update_task_info(struct task_struct *task, __u32 cpu) in update_task_info() 139 static void on_sched_out(struct task_struct *task, __u64 ts, __u32 cpu) in on_sched_out() 160 static void on_sched_in(struct task_struct *task, __u64 ts) in on_sched_in() 197 struct task_struct *task; in on_irq_handler_entry() local 232 struct task_struct *task; in on_irq_handler_exit() local 269 struct task_struct *task; in on_softirq_entry() local 304 struct task_struct *task; in on_softirq_exit() local
|
| D | lock_contention.bpf.c | 150 struct task_struct *task; in get_current_cgroup_id() local 221 static inline int update_task_data(struct task_struct *task) in update_task_data() 248 struct task_struct *task; in get_lock_owner() local 382 struct task_struct *task; in contention_begin() local
|
| /tools/testing/selftests/bpf/ |
| D | test_maps.c | 37 static void test_hashmap(unsigned int task, void *data) in test_hashmap() 133 static void test_hashmap_sizes(unsigned int task, void *data) in test_hashmap_sizes() 152 static void test_hashmap_percpu(unsigned int task, void *data) in test_hashmap_percpu() 290 static void test_hashmap_walk(unsigned int task, void *data) in test_hashmap_walk() 361 static void test_arraymap(unsigned int task, void *data) in test_arraymap() 415 static void test_arraymap_percpu(unsigned int task, void *data) in test_arraymap_percpu() 511 static void test_devmap(unsigned int task, void *data) in test_devmap() 525 static void test_devmap_hash(unsigned int task, void *data) in test_devmap_hash() 539 static void test_queuemap(unsigned int task, void *data) in test_queuemap() 595 static void test_stackmap(unsigned int task, void *data) in test_stackmap() [all …]
|
| /tools/perf/scripts/python/ |
| D | task-analyzer.py | 256 def feed(self, task): argument 637 def _print_task_finish(task): argument 700 def _record_by_tid(task): argument 708 def _record_by_cpu(task): argument 716 def _record_global(task): argument
|