| 1 | |
| 2 | // Licensed to the .NET Foundation under one or more agreements. |
| 3 | // The .NET Foundation licenses this file to you under the MIT license. |
| 4 | // See the LICENSE file in the project root for more information. |
| 5 | |
| 6 | /****************************************************************** |
| 7 | |
| 8 | DO NOT MODIFY. AUTOGENERATED FILE. |
| 9 | This file is generated using the logic from <root>/src/scripts/genLttngProvider.py |
| 10 | |
| 11 | ******************************************************************/ |
| 12 | |
| 13 | |
| 14 | #include "palrt.h" |
| 15 | #include "pal.h" |
| 16 | |
| 17 | #undef TRACEPOINT_PROVIDER |
| 18 | |
| 19 | #define TRACEPOINT_PROVIDER DotNETRuntimeStress |
| 20 | |
| 21 | |
| 22 | #undef TRACEPOINT_INCLUDE |
| 23 | #define TRACEPOINT_INCLUDE "./tpdotnetruntimestress.h" |
| 24 | |
| 25 | #if !defined(LTTNG_CORECLR_HDotNETRuntimeStress) || defined(TRACEPOINT_HEADER_MULTI_READ) |
| 26 | |
| 27 | #define LTTNG_CORECLR_HDotNETRuntimeStress |
| 28 | |
| 29 | #include <lttng/tracepoint.h> |
| 30 | |
| 31 | |
| 32 | #define ClrStackWalk_TRACEPOINT_ARGS \ |
| 33 | TP_ARGS( \ |
| 34 | const unsigned short, ClrInstanceID, \ |
| 35 | const unsigned char, Reserved1, \ |
| 36 | const unsigned char, Reserved2, \ |
| 37 | const unsigned int, FrameCount, \ |
| 38 | const size_t*, Stack \ |
| 39 | ) |
| 40 | TRACEPOINT_EVENT_CLASS( |
| 41 | DotNETRuntimeStress, |
| 42 | ClrStackWalk, |
| 43 | ClrStackWalk_TRACEPOINT_ARGS, |
| 44 | TP_FIELDS( |
| 45 | ctf_integer(unsigned short, ClrInstanceID, ClrInstanceID) |
| 46 | ctf_integer(unsigned char, Reserved1, Reserved1) |
| 47 | ctf_integer(unsigned char, Reserved2, Reserved2) |
| 48 | ctf_integer(unsigned int, FrameCount, FrameCount) |
| 49 | ctf_sequence(size_t, Stack, Stack, size_t, 2) |
| 50 | ) |
| 51 | ) |
| 52 | |
| 53 | #define ClrStackWalkT_TRACEPOINT_INSTANCE(name) \ |
| 54 | TRACEPOINT_EVENT_INSTANCE(\ |
| 55 | DotNETRuntimeStress,\ |
| 56 | ClrStackWalk,\ |
| 57 | name ,\ |
| 58 | ClrStackWalk_TRACEPOINT_ARGS \ |
| 59 | ) |
| 60 | #define StressLog_V1_TRACEPOINT_ARGS \ |
| 61 | TP_ARGS( \ |
| 62 | const unsigned int, Facility, \ |
| 63 | const unsigned char, LogLevel, \ |
| 64 | const char*, Message, \ |
| 65 | const unsigned short, ClrInstanceID \ |
| 66 | ) |
| 67 | TRACEPOINT_EVENT_CLASS( |
| 68 | DotNETRuntimeStress, |
| 69 | StressLog_V1, |
| 70 | StressLog_V1_TRACEPOINT_ARGS, |
| 71 | TP_FIELDS( |
| 72 | ctf_integer(unsigned int, Facility, Facility) |
| 73 | ctf_integer(unsigned char, LogLevel, LogLevel) |
| 74 | ctf_string(Message, Message) |
| 75 | ctf_integer(unsigned short, ClrInstanceID, ClrInstanceID) |
| 76 | ) |
| 77 | ) |
| 78 | |
| 79 | #define StressLog_V1T_TRACEPOINT_INSTANCE(name) \ |
| 80 | TRACEPOINT_EVENT_INSTANCE(\ |
| 81 | DotNETRuntimeStress,\ |
| 82 | StressLog_V1,\ |
| 83 | name ,\ |
| 84 | StressLog_V1_TRACEPOINT_ARGS \ |
| 85 | ) |
| 86 | #define StressLog_TRACEPOINT_ARGS \ |
| 87 | TP_ARGS( \ |
| 88 | const unsigned int, Facility, \ |
| 89 | const unsigned char, LogLevel, \ |
| 90 | const char*, Message \ |
| 91 | ) |
| 92 | TRACEPOINT_EVENT_CLASS( |
| 93 | DotNETRuntimeStress, |
| 94 | StressLog, |
| 95 | StressLog_TRACEPOINT_ARGS, |
| 96 | TP_FIELDS( |
| 97 | ctf_integer(unsigned int, Facility, Facility) |
| 98 | ctf_integer(unsigned char, LogLevel, LogLevel) |
| 99 | ctf_string(Message, Message) |
| 100 | ) |
| 101 | ) |
| 102 | |
| 103 | #define StressLogT_TRACEPOINT_INSTANCE(name) \ |
| 104 | TRACEPOINT_EVENT_INSTANCE(\ |
| 105 | DotNETRuntimeStress,\ |
| 106 | StressLog,\ |
| 107 | name ,\ |
| 108 | StressLog_TRACEPOINT_ARGS \ |
| 109 | ) |
| 110 | |
| 111 | TRACEPOINT_EVENT_CLASS( |
| 112 | DotNETRuntimeStress, |
| 113 | emptyTemplate , |
| 114 | TP_ARGS(), |
| 115 | TP_FIELDS() |
| 116 | ) |
| 117 | #define T_TRACEPOINT_INSTANCE(name) \ |
| 118 | TRACEPOINT_EVENT_INSTANCE(\ |
| 119 | DotNETRuntimeStress,\ |
| 120 | emptyTemplate,\ |
| 121 | name ,\ |
| 122 | TP_ARGS()\ |
| 123 | ) |
| 124 | StressLogT_TRACEPOINT_INSTANCE(StressLogEvent) |
| 125 | StressLog_V1T_TRACEPOINT_INSTANCE(StressLogEvent_V1) |
| 126 | ClrStackWalkT_TRACEPOINT_INSTANCE(CLRStackWalkStress) |
| 127 | |
| 128 | #endif /* LTTNG_CORECLR_HDotNETRuntimeStress */ |
| 129 | #include <lttng/tracepoint-event.h> |
| 130 | |