Home
last modified time | relevance | path

Searched refs:task_filter (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/tools/perf/util/
H A Dbpf_off_cpu.c82 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_start()
179 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
184 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
187 bpf_map__set_max_entries(skel->maps.task_filter, MAX_PROC); in off_cpu_prepare()
232 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
250 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
H A Dbpf_ftrace.c56 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf()
86 fd = bpf_map__fd(skel->maps.task_filter); in perf_ftrace__latency_prepare_bpf()
H A Dbpf_lock_contention.c197 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare()
242 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
254 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
/linux-6.15/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c68 } task_filter SEC(".maps");
169 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
251 if (!bpf_map_lookup_elem(&task_filter, &pid)) in on_newtask()
259 bpf_map_update_elem(&task_filter, &pid, &val, BPF_NOEXIST); in on_newtask()
H A Dfunc_latency.bpf.c29 } task_filter SEC(".maps");
78 ok = bpf_map_lookup_elem(&task_filter, &pid); in BPF_PROG()
H A Dlock_contention.bpf.c112 } task_filter SEC(".maps");
241 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
/linux-6.15/tools/testing/fault-injection/
H A Dfailcmd.sh136 declare task_filter=Y
163 task_filter=$2
225 echo $task_filter > $FAULTATTR/task-filter
/linux-6.15/lib/
H A Dfault-inject.c149 if (attr->task_filter && !fail_task(attr, current)) in should_fail_ex()
253 debugfs_create_bool("task-filter", mode, dir, &attr->task_filter); in fault_create_debugfs_attr()
385 FAULT_CONFIGFS_ATTR_NAMED(task_filter, "task-filter", task_filter, bool);
/linux-6.15/include/linux/
H A Dfault-inject.h27 bool task_filter; member