9#include "Arp/Services/TraceController/Services/TraceControllerServiceProxyFactory.hpp"
10#include "Arp/System/Rsc/Services/IRscService.hpp"
11#include "Arp/System/Rsc/Services/RscString.hxx"
15namespace Arp {
namespace Services {
namespace TraceController {
namespace Services
46 using Ptr = std::shared_ptr<ITraceControllerService>;
53 static IRscServiceProxyFactory& GetProxyFactory(
void);
237inline IRscServiceProxyFactory& ITraceControllerService::GetProxyFactory()
239 return TraceControllerServiceProxyFactory::GetInstance();
This service provides an Interface to manage and control the LTTng tracing on the PLCnext controller.
Definition: ITraceControllerService.hpp:44
virtual std::vector< RscString< 512 > > ListSessions()=0
Queries a list of all loaded (both started and stopped sessions) LTTng tracing sessions.
virtual boolean IsSessionDaemonAlive()=0
Checks if the LTTng session daemon for tracing is alive.
virtual boolean DestroySession(const RscString< 512 > &session)=0
Destroys/Unloads a LTTng tracing session.
virtual boolean IsSessionEnabled(const RscString< 512 > &session)=0
Checks if a tracing session is already enabled/started.
virtual boolean IsSessionInSnapshotMode(const RscString< 512 > &session)=0
Checks if a tracing session is in Snapshot Mode.
ITraceControllerService(void)=default
Constructs an ITraceControllerService instance.
virtual void UnloadTracepointLib()=0
Unloads the userspace Tracepoint library.
virtual boolean StopSession(const RscString< 512 > &session)=0
Stops a LTTng tracing 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 tracing session from a given configuration file.
virtual boolean TriggerSavingTraceOutputs(boolean stopTriggerSession)=0
Triggers the recording/saving all outputs of a configured session. Saving will be performed by anothe...
virtual void LoadTracepointLib()=0
Loads the PLCnext userspace Tracepoint library.
virtual boolean StartSession(const RscString< 512 > &session)=0
Starts a LTTng tracing session.
Base interface for all Rsc service interface.
Definition: IRscService.hpp:19
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API