Paul E. McKenney wrote: > --- /dev/null > +++ b/Documentation/RCU/trace.txt > @@ -0,0 +1,398 @@ > +CONFIG_RCU_TRACE debugfs Files and Formats > + > + > +The rcupreempt and rcutree implementations of RCU provide debugfs trace > +output that summarizes counters and state. This information is useful for > +debugging RCU itself, and can sometimes also help to debug abuses of RCU. > +Note that the rcuclassic implementation of RCU does not provide debugfs > +trace output. > + > What about some generic files, with the same content for all rcu backends? The implementation could be in rcupdate.c. At least counting the rcu callbacks could be done from generic code, the grace periods could be queried [Do all backends implement rcu_batches_completed?] Attached is a hack that I use right now for myself. Btw - on my 4-cpu system, the average latency from call_rcu() to the rcu callback is 4-5 milliseconds, (CONFIG_HZ_1000). -- Manfred