IsSystemPid indicates if the process generating the event is the System process.
()
| 239 | |
| 240 | // IsSystemPid indicates if the process generating the event is the System process. |
| 241 | func (e *Event) IsSystemPid() bool { return e.PID == 4 } |
| 242 | |
| 243 | // IsState indicates if this event is only used for state management. |
| 244 | func (e *Event) IsState() bool { return e.Type.OnlyState() } |