diff options
Diffstat (limited to 'source/uapi')
| -rw-r--r-- | source/uapi/monitor_user.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/uapi/monitor_user.h b/source/uapi/monitor_user.h index be17819..afa4cc3 100644 --- a/source/uapi/monitor_user.h +++ b/source/uapi/monitor_user.h @@ -7,6 +7,7 @@ #include <unistd.h> #define MAX_NAME_LEN (127) // max name length +#define gettid() (unsigned long)syscall(SYS_gettid) typedef struct { pid_t task_id; // current process id |
