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
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;
}
}
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;
{
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;
#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>