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.
15 lines
320 B
C
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 */
|