StackID returns the integer that is used to stich the callstack present in the StackWalk event.
()
| 255 | |
| 256 | // StackID returns the integer that is used to stich the callstack present in the StackWalk event. |
| 257 | func (e *Event) StackID() uint64 { |
| 258 | if e.IsCreateProcess() { |
| 259 | return uint64(e.Params.MustGetPpid() + e.Tid) |
| 260 | } |
| 261 | return uint64(e.PID + e.Tid) |
| 262 | } |
| 263 | |
| 264 | // StackPID returns the process id as seen the creator |
| 265 | // from the callstack execution perspective. For example, |