mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 20:51:27 +00:00
Comments why we don't print prefix on debug traces added
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1291 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -128,6 +128,11 @@
|
||||
#define ___unlikely(a) unlikely(a)
|
||||
#endif
|
||||
|
||||
/*
|
||||
* We don't print prefix for debug traces to not put additional preasure
|
||||
* on the logging system in case of a lot of logging.
|
||||
*/
|
||||
|
||||
extern int debug_print_prefix(unsigned long trace_flag,
|
||||
const char *prefix, const char *func, int line);
|
||||
extern void debug_print_buffer(const void *data, int len);
|
||||
|
||||
@@ -75,6 +75,11 @@ extern unsigned long trace_flag;
|
||||
extern int debug_init(void);
|
||||
extern void debug_done(void);
|
||||
|
||||
/*
|
||||
* We don't print prefix for debug traces to not put additional preasure
|
||||
* on the logging system in case of a lot of logging.
|
||||
*/
|
||||
|
||||
extern int debug_print_prefix(unsigned long trace_flag, const char *prefix,
|
||||
const char *func, int line);
|
||||
extern void debug_print_buffer(const void *data, int len);
|
||||
|
||||
Reference in New Issue
Block a user