xref: /linux/kernel/trace/rv/monitors/sco/sco_kunit.h (revision 55ee4b931a7ffedc886175d265dd6e6d08fd4151)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  * Automatically generated by rvgen kunit.
4  * May need manual intervention for function prototypes that couldn't be
5  * found (e.g. are in another file) or variables to be exported.
6  */
7 
8 #ifndef __SCO_KUNIT_H
9 #define __SCO_KUNIT_H
10 
11 #if IS_ENABLED(CONFIG_RV_MONITORS_KUNIT_TEST)
12 
13 #include <linux/rv.h>
14 #include <rv/kunit.h>
15 
16 extern const struct rv_sco_ops {
17 	struct rv_kunit_mon mon;
18 	void (*handle_sched_set_state)(void *data, struct task_struct *tsk, int state);
19 	void (*handle_schedule_entry)(void *data, bool preempt);
20 	void (*handle_schedule_exit)(void *data, bool is_switch);
21 } rv_sco_ops;
22 #endif
23 
24 #endif /* __SCO_KUNIT_H */
25