projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename LTTng instrumentation macros
[lttng-modules.git]
/
instrumentation
/
events
/
lttng-module
/
skb.h
diff --git
a/instrumentation/events/lttng-module/skb.h
b/instrumentation/events/lttng-module/skb.h
index a257304916c97f215ea188c14b70fce48bc273f4..106478bdbca8761060b996f71ebbc3c162ea5c18 100644
(file)
--- a/
instrumentation/events/lttng-module/skb.h
+++ b/
instrumentation/events/lttng-module/skb.h
@@
-1,18
+1,18
@@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
#undef TRACE_SYSTEM
#define TRACE_SYSTEM skb
-#if !defined(_TRACE_SKB_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_SKB_H
+#if !defined(
LTTNG
_TRACE_SKB_H) || defined(TRACE_HEADER_MULTI_READ)
+#define
LTTNG
_TRACE_SKB_H
+#include "../../../probes/lttng-tracepoint-event.h"
#include <linux/skbuff.h>
#include <linux/netdevice.h>
#include <linux/skbuff.h>
#include <linux/netdevice.h>
-#include <linux/tracepoint.h>
#include <linux/version.h>
/*
* Tracepoint for free an sk_buff:
*/
#include <linux/version.h>
/*
* Tracepoint for free an sk_buff:
*/
-
TRACE
_EVENT_MAP(kfree_skb,
+
LTTNG_TRACEPOINT
_EVENT_MAP(kfree_skb,
skb_kfree,
skb_kfree,
@@
-37,7
+37,7
@@
TRACE_EVENT_MAP(kfree_skb,
)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
)
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))
-
TRACE
_EVENT_MAP(consume_skb,
+
LTTNG_TRACEPOINT
_EVENT_MAP(consume_skb,
skb_consume,
skb_consume,
@@
-58,7
+58,7
@@
TRACE_EVENT_MAP(consume_skb,
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
#endif
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,32))
-
TRACE
_EVENT(skb_copy_datagram_iovec,
+
LTTNG_TRACEPOINT
_EVENT(skb_copy_datagram_iovec,
TP_PROTO(const struct sk_buff *skb, int len),
TP_PROTO(const struct sk_buff *skb, int len),
@@
-78,7
+78,7
@@
TRACE_EVENT(skb_copy_datagram_iovec,
)
#endif
)
#endif
-#endif /* _TRACE_SKB_H */
+#endif /*
LTTNG
_TRACE_SKB_H */
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
/* This part must be outside protection */
#include "../../../probes/define_trace.h"
This page took
0.023847 seconds
and
4
git commands to generate.