projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence compiler "always false comparison" warning
[lttng-modules.git]
/
probes
/
lttng-types.h
diff --git
a/probes/lttng-types.h
b/probes/lttng-types.h
index ea16294073369b3392c5486cf0a72b3f9a2afe0d..dcab602f095237ae03baf5e2448bd39bdad6de88 100644
(file)
--- a/
probes/lttng-types.h
+++ b/
probes/lttng-types.h
@@
-1,3
+1,12
@@
+/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+ *
+ * probes/lttng-types.h
+ *
+ * LTTng types.
+ *
+ * Copyright (C) 2010-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ */
+
/*
* Protect against multiple inclusion of structure declarations, but run the
* stages below each time.
/*
* Protect against multiple inclusion of structure declarations, but run the
* stages below each time.
@@
-5,21
+14,11
@@
#ifndef _LTTNG_PROBES_LTTNG_TYPES_H
#define _LTTNG_PROBES_LTTNG_TYPES_H
#ifndef _LTTNG_PROBES_LTTNG_TYPES_H
#define _LTTNG_PROBES_LTTNG_TYPES_H
-/*
- * probes/lttng-types.h
- *
- * Copyright 2010 (c) - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
- *
- * LTTng types.
- *
- * Dual LGPL v2.1/GPL v2 license.
- */
-
#include <linux/seq_file.h>
#include <linux/seq_file.h>
-#include
"lttng.h"
-#include
"../lttng-events.h"
-#include
"../lttng-tracer.h"
-#include
"../lttng-endian.h"
+#include
<probes/lttng.h>
+#include
<lttng-events.h>
+#include
<lttng-tracer.h>
+#include
<lttng-endian.h>
#endif /* _LTTNG_PROBES_LTTNG_TYPES_H */
#endif /* _LTTNG_PROBES_LTTNG_TYPES_H */
@@
-56,7
+55,7
@@
#define TRACE_EVENT_TYPE___enum(_name, _container_type) \
{ \
.name = #_name, \
#define TRACE_EVENT_TYPE___enum(_name, _container_type) \
{ \
.name = #_name, \
- .container_type = __type_integer(_container_type, __BYTE_ORDER, 10, none), \
+ .container_type = __type_integer(_container_type,
0, 0, -1,
__BYTE_ORDER, 10, none), \
.entries = __trace_event_enum_##_name, \
.len = ARRAY_SIZE(__trace_event_enum_##_name), \
},
.entries = __trace_event_enum_##_name, \
.len = ARRAY_SIZE(__trace_event_enum_##_name), \
},
This page took
0.02437 seconds
and
4
git commands to generate.