diff options
author | Willy Tarreau <[email protected]> | 2020-10-24 18:36:27 +0200 |
---|---|---|
committer | Willy Tarreau <[email protected]> | 2020-10-24 20:21:57 +0200 |
commit | c6e169bc146a76d5ccbf4d3825f705414352bd03 (patch) | |
tree | 9974f18c3bbc38837e4dd0517bea1f3ae712e05a /tools/perf/util/trace-event-scripting.c | |
parent | 3744741adab6d9195551ce30e65e726c7a408421 (diff) |
random32: add a selftest for the prandom32 code
Given that this code is new, let's add a selftest for it as well.
It doesn't rely on fixed sets, instead it picks 1024 numbers and
verifies that they're not more correlated than desired.
Link: https://lore.kernel.org/netdev/[email protected]/
Cc: George Spelvin <[email protected]>
Cc: Amit Klein <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "Jason A. Donenfeld" <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Cc: Florian Westphal <[email protected]>
Cc: Marc Plumb <[email protected]>
Signed-off-by: Willy Tarreau <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions