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
/
sock.h
diff --git
a/instrumentation/events/lttng-module/sock.h
b/instrumentation/events/lttng-module/sock.h
index 3e3dbc72e804b3e910da8af3850e0c67a326543a..3f48fa3644269e768b98da663666f2fbc2509c2d 100644
(file)
--- a/
instrumentation/events/lttng-module/sock.h
+++ b/
instrumentation/events/lttng-module/sock.h
@@
-1,13
+1,13
@@
#undef TRACE_SYSTEM
#define TRACE_SYSTEM sock
#undef TRACE_SYSTEM
#define TRACE_SYSTEM sock
-#if !defined(_TRACE_SOCK_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_SOCK_H
+#if !defined(
LTTNG
_TRACE_SOCK_H) || defined(TRACE_HEADER_MULTI_READ)
+#define
LTTNG
_TRACE_SOCK_H
+#include "../../../probes/lttng-tracepoint-event.h"
#include <net/sock.h>
#include <net/sock.h>
-#include <linux/tracepoint.h>
-
TRACE
_EVENT(sock_rcvqueue_full,
+
LTTNG_TRACEPOINT
_EVENT(sock_rcvqueue_full,
TP_PROTO(struct sock *sk, struct sk_buff *skb),
TP_PROTO(struct sock *sk, struct sk_buff *skb),
@@
-29,7
+29,7
@@
TRACE_EVENT(sock_rcvqueue_full,
__entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
)
__entry->rmem_alloc, __entry->truesize, __entry->sk_rcvbuf)
)
-
TRACE
_EVENT(sock_exceed_buf_limit,
+
LTTNG_TRACEPOINT
_EVENT(sock_exceed_buf_limit,
TP_PROTO(struct sock *sk, struct proto *prot, long allocated),
TP_PROTO(struct sock *sk, struct proto *prot, long allocated),
@@
-62,7
+62,7
@@
TRACE_EVENT(sock_exceed_buf_limit,
__entry->rmem_alloc)
)
__entry->rmem_alloc)
)
-#endif /* _TRACE_SOCK_H */
+#endif /*
LTTNG
_TRACE_SOCK_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.02417 seconds
and
4
git commands to generate.