You forgot to state why you want it?
In generall the only case that should happen anytime commonly is mask,
the others only for obscure uncommon paths.
However there is already accounting for it in /proc/interrupts
that can be easily sampled. Does adding additional tracing really give
any value?
-Andi
--
ak@linux.intel.com -- Speaking for myself only.
--