timer.h (c95baf12f5077419db01313ab61c2aac007d40cd) timer.h (f2cc020d7876de7583feb52ec939a32419cf9468)
1/* SPDX-License-Identifier: GPL-2.0 */
2#undef TRACE_SYSTEM
3#define TRACE_SYSTEM timer
4
5#if !defined(_TRACE_TIMER_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_TIMER_H
7
8#include <linux/tracepoint.h>

--- 105 unchanged lines hidden (view full) ---

114
115/**
116 * timer_expire_exit - called immediately after the timer callback returns
117 * @timer: pointer to struct timer_list
118 *
119 * When used in combination with the timer_expire_entry tracepoint we can
120 * determine the runtime of the timer callback function.
121 *
1/* SPDX-License-Identifier: GPL-2.0 */
2#undef TRACE_SYSTEM
3#define TRACE_SYSTEM timer
4
5#if !defined(_TRACE_TIMER_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_TIMER_H
7
8#include <linux/tracepoint.h>

--- 105 unchanged lines hidden (view full) ---

114
115/**
116 * timer_expire_exit - called immediately after the timer callback returns
117 * @timer: pointer to struct timer_list
118 *
119 * When used in combination with the timer_expire_entry tracepoint we can
120 * determine the runtime of the timer callback function.
121 *
122 * NOTE: Do NOT derefernce timer in TP_fast_assign. The pointer might
122 * NOTE: Do NOT dereference timer in TP_fast_assign. The pointer might
123 * be invalid. We solely track the pointer.
124 */
125DEFINE_EVENT(timer_class, timer_expire_exit,
126
127 TP_PROTO(struct timer_list *timer),
128
129 TP_ARGS(timer)
130);

--- 292 unchanged lines hidden ---
123 * be invalid. We solely track the pointer.
124 */
125DEFINE_EVENT(timer_class, timer_expire_exit,
126
127 TP_PROTO(struct timer_list *timer),
128
129 TP_ARGS(timer)
130);

--- 292 unchanged lines hidden ---