This commit is contained in:
zy
2023-11-17 00:37:01 -05:00
parent d30b761d03
commit eebf3a59b2
3 changed files with 117 additions and 30 deletions

View File

@@ -18,6 +18,7 @@ typedef struct {
typedef struct {
pid_t task_id; // current process id
char name[MAX_NAME_LEN + 2]; // name, last char automatically add '\0'
void *ptr; // user space virtual address
void *kptr; // kernel address + offset
int length_byte; // byte
long long threshold; // threshold value