Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dbpf_off_cpu.c79 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_start()
196 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
201 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare()
204 bpf_map__set_max_entries(skel->maps.task_filter, MAX_PROC); in off_cpu_prepare()
249 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
267 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
H A Dbpf_ftrace.c69 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in perf_ftrace__latency_prepare_bpf()
99 fd = bpf_map__fd(skel->maps.task_filter); in perf_ftrace__latency_prepare_bpf()
H A Dbpf_lock_contention.c292 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare()
339 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
351 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c95 } task_filter SEC(".maps");
198 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
339 if (!bpf_map_lookup_elem(&task_filter, &pid)) in on_newtask()
347 bpf_map_update_elem(&task_filter, &pid, &val, BPF_NOEXIST); in on_newtask()
H A Dfunc_latency.bpf.c29 } task_filter SEC(".maps");
70 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
H A Dlock_contention.bpf.c118 } task_filter SEC(".maps");
255 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
/linux/tools/testing/fault-injection/
H A Dfailcmd.sh136 declare task_filter=Y
163 task_filter=$2
225 echo $task_filter > $FAULTATTR/task-filter
/linux/include/linux/
H A Dfault-inject.h31 bool task_filter; member