xref: /linux/kernel/trace/rv/monitors/opid/opid_kunit.h (revision 67f8bc848ee31831336bd478e57d2f993551902e)
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 __OPID_KUNIT_H
9 #define __OPID_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_opid_ops {
17 	struct rv_kunit_mon mon;
18 	void (*handle_sched_need_resched)(void *data, struct task_struct *tsk, int cpu, int tif);
19 	void (*handle_sched_waking)(void *data, struct task_struct *p);
20 } rv_opid_ops;
21 #endif
22 
23 #endif /* __OPID_KUNIT_H */
24