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

Mathieu Desnoyers compudj at krystal.dyndns.org
Wed May 18 18:00:05 EDT 2011


Merged, thanks!

Mathieu

* Francis Giraldeau (francis.giraldeau at usherbrooke.ca) wrote:
> 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
> 
> 
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> 

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com




More information about the lttng-dev mailing list