{
return ioctl(fd, RING_BUFFER_PUT_SUBBUF);
}
-
-/* Set the stream_id */
-int kernctl_set_stream_id(int fd, unsigned long *stream_id)
-{
- return ioctl(fd, RING_BUFFER_SET_STREAM_ID, stream_id);
-}
int kernctl_put_subbuf(int fd);
int kernctl_buffer_flush(int fd);
-int kernctl_set_stream_id(int fd, unsigned long *stream_id);
-int kernctl_get_net_stream_id_offset(int fd, unsigned long *offset);
#endif /* _LTTNG_KERNEL_CTL_H */
#define RING_BUFFER_GET_MMAP_READ_OFFSET _IOR(0xF6, 0x0B, unsigned long)
/* flush the current sub-buffer */
#define RING_BUFFER_FLUSH _IO(0xF6, 0x0C)
-/* map stream to stream id for network streaming */
-#define RING_BUFFER_SET_STREAM_ID _IOW(0xF6, 0x0D, unsigned long)
/* Old ABI (without support for 32/64 bits compat) */
/* LTTng file descriptor ioctl */
#define LTTNG_KERNEL_OLD_STREAM _IO(0xF6, 0x60)
#define LTTNG_KERNEL_OLD_EVENT \
_IOW(0xF6, 0x61, struct lttng_kernel_old_event)
-#define LTTNG_KERNEL_OLD_STREAM_ID_OFFSET \
- _IOR(0xF6, 0x62, unsigned long)
/* Event and Channel FD ioctl */
#define LTTNG_KERNEL_OLD_CONTEXT \