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:
Vladislav Bolkhovitin
2009-10-28 19:54:57 +00:00
parent 7e4b596522
commit ac3f04117d
2 changed files with 10 additions and 0 deletions

View File

@@ -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);

View File

@@ -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);