|
@@ -437,6 +437,8 @@ static const struct bpf_func_proto *tracing_func_proto(enum bpf_func_id func_id)
|
|
return bpf_get_probe_write_proto();
|
|
return bpf_get_probe_write_proto();
|
|
case BPF_FUNC_current_task_under_cgroup:
|
|
case BPF_FUNC_current_task_under_cgroup:
|
|
return &bpf_current_task_under_cgroup_proto;
|
|
return &bpf_current_task_under_cgroup_proto;
|
|
|
|
+ case BPF_FUNC_get_prandom_u32:
|
|
|
|
+ return &bpf_get_prandom_u32_proto;
|
|
default:
|
|
default:
|
|
return NULL;
|
|
return NULL;
|
|
}
|
|
}
|