[ltt-dev] [PATCH] Fix typo in tracepoint name

Francis Giraldeau francis.giraldeau at usherbrooke.ca
Wed May 18 16:26:39 EDT 2011


This patch fix a type in tracepoint definition of socket_sendmsg and
socket_recvmsg, that was preventing to appear in the trace.

Signed-off-by: Francis Giraldeau <francis.giraldeau at usherbrooke.ca>
---
 probes/net-trace.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/probes/net-trace.c b/probes/net-trace.c
index b4eafe0..7e7419a 100644
--- a/probes/net-trace.c
+++ b/probes/net-trace.c
@@ -172,7 +172,7 @@ void probe_socket_socketpair(void *_data, int family, int type, int protocol,
 void probe_socket_sendmsg(void *_data, struct socket *sock, struct msghdr *msg, size_t size,
 	int ret);
 
-DEFINE_MARKER_TP(net, socket_sendmsg, net_socket_sendmsg,
+DEFINE_MARKER_TP(net, socket_sendmsg, socket_sendmsg,
 	probe_socket_sendmsg,
 	"sock %p msg %p size %zu ret %d");
 
@@ -195,7 +195,7 @@ notrace void probe_socket_sendmsg(void *_data, struct socket *sock, struct msghd
 void probe_socket_recvmsg(void *_data, struct socket *sock, struct msghdr *msg, size_t size,
 	int flags, int ret);
 
-DEFINE_MARKER_TP(net, socket_recvmsg, net_socket_recvmsg,
+DEFINE_MARKER_TP(net, socket_recvmsg, socket_recvmsg,
 	probe_socket_recvmsg,
 	"sock %p msg %p size %zu flags %d ret %d");
 
-- 
1.7.1





More information about the lttng-dev mailing list