distributed-process-0.7.4: Cloud Haskell: Erlang-style concurrency in Haskell

Safe HaskellNone
LanguageHaskell98

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

Description

Tracing/Debugging support - Types

Synopsis

Documentation

data SetTrace Source #

Instances

Eq SetTrace Source # 
Show SetTrace Source # 
Generic SetTrace Source # 

Associated Types

type Rep SetTrace :: * -> * #

Methods

from :: SetTrace -> Rep SetTrace x #

to :: Rep SetTrace x -> SetTrace #

Binary SetTrace Source # 

Methods

put :: SetTrace -> Put #

get :: Get SetTrace #

putList :: [SetTrace] -> Put #

type Rep SetTrace Source # 
type Rep SetTrace = D1 * (MetaData "SetTrace" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.4-6LxXQAX8ntzEzbGCRI9i4C" False) ((:+:) * (C1 * (MetaCons "TraceEnable" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ProcessId))) (C1 * (MetaCons "TraceDisable" PrefixI False) (U1 *)))

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

Show TraceSubject Source # 
Generic TraceSubject Source # 

Associated Types

type Rep TraceSubject :: * -> * #

Binary TraceSubject Source # 
type Rep TraceSubject Source # 
type Rep TraceSubject = D1 * (MetaData "TraceSubject" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.4-6LxXQAX8ntzEzbGCRI9i4C" False) ((:+:) * (C1 * (MetaCons "TraceAll" PrefixI False) (U1 *)) ((:+:) * (C1 * (MetaCons "TraceProcs" PrefixI False) (S1 * (MetaSel (Nothing Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Set ProcessId)))) (C1 * (MetaCons "TraceNames" PrefixI False) (S1 * (MetaSel (Nothing 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

Show TraceFlags Source # 
Generic TraceFlags Source # 

Associated Types

type Rep TraceFlags :: * -> * #

Binary TraceFlags Source # 
type Rep TraceFlags Source # 

data TraceArg Source #

Constructors

TraceStr String 
Show a => Trace a 

data TraceOk Source #

A generic ok response from the trace coordinator.

Constructors

TraceOk 

Instances

Generic TraceOk Source # 

Associated Types

type Rep TraceOk :: * -> * #

Methods

from :: TraceOk -> Rep TraceOk x #

to :: Rep TraceOk x -> TraceOk #

Binary TraceOk Source # 

Methods

put :: TraceOk -> Put #

get :: Get TraceOk #

putList :: [TraceOk] -> Put #

type Rep TraceOk Source # 
type Rep TraceOk = D1 * (MetaData "TraceOk" "Control.Distributed.Process.Management.Internal.Trace.Types" "distributed-process-0.7.4-6LxXQAX8ntzEzbGCRI9i4C" False) (C1 * (MetaCons "TraceOk" PrefixI False) (U1 *))