MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / GetPpid

Method GetPpid

pkg/event/param.go:276–278  ·  view source on GitHub ↗

GetPpid returns the parent pid from the parameter.

()

Source from the content-addressed store, hash-verified

274
275// GetPpid returns the parent pid from the parameter.
276func (pars Params) GetPpid() (uint32, error) {
277 return pars.getPid(params.ProcessParentID)
278}
279
280// MustGetPpid returns the parent pid parameter. It panics if
281// an error occurs while trying to get the pid parameter.

Callers 3

MustGetPpidMethod · 0.95
WriteFromCaptureMethod · 0.80
WriteMethod · 0.80

Calls 1

getPidMethod · 0.95

Tested by

no test coverage detected