cleanup: Namespace public utils macros
[lttng-ust.git] / include / lttng / ust-tracer.h
index 7b371953e272ca1d69d70bf59b4aa3160e13a487..acc475bfe1dde65bb16a239652b359568da6448c 100644 (file)
@@ -1,28 +1,23 @@
-#ifndef _LTTNG_TRACER_H
-#define _LTTNG_TRACER_H
-
 /*
- * Copyright (C) 2005-2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * This contains the core definitions for the Linux Trace Toolkit.
- *
- * Copyright 2011-2012 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ * SPDX-License-Identifier: MIT
  *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
+ * Copyright (C) 2005-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
+ * This contains the core definitions for the Linux Trace Toolkit.
  */
 
+#ifndef _LTTNG_UST_TRACER_H
+#define _LTTNG_UST_TRACER_H
+
+#include <limits.h>
+
+#include <lttng/ust-arch.h>
+#include <lttng/ust-compiler.h>
 #include <lttng/ust-config.h>
+#include <lttng/ust-utils.h>
 #include <lttng/ust-version.h>
 
-#ifndef LTTNG_UST_HAVE_EFFICIENT_UNALIGNED_ACCESS
+#ifndef LTTNG_UST_ARCH_HAS_EFFICIENT_UNALIGNED_ACCESS
 /* Align data on its natural alignment */
 #define RING_BUFFER_ALIGN
 #endif
@@ -37,6 +32,4 @@
 #define lttng_alignof(type)    1
 #endif
 
-#define lttng_is_signed_type(type)           (((type)(-1)) < 0)
-
-#endif /* _LTTNG_TRACER_CORE_H */
+#endif /* _LTTNG_UST_TRACER_H */
This page took 0.023143 seconds and 4 git commands to generate.