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

Method GetPid

pkg/event/param.go:261–263  ·  view source on GitHub ↗

GetPid returns the pid from the parameter.

()

Source from the content-addressed store, hash-verified

259
260// GetPid returns the pid from the parameter.
261func (pars Params) GetPid() (uint32, error) {
262 return pars.getPid(params.ProcessID)
263}
264
265// MustGetPid returns the pid parameter. It panics if
266// an error occurs while trying to get the pid parameter.

Callers 11

MustGetPidMethod · 0.95
WriteFromCaptureMethod · 0.80
WriteMethod · 0.80
AddThreadMethod · 0.80
AddModuleMethod · 0.80
RemoveMethod · 0.80
GetMethod · 0.80
GetMethod · 0.80
adjustPIDMethod · 0.80
RundownKeyMethod · 0.80
ProcessEventMethod · 0.80

Calls 1

getPidMethod · 0.95

Tested by

no test coverage detected