summaryrefslogtreecommitdiff
path: root/include/uapi/linux/bpf_perf_event.h
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@fb.com>2016-08-11 18:17:18 -0700
committerMichael Bestas <mkbestas@lineageos.org>2022-04-19 00:50:36 +0300
commit80f736af8bd0f6aaa535b806aae24a831177ccdd (patch)
tree9fee51352595e05353b994fb85f68a4ca48ddeca /include/uapi/linux/bpf_perf_event.h
parenteee2aa696486ff1113698a3f808177ba000a6528 (diff)
bpf: allow bpf_get_prandom_u32() to be used in tracing
bpf_get_prandom_u32() was initially introduced for socket filters and later requested numberous times to be added to tracing bpf programs for the same reason as in socket filters: to be able to randomly select incoming events. Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'include/uapi/linux/bpf_perf_event.h')
0 files changed, 0 insertions, 0 deletions