/proc work
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "monitor_kallsyms.h"
|
||||
#include "monitor_mem.h"
|
||||
#include "monitor_proc.h"
|
||||
#include "monitor_timer.h"
|
||||
#include "monitor_trace.h"
|
||||
|
||||
@@ -7,15 +8,20 @@
|
||||
#define IOCTL_WATCH_VARIABLE 0
|
||||
#define IOCTL_DUMP_LOG 1
|
||||
|
||||
// default value
|
||||
extern int def_interval_ns;
|
||||
extern int dump_reset_sec;
|
||||
|
||||
extern mm_tree mm_tree_struct;
|
||||
extern struct diag_variant_buffer load_monitor_variant_buffer; // global buffer
|
||||
|
||||
int monitor_init(void); // monitor init
|
||||
int monitor_init(void); // monitor init
|
||||
void monitor_exit(void); // monitor exit
|
||||
|
||||
int start_watch_variable(watch_arg warg); // for open
|
||||
void clear_watch(pid_t pid); // for release
|
||||
void clear_watch(pid_t pid); // for release
|
||||
|
||||
enum hrtimer_restart check_variable_cb(struct hrtimer *timer); // hrtimer callback
|
||||
enum hrtimer_restart
|
||||
check_variable_cb(struct hrtimer *timer); // hrtimer callback
|
||||
|
||||
int diag_test(int nid); // for test
|
||||
int diag_test(int nid); // for test
|
||||
Reference in New Issue
Block a user