update ioctl
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 20 Dec 2006 17:51:50 +0000 (17:51 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 20 Dec 2006 17:51:50 +0000 (17:51 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2311 04897980-b3bd-0310-b5e0-8ef037075253

ltt-control/configure.in
ltt-control/liblttctl/liblttctl.c
ltt-control/liblttctl/lttctl.h
ltt-control/lttd/lttd.c

index c766ee5bf6e28c5afdf3ceda5892ebe1f24d83b4..8f59e320716c60f258f85a25318deccac055e7ff 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(ltt-control,0.32-05122006)
+AM_INIT_AUTOMAKE(ltt-control,0.33-20122006)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index 4690d7b867bb32b6a64f99018478a57be7102489..61bca62e769e5f0a316e8cb550820acd0c09a415 100644 (file)
@@ -107,7 +107,7 @@ static ssize_t lttctl_netlink_sendto(const struct lttctl_handle *h,
                                                                                                                                        const void *msg, size_t len)
 {
        int status = sendto(h->fd, msg, len, 0,
-                                                                                       (struct sockaddr *)&h->peer, sizeof(h->peer));
+                       (struct sockaddr *)&h->peer, sizeof(h->peer));
        if (status < 0)
                lttctl_errno = LTTCTL_ERR_SEND;
        
@@ -172,7 +172,7 @@ static ssize_t lttctl_netlink_recvfrom(const struct lttctl_handle *h,
                }
        }
        status = recvfrom(h->fd, buf, len, 0,
-                                                                                               (struct sockaddr *)&h->peer, &addrlen);
+                       (struct sockaddr *)&h->peer, &addrlen);
        
        if (status < 0) {
                lttctl_errno = LTTCTL_ERR_RECV;
@@ -450,12 +450,12 @@ int lttctl_stop(const struct lttctl_handle *h,
 {
        struct {
                struct nlmsghdr nlh;
-               lttctl_peer_msg_t       msg;
+               lttctl_peer_msg_t msg;
        } req;
        struct {
                struct nlmsghdr nlh;
                struct nlmsgerr nlerr;
-               lttctl_peer_msg_t       msg;
+               lttctl_peer_msg_t msg;
        } ack;
        int err;
 
index 8dae012f142e11665d1d4aa1ea9ae96d9cef4e66..053c0f47b94005478f03c446edaf3988334c6f82 100644 (file)
@@ -96,5 +96,4 @@ int lttctl_stop(const struct lttctl_handle *handle, char *name);
 #define LTTCTLM_BASE   0x10
 #define LTTCTLM_CONTROL        (LTTCTLM_BASE + 1)      /* LTT control message */
 
-
 #endif //_LIBLTT_H
index 1d170904c7113dd8e8b1664527027d13e78580c0..349834297e86e710c3b1d6576e67b40ad15cb192 100644 (file)
 #include <asm/types.h>
 
 /* Get the next sub buffer that can be read. */
-#define RELAY_GET_SUBBUF        _IOR(0xF4, 0x00,__u32)
+#define RELAY_GET_SUBBUF        _IOR(0xF5, 0x00,__u32)
 /* Release the oldest reserved (by "get") sub buffer. */
-#define RELAY_PUT_SUBBUF        _IOW(0xF4, 0x01,__u32)
+#define RELAY_PUT_SUBBUF        _IOW(0xF5, 0x01,__u32)
 /* returns the number of sub buffers in the per cpu channel. */
-#define RELAY_GET_N_SUBBUFS     _IOR(0xF4, 0x02,__u32)
+#define RELAY_GET_N_SUBBUFS     _IOR(0xF5, 0x02,__u32)
 /* returns the size of the sub buffers. */
-#define RELAY_GET_SUBBUF_SIZE   _IOR(0xF4, 0x03,__u32)
+#define RELAY_GET_SUBBUF_SIZE   _IOR(0xF5, 0x03,__u32)
 
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,14)
 #include <linux/inotify.h>
This page took 0.02694 seconds and 4 git commands to generate.