PLCnext API Documentation 25.0.2.69
TraceEvents.h
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6
7//Pragma once removed by intent!
8//pragma once does not work with lttng!
9//#pragma once
10#if !defined(_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
11#define _TP_H
12
13
14#include "Arp/System/Core/Arp.h"
15
16#undef TRACEPOINT_INCLUDE
17#define TRACEPOINT_INCLUDE "Arp/System/Commons/Diagnostics/TraceEvents.h"
18
19#include "Arp/System/Commons/Diagnostics/TraceEvent.h"
20
21ARP_DIAGNOSTICS_TRACE_EVENT(ProgramSectionExecuting)
22ARP_DIAGNOSTICS_TRACE_EVENT(ProgramSectionExecuted)
23ARP_DIAGNOSTICS_TRACE_EVENT(UserTracePoint)
24
25#if defined ARP_PLATFORM_LINUX || defined ARP_PLATFORM_CYGWIN
26 #include <lttng/tracepoint-event.h>
27#endif
28
29#endif /* _TP_H */