xref: /linux/tools/verification/rvgen/tests/golden/ha_percpu/ha_percpu_trace.h (revision 55ee4b931a7ffedc886175d265dd6e6d08fd4151)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 
3 /*
4  * Snippet to be included in rv_trace.h
5  */
6 
7 #ifdef CONFIG_RV_MON_HA_PERCPU
8 DEFINE_EVENT(event_da_monitor, event_ha_percpu,
9 	     TP_PROTO(char *state, char *event, char *next_state, bool final_state),
10 	     TP_ARGS(state, event, next_state, final_state));
11 
12 DEFINE_EVENT(error_da_monitor, error_ha_percpu,
13 	     TP_PROTO(char *state, char *event),
14 	     TP_ARGS(state, event));
15 
16 DEFINE_EVENT(error_env_da_monitor, error_env_ha_percpu,
17 	     TP_PROTO(char *state, char *event, char *env),
18 	     TP_ARGS(state, event, env));
19 #endif /* CONFIG_RV_MON_HA_PERCPU */
20