MCPcopy Create free account
hub / github.com/SeeFlowerX/stackplz / GetUUID

Method GetUUID

user/event/event_raw_syscalls.go:78–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (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
89func (this *SyscallEvent) MarshalJSON() ([]byte, error) {
90 type ContextAlias config.ContextFields

Callers 1

StringMethod · 0.95

Calls 1

B2STrimFunction · 0.92

Tested by

no test coverage detected