summaryrefslogtreecommitdiff
path: root/kernel/trace/rv/monitors/opid/opid_kunit.h
blob: 4969c61759577f8e5e0c31e87415b290c1192d36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 * Automatically generated by rvgen kunit.
 * May need manual intervention for function prototypes that couldn't be
 * found (e.g. are in another file) or variables to be exported.
 */

#ifndef __OPID_KUNIT_H
#define __OPID_KUNIT_H

#if IS_ENABLED(CONFIG_RV_MONITORS_KUNIT_TEST)

#include <linux/rv.h>
#include <rv/kunit.h>

extern const struct rv_opid_ops {
	struct rv_kunit_mon mon;
	void (*handle_sched_need_resched)(void *data, struct task_struct *tsk, int cpu, int tif);
	void (*handle_sched_waking)(void *data, struct task_struct *p);
} rv_opid_ops;
#endif

#endif /* __OPID_KUNIT_H */