]> git.karo-electronics.de Git - karo-tx-linux.git/commit
torture: Trace long read-side delays
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 11 Oct 2016 01:26:04 +0000 (18:26 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 14 Nov 2016 18:46:30 +0000 (10:46 -0800)
commitd0af39e89ec59fe7c92c4bcbc2d652ea4c0ee644
treed254d9f921fd2f4f4f7c537ff9b9a4858d2ab596
parentf2151a0a3436edbed454f48f9f94321eb70e3d2b
torture: Trace long read-side delays

Although rcutorture will occasionally do a 50-millisecond grace-period
delay, these delays are quite rare.  And rightly so, because otherwise
the read rate would be quite low.  Thie means that it can be important
to identify whether or not a given run contained a long-delay read.
This commit therefore inserts a trace_rcu_torture_read() event to flag
runs containing long delays.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/trace/events/rcu.h
kernel/rcu/rcutorture.c