minix/lib/libblockdriver/trace.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

12 lines
407 B
C

#ifndef _BLOCKDRIVER_TRACE_H
#define _BLOCKDRIVER_TRACE_H
_PROTOTYPE( int trace_ctl, (dev_t minor, unsigned int request,
endpoint_t endpt, cp_grant_id_t grant));
_PROTOTYPE( void trace_start, (thread_id_t thread_id, message *m_ptr));
_PROTOTYPE( void trace_setsize, (thread_id_t thread_id, size_t size));
_PROTOTYPE( void trace_finish, (thread_id_t thread_id, int r));
#endif /* _BLOCKDRIVER_TRACE_H */