diff options
Diffstat (limited to 'include/trace/rcu.h')
-rw-r--r-- | include/trace/rcu.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/trace/rcu.h b/include/trace/rcu.h new file mode 100644 index 00000000000..f551c2ca9a0 --- /dev/null +++ b/include/trace/rcu.h @@ -0,0 +1,43 @@ +#ifndef _TRACE_RCU_H +#define _TRACE_RCU_H + +#include <linux/tracepoint.h> +#include <linux/rcupdate.h> + +DECLARE_TRACE(rcu_classic_callback, + TP_PROTO(struct rcu_head *head), + TP_ARGS(head)); + +DECLARE_TRACE(rcu_classic_call_rcu, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +DECLARE_TRACE(rcu_classic_call_rcu_bh, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +DECLARE_TRACE(rcu_preempt_callback, + TP_PROTO(struct rcu_head *head), + TP_ARGS(head)); + +DECLARE_TRACE(rcu_preempt_call_rcu, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +DECLARE_TRACE(rcu_preempt_call_rcu_sched, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +DECLARE_TRACE(rcu_tree_callback, + TP_PROTO(struct rcu_head *head), + TP_ARGS(head)); + +DECLARE_TRACE(rcu_tree_call_rcu, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +DECLARE_TRACE(rcu_tree_call_rcu_bh, + TP_PROTO(struct rcu_head *head, unsigned long ip), + TP_ARGS(head, ip)); + +#endif |