Searched refs:task_filter (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/perf/util/ |
H A D | bpf_off_cpu.c | 84 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_start() 173 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 176 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in off_cpu_prepare() 178 bpf_map__set_max_entries(skel->maps.task_filter, MAX_PROC); in off_cpu_prepare() 223 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare() 242 fd = bpf_map__fd(skel->maps.task_filter); in off_cpu_prepare()
|
H A D | bpf_ftrace.c | 47 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()
|
H A D | bpf_lock_contention.c | 84 bpf_map__set_max_entries(skel->maps.task_filter, ntasks); in lock_contention_prepare() 111 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare() 124 fd = bpf_map__fd(skel->maps.task_filter); in lock_contention_prepare()
|
/openbmc/linux/tools/perf/util/bpf_skel/ |
H A D | off_cpu.bpf.c | 68 } 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()
|
H A D | func_latency.bpf.c | 29 } task_filter SEC(".maps"); 67 ok = bpf_map_lookup_elem(&task_filter, &pid); in BPF_PROG()
|
H A D | lock_contention.bpf.c | 79 } task_filter SEC(".maps"); 148 ok = bpf_map_lookup_elem(&task_filter, &pid); in can_record()
|
/openbmc/linux/tools/testing/fault-injection/ |
H A D | failcmd.sh | 128 declare task_filter=Y 155 task_filter=$2 213 echo $task_filter > $FAULTATTR/task-filter
|
/openbmc/linux/lib/ |
H A D | fault-inject.c | 128 if (attr->task_filter && !fail_task(attr, current)) in should_fail_ex() 230 debugfs_create_bool("task-filter", mode, dir, &attr->task_filter); in fault_create_debugfs_attr() 362 FAULT_CONFIGFS_ATTR_NAMED(task_filter, "task-filter", task_filter, bool);
|
/openbmc/linux/include/linux/ |
H A D | fault-inject.h | 23 bool task_filter; member
|