struct Filter

Defined at line 646 of file ../../src/developer/debug/ipc/records.h

Public Members

Type type
basic_string pattern
uint64_t job_koid
Identifier id
FilterConfig config

Public Methods

const char * TypeToString (Type )

Defined at line 228 of file ../../src/developer/debug/ipc/records.cc

void Serialize (Serializer & ser, uint32_t ver)

Defined at line 761 of file ../../src/developer/debug/ipc/records.h

Enumerations

enum class Type : uint32_t
Name Value
kUnset 0
kProcessNameSubstr 1
kProcessName 2
kComponentName 3
kComponentUrl 4
kComponentMoniker 5
kComponentMonikerSuffix 6
kComponentMonikerPrefix 7
kLast 8

Defined at line 647 of file ../../src/developer/debug/ipc/records.h

enum class Originator : uint8_t
Name Value Comments
kUnknown 0 --
kAgent 1 << 5

The DebugAgent originated this filter. This will only be the case for a temporary filter sent
via the NotifyFilterCreated. Clients will persist the filter if they choose with their own
identifier and originator value.

kZxdb 1 << 6

Originated by zxdb.

kFidlServer 1 << 7

Originated by DebugAgentServer, the provider of the "DebugAgent" FIDL API. This must be the
highest bit to stay backwards compatible with the previous |kFilterIdBase| used in the server
implementation.

kInvalid 0xff

Newly allocated filter originators can go here. Any unallocated values are reserved.

The originator of this filter. This is encoded in the high byte of a 32 bit integer on the

wire, but logically contained separately in the |Identifier| class below.

Defined at line 666 of file ../../src/developer/debug/ipc/records.h

Records