PLCnext API Documentation 26.0.1.58
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#ifdef TRACEPOINT_INCLUDE
17 #undef TRACEPOINT_INCLUDE
18#endif
19
20#define TRACEPOINT_INCLUDE "Arp/System/Commons/Diagnostics/TraceEvents.h"
21
22#include "Arp/System/Commons/Diagnostics/TraceEvent.h"
23
24ARP_DIAGNOSTICS_TRACE_EVENT(ProgramSectionExecuting)
25ARP_DIAGNOSTICS_TRACE_EVENT(ProgramSectionExecuted)
26ARP_DIAGNOSTICS_TRACE_EVENT(UserTracePoint)
27
28#if defined ARP_PLATFORM_LINUX || defined ARP_PLATFORM_CYGWIN
29 #include <lttng/tracepoint-event.h>
30#endif
31
32#endif /* _TP_H */