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

Function IsSegment

pkg/filter/fields/fields_windows.go:891–893  ·  view source on GitHub ↗

IsSegment indicates if the given string is recognized as a known segment.

(s string)

Source from the content-addressed store, hash-verified

889
890// IsSegment indicates if the given string is recognized as a known segment.
891func IsSegment(s string) bool {
892 return segments[Segment(s)]
893}
894
895// Pseudo fields provide access to the process/event internal state. They
896// are typically used in conjunction with the foreach function as its

Callers 1

parseUnaryExprMethod · 0.92

Calls 1

SegmentTypeAlias · 0.85

Tested by

no test coverage detected