-#define TRACEPOINT_LOGLEVEL(__provider, __name, __loglevel) \
-static const int _loglevel___##__provider##___##__name = __loglevel;
+#define TRACEPOINT_LOGLEVEL(__provider, __name, __loglevel) \
+static const int _loglevel_value___##__provider##___##__name = __loglevel; \
+static const int *_loglevel___##__provider##___##__name = \
+ &_loglevel_value___##__provider##___##__name;