summaryrefslogtreecommitdiff
path: root/source/module/monitor_kernel.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/module/monitor_kernel.h')
-rw-r--r--source/module/monitor_kernel.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/module/monitor_kernel.h b/source/module/monitor_kernel.h
index a7c6aa5..759d1ad 100644
--- a/source/module/monitor_kernel.h
+++ b/source/module/monitor_kernel.h
@@ -12,6 +12,7 @@
#define IOCTL_DUMP_LOG 1
#define IOCTL_PID _IOWR(IOCTL_MAGIC_NUMBER, 2, int)
#define IOCTL_TGID _IOWR(IOCTL_MAGIC_NUMBER, 3, int)
+#define IOCTL_DUMP_LOG_SA _IOWR(IOCTL_MAGIC_NUMBER, 4, int)
// default value
extern int def_interval_ns;
@@ -19,7 +20,9 @@ extern int dump_reset_sec;
extern mm_tree mm_tree_struct;
extern struct diag_variant_buffer load_monitor_variant_buffer; // global buffer
-#define VARIABLE_MONITOR_BUFFER_SIZE 256 * 1024 * 1024 // 256MB
+#define VARIABLE_MONITOR_BUFFER_SIZE 256 * 1024 * 1024 // 256MB
+extern struct diag_variant_buffer stand_alone_buffer; // buffer for single work
+#define STAND_ALONE_BUFFER_SIZE 50 * 1024 * 1024 // 50 MB
int monitor_init(void); // monitor init
void monitor_exit(void); // monitor exit
@@ -30,5 +33,5 @@ void clear_watch(pid_t pid); // for release
enum hrtimer_restart
check_variable_cb(struct hrtimer *timer); // hrtimer callback
-int diag_pid(int id); // for test
+int diag_pid(int id); // for test
int diag_tgid(int id); // for test \ No newline at end of file