from src/modules/driver/storage.c
to src/modules/driver/probes_manager.c
#include "module.h"
#include "probes_manager.h"
+/* list of selected non-predefined kernel probes */
+static HLIST_HEAD(kernel_probes);
+
int
probes_manager_init (void)
{
char *deps;
char *bundle;
unsigned int inst_pid = 0;
-struct hlist_head kernel_probes;
int event_mask = 0L;
struct cond cond_list;
int paused = 0; /* a state after a stop condition (events are not collected) */
return -1;
}
- INIT_HLIST_HEAD(&kernel_probes);
-
spin_lock_init(&dbi_mh.lock);
INIT_LIST_HEAD(&dbi_mh.modules_handlers);
return 0;
// internal bookkeeping of storage
extern char *p_buffer;
-// list of selected non-predefined kernel probes
-extern struct hlist_head kernel_probes;
-
// multiple handlers stuff
/*struct dbi_modules_handlers {
struct list_head modules_handlers;