blob: fbc0082b2d21d31d355473a1fdde089f2d2d54de (
plain) (
tree)
|
|
#include <litmus/sched_plugin.h>
#include <linux/proc_fs.h>
int __init init_litmus_proc(void);
void exit_litmus_proc(void);
/*
* On success, returns 0 and sets the pointer to the location of the new
* proc dir entry, otherwise returns an error code and sets pde to NULL.
*/
long make_plugin_proc_dir(struct sched_plugin* plugin,
struct proc_dir_entry** pde);
/*
* Plugins should deallocate all child proc directory entries before
* calling this, to avoid memory leaks.
*/
void remove_plugin_proc_dir(struct sched_plugin* plugin);
|