Messages in this thread Patch in this message | | | From | Yann Droneaud <> | Date | Thu, 21 May 2020 15:46:25 +0200 | Subject | [PATCH 1/4] random/trace: remove unused trace_random_read() |
| |
Since commit 30c08efec888 ('random: make /dev/random be almost like /dev/urandom'), trace_random_read() is unused.
Cc: Andy Lutomirski <luto@kernel.org> Cc: Theodore Ts'o <tytso@mit.edu> Signed-off-by: Yann Droneaud <ydroneaud@opteya.com> --- include/trace/events/random.h | 25 ------------------------- 1 file changed, 25 deletions(-)
diff --git a/include/trace/events/random.h b/include/trace/events/random.h index 32c10a515e2d..087ae7e8ae13 100644 --- a/include/trace/events/random.h +++ b/include/trace/events/random.h @@ -260,31 +260,6 @@ DEFINE_EVENT(random__extract_entropy, extract_entropy_user, TP_ARGS(pool_name, nbytes, entropy_count, IP) ); -TRACE_EVENT(random_read, - TP_PROTO(int got_bits, int need_bits, int pool_left, int input_left), - - TP_ARGS(got_bits, need_bits, pool_left, input_left), - - TP_STRUCT__entry( - __field( int, got_bits ) - __field( int, need_bits ) - __field( int, pool_left ) - __field( int, input_left ) - ), - - TP_fast_assign( - __entry->got_bits = got_bits; - __entry->need_bits = need_bits; - __entry->pool_left = pool_left; - __entry->input_left = input_left; - ), - - TP_printk("got_bits %d still_needed_bits %d " - "blocking_pool_entropy_left %d input_entropy_left %d", - __entry->got_bits, __entry->got_bits, __entry->pool_left, - __entry->input_left) -); - TRACE_EVENT(urandom_read, TP_PROTO(int got_bits, int pool_left, int input_left), -- 2.25.4
| |