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_WWNR
8 /* id is the pid of the task */
9 DEFINE_EVENT(event_da_monitor_id, event_wwnr,
10 	     TP_PROTO(int id, char *state, char *event, char *next_state, bool final_state),
11 	     TP_ARGS(id, state, event, next_state, final_state));
12 
13 DEFINE_EVENT(error_da_monitor_id, error_wwnr,
14 	     TP_PROTO(int id, char *state, char *event),
15 	     TP_ARGS(id, state, event));
16 #endif /* CONFIG_RV_MON_WWNR */
17