commit | 8937bd80fce64a25be23c7790459d93f7b1e9b79 | [log] [tgz] |
---|---|---|
author | Alexei Starovoitov <ast@fb.com> | Thu Aug 11 18:17:18 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Aug 12 21:57:05 2016 -0700 |
tree | 62cfc0819d3d6407636c8fc1e4d00a43081e24c3 | |
parent | 1633ac0a2e774a9af339b9290ef33cd97a918c54 [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>