fd4c2b74f3
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.
11 lines
407 B
C
11 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 */
|