minix/common/include/sys/ioc_block.h
David van Moolenbroek fd4c2b74f3 Add block device tracing facility
The implementation is in libblockdriver, and works transparently for
all block drivers. The new btrace(8) tool can be used to control block
tracing; see ``man btrace'' for details.
2011-11-25 13:47:21 +01:00

15 lines
320 B
C

/* sys/ioc_block.h - Block ioctl() command codes.
*
*/
#ifndef _S_I_BLOCK_H
#define _S_I_BLOCK_H
#include <minix/ioctl.h>
#include <minix/btrace.h>
#define BIOCTRACEBUF _IOW('b', 1, size_t)
#define BIOCTRACECTL _IOW('b', 2, int)
#define BIOCTRACEGET _IOR_BIG(3, btrace_entry[BTBUF_SIZE])
#endif /* _S_I_BLOCK_H */