xref: /linux/tools/verification/dot2/dot2k_templates/trace.h (revision 40648d246fa4307ef11d185933cb0d79fc9ff46c)
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_%%MODEL_NAME_UP%%
8 DEFINE_EVENT(event_%%MONITOR_CLASS%%, event_%%MODEL_NAME%%,
9 %%TRACEPOINT_ARGS_SKEL_EVENT%%);
10 
11 DEFINE_EVENT(error_%%MONITOR_CLASS%%, error_%%MODEL_NAME%%,
12 %%TRACEPOINT_ARGS_SKEL_ERROR%%);
13 #endif /* CONFIG_RV_MON_%%MODEL_NAME_UP%% */
14