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>
This commit is contained in:
parent
f2151a0a34
commit
d0af39e89e
2 changed files with 14 additions and 2 deletions
|
|
@ -698,7 +698,10 @@ TRACE_EVENT(rcu_batch_end,
|
|||
/*
|
||||
* Tracepoint for rcutorture readers. The first argument is the name
|
||||
* of the RCU flavor from rcutorture's viewpoint and the second argument
|
||||
* is the callback address.
|
||||
* is the callback address. The third argument is the start time in
|
||||
* seconds, and the last two arguments are the grace period numbers
|
||||
* at the beginning and end of the read, respectively. Note that the
|
||||
* callback address can be NULL.
|
||||
*/
|
||||
TRACE_EVENT(rcu_torture_read,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue