distributed-process-0.7.6: Cloud Haskell: Erlang-style concurrency in Haskell
Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Process.Management.Internal.Trace.Types

Description

Tracing/Debugging support - Types

Synopsis

Documentation

data SetTrace Source #

Instances

Instances details
Generic SetTrace Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Associated Types

type Rep SetTrace 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep SetTrace = D1 ('MetaData "SetTrace" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceEnable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProcessId)) :+: C1 ('MetaCons "TraceDisable" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: SetTrace -> Rep SetTrace x #

to :: Rep SetTrace x -> SetTrace #

Show SetTrace Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Binary SetTrace Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Methods

put :: SetTrace -> Put #

get :: Get SetTrace #

putList :: [SetTrace] -> Put #

Eq SetTrace Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep SetTrace Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep SetTrace = D1 ('MetaData "SetTrace" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceEnable" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 ProcessId)) :+: C1 ('MetaCons "TraceDisable" 'PrefixI 'False) (U1 :: Type -> Type))

data TraceSubject Source #

Defines which processes will be traced by a given TraceFlag, either by name, or ProcessId. Choosing TraceAll is by far the most efficient approach, as the tracer process therefore avoids deciding whether or not a trace event is viable.

Instances

Instances details
Generic TraceSubject Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Associated Types

type Rep TraceSubject 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceSubject = D1 ('MetaData "TraceSubject" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TraceProcs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set ProcessId))) :+: C1 ('MetaCons "TraceNames" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set String)))))
Show TraceSubject Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Binary TraceSubject Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceSubject Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceSubject = D1 ('MetaData "TraceSubject" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceAll" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "TraceProcs" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set ProcessId))) :+: C1 ('MetaCons "TraceNames" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Set String)))))

data TraceFlags Source #

Defines what will be traced. Flags that control tracing of Process events, take a TraceSubject controlling which processes should generate trace events in the target process.

Instances

Instances details
Generic TraceFlags Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Associated Types

type Rep TraceFlags 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceFlags = D1 ('MetaData "TraceFlags" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceFlags" 'PrefixI 'True) (((S1 ('MetaSel ('Just "traceSpawned") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceDied") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject))) :*: (S1 ('MetaSel ('Just "traceRegistered") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceUnregistered") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)))) :*: ((S1 ('MetaSel ('Just "traceSend") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceRecv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject))) :*: (S1 ('MetaSel ('Just "traceNodes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "traceConnections") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))
Show TraceFlags Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Binary TraceFlags Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceFlags Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceFlags = D1 ('MetaData "TraceFlags" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceFlags" 'PrefixI 'True) (((S1 ('MetaSel ('Just "traceSpawned") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceDied") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject))) :*: (S1 ('MetaSel ('Just "traceRegistered") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceUnregistered") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)))) :*: ((S1 ('MetaSel ('Just "traceSend") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject)) :*: S1 ('MetaSel ('Just "traceRecv") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe TraceSubject))) :*: (S1 ('MetaSel ('Just "traceNodes") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "traceConnections") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Bool)))))

data TraceArg Source #

Constructors

TraceStr String 
Show a => Trace a 

data TraceOk Source #

A generic ok response from the trace coordinator.

Constructors

TraceOk 

Instances

Instances details
Generic TraceOk Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Associated Types

type Rep TraceOk 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceOk = D1 ('MetaData "TraceOk" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceOk" 'PrefixI 'False) (U1 :: Type -> Type))

Methods

from :: TraceOk -> Rep TraceOk x #

to :: Rep TraceOk x -> TraceOk #

Binary TraceOk Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

Methods

put :: TraceOk -> Put #

get :: Get TraceOk #

putList :: [TraceOk] -> Put #

type Rep TraceOk Source # 
Instance details

Defined in Control.Distributed.Process.Management.Internal.Trace.Types

type Rep TraceOk = D1 ('MetaData "TraceOk" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.6-F5sZSqR3Cb09RBogyeswiz" 'False) (C1 ('MetaCons "TraceOk" 'PrefixI 'False) (U1 :: Type -> Type))