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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/module/monitor_kernel.h b/source/module/monitor_kernel.h
index f20665f..d2bbdc6 100644
--- a/source/module/monitor_kernel.h
+++ b/source/module/monitor_kernel.h
@@ -11,6 +11,7 @@
#define IOCTL_WATCH_VARIABLE 0
#define IOCTL_DUMP_LOG 1
#define IOCTL_PID _IOWR(IOCTL_MAGIC_NUMBER, 2, int)
+#define IOCTL_TGID _IOWR(IOCTL_MAGIC_NUMBER, 3, int)
// default value
extern int def_interval_ns;
@@ -28,4 +29,5 @@ void clear_watch(pid_t pid); // for release
enum hrtimer_restart
check_variable_cb(struct hrtimer *timer); // hrtimer callback
-int diag_pid(int pid); // for test \ No newline at end of file
+int diag_pid(int id); // for test
+int diag_tgid(int id); // for test \ No newline at end of file