mirror_zfs/include/sys/debug.h
behlendo 8d0f1ee907 Add some crude debugging support. It leaves alot to be
desired, but it should allow more easy kernel debugging for now.


git-svn-id: https://outreach.scidac.gov/svn/spl/trunk@59 7e1ea52c-4ff2-0310-8f11-9dd32ca42a1c
2008-03-31 20:42:36 +00:00

12 lines
322 B
C

#ifndef _SPL_DEBUG_H
#define _SPL_DEBUG_H
extern unsigned long spl_debug_mask;
extern unsigned long spl_debug_subsys;
void __dprintf(const char *file, const char *func, int line, const char *fmt, ...);
void spl_set_debug_mask(unsigned long mask);
void spl_set_debug_subsys(unsigned long mask);
#endif /* SPL_DEBUG_H */