2 * Copyright (c) 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
16 #include <urcu/compiler.h>
17 #include <urcu/rculist.h>
18 #include <lttng/ust-events.h>
19 #include <lttng/ringbuffer-config.h>
20 #include <lttng/ust-compiler.h>
24 * TRACEPOINT_EVENT_CLASS declares a class of tracepoints receiving the
25 * same arguments and having the same field layout.
27 * TRACEPOINT_EVENT_INSTANCE declares an instance of a tracepoint, with
28 * its own provider and name. It refers to a class (template).
30 * TRACEPOINT_EVENT declared both a class and an instance and does a
31 * direct mapping from the instance to the class.
34 #undef TRACEPOINT_EVENT
35 #define TRACEPOINT_EVENT(_provider, _name, _args, _fields) \
36 TRACEPOINT_EVENT_CLASS(_provider, _name, \
38 _TP_PARAMS(_fields)) \
39 TRACEPOINT_EVENT_INSTANCE(_provider, _name, _name, \
43 #define _TP_ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
45 #define _tp_max_t(type, x, y) \
49 __max1 > __max2 ? __max1: __max2; \
53 * Stage 0 of tracepoint event generation.
55 * Check that each TRACEPOINT_EVENT provider argument match the
56 * TRACEPOINT_PROVIDER by creating dummy callbacks.
59 /* Reset all macros within TRACEPOINT_EVENT */
60 #include <lttng/ust-tracepoint-event-reset.h>
63 void _TP_COMBINE_TOKENS(__tracepoint_provider_mismatch_
, TRACEPOINT_PROVIDER
)(void)
67 #undef TRACEPOINT_EVENT_CLASS
68 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
69 __tracepoint_provider_mismatch_##_provider();
71 #undef TRACEPOINT_EVENT_INSTANCE
72 #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
73 __tracepoint_provider_mismatch_##_provider();
75 static __attribute__((unused
))
76 void _TP_COMBINE_TOKENS(__tracepoint_provider_check_
, TRACEPOINT_PROVIDER
)(void)
78 #include TRACEPOINT_INCLUDE
82 * Stage 0.1 of tracepoint event generation.
84 * Check that each TRACEPOINT_EVENT provider:name does not exceed the
85 * tracepoint name length limit.
88 /* Reset all macros within TRACEPOINT_EVENT */
89 #include <lttng/ust-tracepoint-event-reset.h>
91 #undef TRACEPOINT_EVENT_INSTANCE
92 #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
94 __tp_name_len_check##_provider##___##_name[LTTNG_UST_SYM_NAME_LEN] \
95 __attribute__((unused)) = \
96 #_provider ":" #_name;
98 #include TRACEPOINT_INCLUDE
101 * Stage 1 of tracepoint event generation.
103 * Create event field type metadata section.
104 * Each event produce an array of fields.
107 /* Reset all macros within TRACEPOINT_EVENT */
108 #include <lttng/ust-tracepoint-event-reset.h>
109 #include <lttng/ust-tracepoint-event-write.h>
110 #include <lttng/ust-tracepoint-event-nowrite.h>
112 #undef _ctf_integer_ext
113 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
116 .type = __type_integer(_type, _byte_order, _base, none),\
117 .nowrite = _nowrite, \
121 #define _ctf_float(_type, _item, _src, _nowrite) \
124 .type = __type_float(_type), \
125 .nowrite = _nowrite, \
128 #undef _ctf_array_encoded
129 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, _nowrite) \
134 .atype = atype_array, \
138 .elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
141 .nowrite = _nowrite, \
144 #undef _ctf_sequence_encoded
145 #define _ctf_sequence_encoded(_type, _item, _src, \
146 _length_type, _src_length, _encoding, _nowrite) \
151 .atype = atype_sequence, \
154 .length_type = __type_integer(_length_type, BYTE_ORDER, 10, none), \
155 .elem_type = __type_integer(_type, BYTE_ORDER, 10, _encoding), \
158 .nowrite = _nowrite, \
162 #define _ctf_string(_item, _src, _nowrite) \
167 .atype = atype_string, \
168 .u.basic.string.encoding = lttng_encode_UTF8, \
170 .nowrite = _nowrite, \
174 #define TP_FIELDS(...) __VA_ARGS__ /* Only one used in this phase */
176 #undef TRACEPOINT_EVENT_CLASS
177 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
178 static const struct lttng_event_field __event_fields___##_provider##___##_name[] = { \
182 #include TRACEPOINT_INCLUDE
185 * Stage 2 of tracepoint event generation.
187 * Create probe callback prototypes.
190 /* Reset all macros within TRACEPOINT_EVENT */
191 #include <lttng/ust-tracepoint-event-reset.h>
194 #define TP_ARGS(...) __VA_ARGS__
196 #undef TRACEPOINT_EVENT_CLASS
197 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
198 static void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args));
200 #include TRACEPOINT_INCLUDE
203 * Stage 3 of tracepoint event generation.
205 * Create static inline function that calculates event size.
208 /* Reset all macros within TRACEPOINT_EVENT */
209 #include <lttng/ust-tracepoint-event-reset.h>
210 #include <lttng/ust-tracepoint-event-write.h>
212 #undef _ctf_integer_ext
213 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
214 __event_len += lib_ring_buffer_align(__event_len, lttng_alignof(_type)); \
215 __event_len += sizeof(_type);
218 #define _ctf_float(_type, _item, _src, _nowrite) \
219 __event_len += lib_ring_buffer_align(__event_len, lttng_alignof(_type)); \
220 __event_len += sizeof(_type);
222 #undef _ctf_array_encoded
223 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, _nowrite) \
224 __event_len += lib_ring_buffer_align(__event_len, lttng_alignof(_type)); \
225 __event_len += sizeof(_type) * (_length);
227 #undef _ctf_sequence_encoded
228 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
229 _src_length, _encoding, _nowrite) \
230 __event_len += lib_ring_buffer_align(__event_len, lttng_alignof(_length_type)); \
231 __event_len += sizeof(_length_type); \
232 __event_len += lib_ring_buffer_align(__event_len, lttng_alignof(_type)); \
233 __dynamic_len[__dynamic_len_idx] = (_src_length); \
234 __event_len += sizeof(_type) * __dynamic_len[__dynamic_len_idx]; \
238 #define _ctf_string(_item, _src, _nowrite) \
239 __event_len += __dynamic_len[__dynamic_len_idx++] = strlen(_src) + 1;
242 #define TP_ARGS(...) __VA_ARGS__
245 #define TP_FIELDS(...) __VA_ARGS__
247 #undef TRACEPOINT_EVENT_CLASS
248 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
249 static inline lttng_ust_notrace \
250 size_t __event_get_size__##_provider##___##_name(size_t *__dynamic_len, _TP_ARGS_DATA_PROTO(_args)); \
252 size_t __event_get_size__##_provider##___##_name(size_t *__dynamic_len, _TP_ARGS_DATA_PROTO(_args)) \
254 size_t __event_len = 0; \
255 unsigned int __dynamic_len_idx = 0; \
258 (void) __dynamic_len_idx; /* don't warn if unused */ \
260 return __event_len; \
263 #include TRACEPOINT_INCLUDE
266 * Stage 3.1 of tracepoint event generation.
268 * Create static inline function that layout the filter stack data.
269 * We make both write and nowrite data available to the filter.
272 /* Reset all macros within TRACEPOINT_EVENT */
273 #include <lttng/ust-tracepoint-event-reset.h>
274 #include <lttng/ust-tracepoint-event-write.h>
275 #include <lttng/ust-tracepoint-event-nowrite.h>
277 #undef _ctf_integer_ext
278 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
279 if (lttng_is_signed_type(_type)) { \
280 int64_t __ctf_tmp_int64 = (int64_t) (_type) (_src); \
281 memcpy(__stack_data, &__ctf_tmp_int64, sizeof(int64_t)); \
283 uint64_t __ctf_tmp_uint64 = (uint64_t) (_type) (_src); \
284 memcpy(__stack_data, &__ctf_tmp_uint64, sizeof(uint64_t)); \
286 __stack_data += sizeof(int64_t);
289 #define _ctf_float(_type, _item, _src, _nowrite) \
291 double __ctf_tmp_double = (double) (_type) (_src); \
292 memcpy(__stack_data, &__ctf_tmp_double, sizeof(double)); \
293 __stack_data += sizeof(double); \
296 #undef _ctf_array_encoded
297 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, _nowrite) \
299 unsigned long __ctf_tmp_ulong = (unsigned long) (_length); \
300 const void *__ctf_tmp_ptr = (_src); \
301 memcpy(__stack_data, &__ctf_tmp_ulong, sizeof(unsigned long)); \
302 __stack_data += sizeof(unsigned long); \
303 memcpy(__stack_data, &__ctf_tmp_ptr, sizeof(void **)); \
304 __stack_data += sizeof(void **); \
307 #undef _ctf_sequence_encoded
308 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
309 _src_length, _encoding, _nowrite) \
311 unsigned long __ctf_tmp_ulong = (unsigned long) (_src_length); \
312 const void *__ctf_tmp_ptr = (_src); \
313 memcpy(__stack_data, &__ctf_tmp_ulong, sizeof(unsigned long)); \
314 __stack_data += sizeof(unsigned long); \
315 memcpy(__stack_data, &__ctf_tmp_ptr, sizeof(void **)); \
316 __stack_data += sizeof(void **); \
320 #define _ctf_string(_item, _src, _nowrite) \
322 const void *__ctf_tmp_ptr = (_src); \
323 memcpy(__stack_data, &__ctf_tmp_ptr, sizeof(void **)); \
324 __stack_data += sizeof(void **); \
328 #define TP_ARGS(...) __VA_ARGS__
331 #define TP_FIELDS(...) __VA_ARGS__
333 #undef TRACEPOINT_EVENT_CLASS
334 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
336 void __event_prepare_filter_stack__##_provider##___##_name(char *__stack_data,\
337 _TP_ARGS_DATA_PROTO(_args)) \
342 #include TRACEPOINT_INCLUDE
347 * Stage 4 of tracepoint event generation.
349 * Create static inline function that calculates event payload alignment.
352 /* Reset all macros within TRACEPOINT_EVENT */
353 #include <lttng/ust-tracepoint-event-reset.h>
354 #include <lttng/ust-tracepoint-event-write.h>
356 #undef _ctf_integer_ext
357 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
358 __event_align = _tp_max_t(size_t, __event_align, lttng_alignof(_type));
361 #define _ctf_float(_type, _item, _src, _nowrite) \
362 __event_align = _tp_max_t(size_t, __event_align, lttng_alignof(_type));
364 #undef _ctf_array_encoded
365 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, _nowrite) \
366 __event_align = _tp_max_t(size_t, __event_align, lttng_alignof(_type));
368 #undef _ctf_sequence_encoded
369 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
370 _src_length, _encoding, _nowrite) \
371 __event_align = _tp_max_t(size_t, __event_align, lttng_alignof(_length_type)); \
372 __event_align = _tp_max_t(size_t, __event_align, lttng_alignof(_type));
375 #define _ctf_string(_item, _src, _nowrite)
378 #define TP_ARGS(...) __VA_ARGS__
381 #define TP_FIELDS(...) __VA_ARGS__
383 #undef TRACEPOINT_EVENT_CLASS
384 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
385 static inline lttng_ust_notrace \
386 size_t __event_get_align__##_provider##___##_name(_TP_ARGS_PROTO(_args)); \
388 size_t __event_get_align__##_provider##___##_name(_TP_ARGS_PROTO(_args)) \
390 size_t __event_align = 1; \
392 return __event_align; \
395 #include TRACEPOINT_INCLUDE
399 * Stage 5 of tracepoint event generation.
401 * Create the probe function. This function calls event size calculation
402 * and writes event data into the buffer.
405 /* Reset all macros within TRACEPOINT_EVENT */
406 #include <lttng/ust-tracepoint-event-reset.h>
407 #include <lttng/ust-tracepoint-event-write.h>
409 #undef _ctf_integer_ext
410 #define _ctf_integer_ext(_type, _item, _src, _byte_order, _base, _nowrite) \
412 _type __tmp = (_src); \
413 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(__tmp));\
414 __chan->ops->event_write(&__ctx, &__tmp, sizeof(__tmp));\
418 #define _ctf_float(_type, _item, _src, _nowrite) \
420 _type __tmp = (_src); \
421 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(__tmp));\
422 __chan->ops->event_write(&__ctx, &__tmp, sizeof(__tmp));\
425 #undef _ctf_array_encoded
426 #define _ctf_array_encoded(_type, _item, _src, _length, _encoding, _nowrite) \
427 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(_type)); \
428 __chan->ops->event_write(&__ctx, _src, sizeof(_type) * (_length));
430 #undef _ctf_sequence_encoded
431 #define _ctf_sequence_encoded(_type, _item, _src, _length_type, \
432 _src_length, _encoding, _nowrite) \
434 _length_type __tmpl = __stackvar.__dynamic_len[__dynamic_len_idx]; \
435 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(_length_type));\
436 __chan->ops->event_write(&__ctx, &__tmpl, sizeof(_length_type));\
438 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(_type)); \
439 __chan->ops->event_write(&__ctx, _src, \
440 sizeof(_type) * __get_dynamic_len(dest));
443 #define _ctf_string(_item, _src, _nowrite) \
444 lib_ring_buffer_align_ctx(&__ctx, lttng_alignof(*(_src))); \
445 __chan->ops->event_write(&__ctx, _src, __get_dynamic_len(dest));
447 /* Beware: this get len actually consumes the len value */
448 #undef __get_dynamic_len
449 #define __get_dynamic_len(field) __stackvar.__dynamic_len[__dynamic_len_idx++]
452 #define TP_ARGS(...) __VA_ARGS__
455 #define TP_FIELDS(...) __VA_ARGS__
458 * Using twice size for filter stack data to hold size and pointer for
459 * each field (worse case). For integers, max size required is 64-bit.
460 * Same for double-precision floats. Those fit within
461 * 2*sizeof(unsigned long) for all supported architectures.
463 #undef TRACEPOINT_EVENT_CLASS
464 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
465 static lttng_ust_notrace \
466 void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args)); \
468 void __event_probe__##_provider##___##_name(_TP_ARGS_DATA_PROTO(_args)) \
470 struct lttng_event *__event = __tp_data; \
471 struct lttng_channel *__chan = __event->chan; \
472 struct lttng_ust_lib_ring_buffer_ctx __ctx; \
473 size_t __event_len, __event_align; \
474 size_t __dynamic_len_idx = 0; \
476 size_t __dynamic_len[_TP_ARRAY_SIZE(__event_fields___##_provider##___##_name)]; \
477 char __filter_stack_data[2 * sizeof(unsigned long) * _TP_ARRAY_SIZE(__event_fields___##_provider##___##_name)]; \
482 (void) __dynamic_len_idx; /* don't warn if unused */ \
483 if (caa_unlikely(!CMM_ACCESS_ONCE(__chan->session->active))) \
485 if (caa_unlikely(!CMM_ACCESS_ONCE(__chan->enabled))) \
487 if (caa_unlikely(!CMM_ACCESS_ONCE(__event->enabled))) \
489 if (caa_unlikely(!cds_list_empty(&__event->bytecode_runtime))) { \
490 struct lttng_bytecode_runtime *bc_runtime; \
492 __event_prepare_filter_stack__##_provider##___##_name(__stackvar.__filter_stack_data, \
493 _TP_ARGS_DATA_VAR(_args)); \
494 cds_list_for_each_entry_rcu(bc_runtime, &__event->bytecode_runtime, node) { \
495 if (caa_likely(!bc_runtime->filter(bc_runtime, \
496 __stackvar.__filter_stack_data))) \
500 __event_len = __event_get_size__##_provider##___##_name(__stackvar.__dynamic_len, \
501 _TP_ARGS_DATA_VAR(_args)); \
502 __event_align = __event_get_align__##_provider##___##_name(_TP_ARGS_VAR(_args)); \
503 lib_ring_buffer_ctx_init(&__ctx, __chan->chan, __event, __event_len, \
504 __event_align, -1, __chan->handle); \
505 __ret = __chan->ops->event_reserve(&__ctx, __event->id); \
509 __chan->ops->event_commit(&__ctx); \
512 #include TRACEPOINT_INCLUDE
514 #undef __get_dynamic_len
517 * Stage 5.1 of tracepoint event generation.
519 * Create probe signature
522 /* Reset all macros within TRACEPOINT_EVENT */
523 #include <lttng/ust-tracepoint-event-reset.h>
526 #define TP_ARGS(...) __VA_ARGS__
528 #define _TP_EXTRACT_STRING2(...) #__VA_ARGS__
530 #undef TRACEPOINT_EVENT_CLASS
531 #define TRACEPOINT_EVENT_CLASS(_provider, _name, _args, _fields) \
532 const char __tp_event_signature___##_provider##___##_name[] = \
533 _TP_EXTRACT_STRING2(_args);
535 #include TRACEPOINT_INCLUDE
537 #undef _TP_EXTRACT_STRING2
540 * Stage 6 of tracepoint event generation.
542 * Tracepoint loglevel mapping definition generation. We generate a
543 * symbol for each mapping for a provider/event to ensure at most a 1 to
544 * 1 mapping between events and loglevels. If the symbol is repeated,
545 * the compiler will complain.
548 /* Reset all macros within TRACEPOINT_EVENT */
549 #include <lttng/ust-tracepoint-event-reset.h>
551 #undef TRACEPOINT_LOGLEVEL
552 #define TRACEPOINT_LOGLEVEL(__provider, __name, __loglevel) \
553 static const int _loglevel_value___##__provider##___##__name = __loglevel; \
554 static const int *_loglevel___##__provider##___##__name = \
555 &_loglevel_value___##__provider##___##__name;
557 #include TRACEPOINT_INCLUDE
560 * Stage 6.1 of tracepoint event generation.
562 * Tracepoint UML URI info.
565 /* Reset all macros within TRACEPOINT_EVENT */
566 #include <lttng/ust-tracepoint-event-reset.h>
568 #undef TRACEPOINT_MODEL_EMF_URI
569 #define TRACEPOINT_MODEL_EMF_URI(__provider, __name, __uri) \
570 static const char *_model_emf_uri___##__provider##___##__name = __uri;
572 #include TRACEPOINT_INCLUDE
575 * Stage 7.1 of tracepoint event generation.
577 * Create events description structures. We use a weakref because
578 * loglevels are optional. If not declared, the event will point to the
579 * a loglevel that contains NULL.
582 /* Reset all macros within TRACEPOINT_EVENT */
583 #include <lttng/ust-tracepoint-event-reset.h>
585 #undef TRACEPOINT_EVENT_INSTANCE
586 #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
588 __ref_loglevel___##_provider##___##_name \
589 __attribute__((weakref ("_loglevel___" #_provider "___" #_name))); \
590 static const char * \
591 __ref_model_emf_uri___##_provider##___##_name \
592 __attribute__((weakref ("_model_emf_uri___" #_provider "___" #_name)));\
593 const struct lttng_event_desc __event_desc___##_provider##_##_name = { \
594 .fields = __event_fields___##_provider##___##_template, \
595 .name = #_provider ":" #_name, \
596 .probe_callback = (void (*)(void)) &__event_probe__##_provider##___##_template,\
597 .nr_fields = _TP_ARRAY_SIZE(__event_fields___##_provider##___##_template), \
598 .loglevel = &__ref_loglevel___##_provider##___##_name, \
599 .signature = __tp_event_signature___##_provider##___##_template, \
600 .u.ext.model_emf_uri = &__ref_model_emf_uri___##_provider##___##_name, \
603 #include TRACEPOINT_INCLUDE
606 * Stage 7.2 of tracepoint event generation.
608 * Create array of events.
611 /* Reset all macros within TRACEPOINT_EVENT */
612 #include <lttng/ust-tracepoint-event-reset.h>
614 #undef TRACEPOINT_EVENT_INSTANCE
615 #define TRACEPOINT_EVENT_INSTANCE(_provider, _template, _name, _args) \
616 &__event_desc___##_provider##_##_name,
618 static const struct lttng_event_desc
*_TP_COMBINE_TOKENS(__event_desc___
, TRACEPOINT_PROVIDER
)[] = {
619 #include TRACEPOINT_INCLUDE
624 * Stage 8 of tracepoint event generation.
626 * Create a toplevel descriptor for the whole probe.
629 /* non-const because list head will be modified when registered. */
630 static struct lttng_probe_desc
_TP_COMBINE_TOKENS(__probe_desc___
, TRACEPOINT_PROVIDER
) = {
631 .provider
= __tp_stringify(TRACEPOINT_PROVIDER
),
632 .event_desc
= _TP_COMBINE_TOKENS(__event_desc___
, TRACEPOINT_PROVIDER
),
633 .nr_events
= _TP_ARRAY_SIZE(_TP_COMBINE_TOKENS(__event_desc___
, TRACEPOINT_PROVIDER
)),
637 * Stage 9 of tracepoint event generation.
639 * Register/unregister probes at module load/unload.
641 * Generate the constructor as an externally visible symbol for use when
642 * linking the probe statically.
645 /* Reset all macros within TRACEPOINT_EVENT */
646 #include <lttng/ust-tracepoint-event-reset.h>
647 static void lttng_ust_notrace
__attribute__((constructor
))
648 _TP_COMBINE_TOKENS(__lttng_events_init__
, TRACEPOINT_PROVIDER
)(void);
650 _TP_COMBINE_TOKENS(__lttng_events_init__
, TRACEPOINT_PROVIDER
)(void)
654 ret
= lttng_probe_register(&_TP_COMBINE_TOKENS(__probe_desc___
, TRACEPOINT_PROVIDER
));
658 static void lttng_ust_notrace
__attribute__((destructor
))
659 _TP_COMBINE_TOKENS(__lttng_events_exit__
, TRACEPOINT_PROVIDER
)(void);
661 _TP_COMBINE_TOKENS(__lttng_events_exit__
, TRACEPOINT_PROVIDER
)(void)
663 lttng_probe_unregister(&_TP_COMBINE_TOKENS(__probe_desc___
, TRACEPOINT_PROVIDER
));
666 int _TP_COMBINE_TOKENS(__tracepoint_provider_
, TRACEPOINT_PROVIDER
);