diff options
Diffstat (limited to 'src/global.go')
-rw-r--r-- | src/global.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.go b/src/global.go index 0439df6..c3001ab 100644 --- a/src/global.go +++ b/src/global.go | |||
@@ -9,6 +9,7 @@ type Event struct { | |||
9 | timestamp time.Time | 9 | timestamp time.Time |
10 | pid, ppid int | 10 | pid, ppid int |
11 | syscall int | 11 | syscall int |
12 | exit_code uint64 | ||
12 | argc int | 13 | argc int |
13 | argv []string | 14 | argv []string |
14 | cwd string | 15 | cwd string |
@@ -23,7 +24,6 @@ type process struct { | |||
23 | children []int | 24 | children []int |
24 | } | 25 | } |
25 | 26 | ||
26 | var pids sync.Map // 古希腊掌管进程的神,int->*process | ||
27 | var wg sync.WaitGroup // 掌管协程 | 27 | var wg sync.WaitGroup // 掌管协程 |
28 | var rawChan chan interface{} // 从接收到整理的管道 | 28 | var rawChan chan interface{} // 从接收到整理的管道 |
29 | var cookedChan chan Event // 整理好的信息的管道 | 29 | var cookedChan chan Event // 整理好的信息的管道 |