()
| 76 | } |
| 77 | |
| 78 | func (this *SyscallEvent) GetUUID() string { |
| 79 | s := fmt.Sprintf("%d|%d|%s", this.Pid, this.Tid, util.B2STrim(this.Comm[:])) |
| 80 | if this.mconf.ShowTime { |
| 81 | s = fmt.Sprintf("%d|%s", this.Ts, s) |
| 82 | } |
| 83 | if this.mconf.ShowUid { |
| 84 | s = fmt.Sprintf("%d|%s", this.Uid, s) |
| 85 | } |
| 86 | return s |
| 87 | } |
| 88 | |
| 89 | func (this *SyscallEvent) MarshalJSON() ([]byte, error) { |
| 90 | type ContextAlias config.ContextFields |