Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/util/
Dbpf_off_cpu.c84 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_start()
172 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
175 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
177 bpf_map__set_max_entries(skel->maps.task_filter, MAX_PROC); in off_cpu_prepare()
222 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
241 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
Dbpf_lock_contention.c49 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare()
74 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
87 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
Dbpf_ftrace.c47 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf()
76 fd = bpf_map__fd(skel->maps.task_filter); in perf_ftrace__latency_prepare_bpf()
/Linux-v6.1/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c68 } task_filter SEC(".maps");
168 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
250 if (!bpf_map_lookup_elem(&task_filter, &pid)) in on_newtask()
258 bpf_map_update_elem(&task_filter, &pid, &val, BPF_NOEXIST); in on_newtask()
Dfunc_latency.bpf.c29 } task_filter SEC(".maps");
67 ok = bpf_map_lookup_elem(&task_filter, &pid); in BPF_PROG()
Dlock_contention.bpf.c69 } task_filter SEC(".maps");
95 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
/Linux-v6.1/tools/testing/fault-injection/
Dfailcmd.sh128 declare task_filter=Y
155 task_filter=$2
213 echo $task_filter > $FAULTATTR/task-filter
/Linux-v6.1/lib/
Dfault-inject.c122 if (attr->task_filter && !fail_task(attr, current)) in should_fail_ex()
224 debugfs_create_bool("task-filter", mode, dir, &attr->task_filter); in fault_create_debugfs_attr()
/Linux-v6.1/include/linux/
Dfault-inject.h22 bool task_filter; member