36 lines
1.1 KiB
C
36 lines
1.1 KiB
C
/* 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 __NOMISS_KUNIT_H
|
|
#define __NOMISS_KUNIT_H
|
|
|
|
#if IS_ENABLED(CONFIG_RV_MONITORS_KUNIT_TEST)
|
|
|
|
#include <linux/rv.h>
|
|
#include <rv/kunit.h>
|
|
|
|
extern const struct rv_nomiss_ops {
|
|
struct rv_kunit_mon mon;
|
|
const u64 *deadline_thresh;
|
|
void (*handle_dl_replenish)(void *data, struct sched_dl_entity *dl_se,
|
|
int cpu, u8 type);
|
|
void (*handle_dl_throttle)(void *data, struct sched_dl_entity *dl_se,
|
|
int cpu, u8 type);
|
|
void (*handle_dl_server_stop)(void *data, struct sched_dl_entity *dl_se,
|
|
int cpu, u8 type);
|
|
void (*handle_sched_switch)(void *data, bool preempt,
|
|
struct task_struct *prev,
|
|
struct task_struct *next,
|
|
unsigned int prev_state);
|
|
void (*handle_sched_wakeup)(void *data, struct task_struct *tsk);
|
|
void (*handle_sys_enter)(void *data, struct pt_regs *regs, long id);
|
|
void (*handle_newtask)(void *data, struct task_struct *task, u64 flags);
|
|
} rv_nomiss_ops;
|
|
#endif
|
|
|
|
#endif /* __NOMISS_KUNIT_H */
|