projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace kernel version macros
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
irq.h
diff --git
a/instrumentation/events/lttng-module/irq.h
b/instrumentation/events/lttng-module/irq.h
index e20e91fd47b3e5541947a7db5a66e1518ed4c393..299b37c2e951ba78a0d0d419decf5c3d56401ff9 100644
(file)
--- a/
instrumentation/events/lttng-module/irq.h
+++ b/
instrumentation/events/lttng-module/irq.h
@@
-1,10
+1,11
@@
+/* SPDX-License-Identifier: GPL-2.0 */
#undef TRACE_SYSTEM
#define TRACE_SYSTEM irq
#if !defined(LTTNG_TRACE_IRQ_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_IRQ_H
#undef TRACE_SYSTEM
#define TRACE_SYSTEM irq
#if !defined(LTTNG_TRACE_IRQ_H) || defined(TRACE_HEADER_MULTI_READ)
#define LTTNG_TRACE_IRQ_H
-#include
"../../../probes/lttng-tracepoint-event.h"
+#include
<probes/lttng-tracepoint-event.h>
#ifndef _TRACE_IRQ_DEF_
#define _TRACE_IRQ_DEF_
#ifndef _TRACE_IRQ_DEF_
#define _TRACE_IRQ_DEF_
@@
-60,7
+61,7
@@
LTTNG_TRACEPOINT_EVENT(irq_handler_exit,
)
)
)
)
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,37))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,37))
LTTNG_TRACEPOINT_EVENT_CLASS(irq_softirq,
TP_PROTO(unsigned int vec_nr),
LTTNG_TRACEPOINT_EVENT_CLASS(irq_softirq,
TP_PROTO(unsigned int vec_nr),
@@
-119,7
+120,7
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(irq_softirq, softirq_raise,
TP_ARGS(vec_nr)
)
TP_ARGS(vec_nr)
)
-#else /* #if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,37)) */
+#else /* #if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,37)) */
LTTNG_TRACEPOINT_EVENT_CLASS(irq_softirq,
TP_PROTO(struct softirq_action *h, struct softirq_action *vec),
LTTNG_TRACEPOINT_EVENT_CLASS(irq_softirq,
TP_PROTO(struct softirq_action *h, struct softirq_action *vec),
@@
-181,9
+182,9
@@
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(irq_softirq, softirq_raise,
TP_ARGS(h, vec)
)
TP_ARGS(h, vec)
)
-#endif /* #if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(2,6,37)) */
+#endif /* #if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(2,6,37)) */
#endif /* LTTNG_TRACE_IRQ_H */
/* This part must be outside protection */
#endif /* LTTNG_TRACE_IRQ_H */
/* This part must be outside protection */
-#include
"../../../probes/define_trace.h"
+#include
<probes/define_trace.h>
This page took
0.02318 seconds
and
4
git commands to generate.