monitor_user: tgid -> tid

This commit is contained in:
zy
2023-12-18 12:46:39 -05:00
parent fa0eb8b3e7
commit 357df1be9c
2 changed files with 15 additions and 11 deletions

View File

@@ -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