From: Francis Giraldeau Date: Wed, 18 May 2011 20:26:10 +0000 (-0400) Subject: Fix typo in tracepoint name X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5702940ec618ead8ad34588ffa3a3009d359a3a1;p=lttng-modules.git Fix typo in tracepoint name 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/probes/net-trace.c b/probes/net-trace.c index b4eafe04..7e7419a1 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");