9 #include "Arp/Services/TraceController/Services/TraceControllerServiceProxyFactory.hpp"
10 #include "Arp/System/Rsc/Services/IRscService.hpp"
11 #include "Arp/System/Rsc/Services/RscString.hxx"
15 namespace Arp {
namespace Services {
namespace TraceController {
namespace Services
28 using Ptr = std::shared_ptr<ITraceControllerService>;
35 static IRscServiceProxyFactory& GetProxyFactory(
void);
140 inline IRscServiceProxyFactory& ITraceControllerService::GetProxyFactory()
142 return TraceControllerServiceProxyFactory::GetInstance();
The TraceController provides an Interface to manage and control the LTTng Tracing on the Control
Definition: ITraceControllerService.hpp:26
virtual boolean IsSessionDaemonAlive()=0
Checks if the session daemon for tracing is alive.
virtual boolean DestroySession(const RscString< 512 > &session)=0
Destroys/Unloads an LTTnG Trace Session
virtual boolean IsSessionEnabled(const RscString< 512 > &session)=0
Checks if a trace session is already enabled/started
virtual boolean IsSessionInSnapshotMode(const RscString< 512 > &session)=0
Checks if a trace session is in Snapshot Mode
ITraceControllerService(void)=default
Constructs an ITraceControllerService instance.
virtual void UnloadTracepointLib()=0
Unoads the userspace Trace-Point-Library
virtual std::vector< RscString< 512 > > ListSessions()=0
Queries a list of loaded LTTng Sessions
virtual boolean StopSession(const RscString< 512 > &session)=0
Stops an LTTnG Trace Session
virtual boolean IsSessionLoaded(const RscString< 512 > &session)=0
Checks if a trace session is already loaded
virtual boolean LoadSessionConfiguration(const RscString< 512 > &session, const RscString< 512 > &path)=0
Tries to loads a configuration file.
virtual boolean TriggerSavingTraceOutputs(boolean stopTriggerSession)=0
Records/Saves all outputs of a configured session after an internal timeout delay Session in Snapshot...
virtual void LoadTracepointLib()=0
Loads the userspace Trace-Point-Library
virtual boolean StartSession(const RscString< 512 > &session)=0
Starts an LTTnG Trace Session
Base interface for all Rsc service interface.
Definition: IRscService.hpp:19
Namespace for classes and interfaces for the Remote Service Call implementation
Definition: IRscReadEnumerator.hxx:10
Root namespace for the PLCnext API