diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-28 10:40:34 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-02-28 10:40:34 +0000 |
commit | b8455132707ab4e5ca86e320c5cd8f8b84d6fc34 (patch) | |
tree | d5c86299463ca9d2f35bedaa52aef72a22ac14f3 /debug.c | |
parent | 8860335f57904501bfd72c1c5b65b0c83c7d1c1e (diff) | |
download | rsyslog-b8455132707ab4e5ca86e320c5cd8f8b84d6fc34.tar.gz rsyslog-b8455132707ab4e5ca86e320c5cd8f8b84d6fc34.tar.xz rsyslog-b8455132707ab4e5ca86e320c5cd8f8b84d6fc34.zip |
- wrote doc on how to use the expression engine
- changed ABNF to fully support old property names
- added case-insensitive comparison operations
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -930,11 +930,11 @@ int dbgEntrFunc(dbgFuncDB_t *pFuncDB, int line) /* when we reach this point, we have a fully-initialized FuncDB! */ //if(bLogFuncFlow) /* quick debug hack... select the best for you! */ - //if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "vm.c")) /* quick debug hack... select the best for you! */ + if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "vm.c")) /* quick debug hack... select the best for you! */ //if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "expr.c")) /* quick debug hack... select the best for you! */ - if(bLogFuncFlow && (!strcmp((char*)pFuncDB->file, "wti.c") - ||!strcmp((char*)pFuncDB->file, "wtp.c") - ||!strcmp((char*)pFuncDB->file, "queue.c"))) /* quick debug hack... select the best for you! */ + //if(bLogFuncFlow && (!strcmp((char*)pFuncDB->file, "wti.c") + //||!strcmp((char*)pFuncDB->file, "wtp.c") + //||!strcmp((char*)pFuncDB->file, "queue.c"))) /* quick debug hack... select the best for you! */ dbgprintf("%s:%d: %s: enter\n", pFuncDB->file, pFuncDB->line, pFuncDB->func); if(pThrd->stackPtr >= (int) (sizeof(pThrd->callStack) / sizeof(dbgFuncDB_t*))) { dbgprintf("%s:%d: %s: debug module: call stack for this thread full, suspending call tracking\n", @@ -964,11 +964,11 @@ void dbgExitFunc(dbgFuncDB_t *pFuncDB, int iStackPtrRestore) dbgFuncDBPrintActiveMutexes(pFuncDB, "WARNING: mutex still owned by us as we exit function, mutex: ", pthread_self()); //if(bLogFuncFlow) /* quick debug hack... select the best for you! */ - //if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "vm.c")) /* quick debug hack... select the best for you! */ + if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "vm.c")) /* quick debug hack... select the best for you! */ //if(bLogFuncFlow && !strcmp((char*)pFuncDB->file, "expr.c")) /* quick debug hack... select the best for you! */ - if(bLogFuncFlow && (!strcmp((char*)pFuncDB->file, "wti.c") - ||!strcmp((char*)pFuncDB->file, "wtp.c") - ||!strcmp((char*)pFuncDB->file, "queue.c"))) /* quick debug hack... select the best for you! */ + //if(bLogFuncFlow && (!strcmp((char*)pFuncDB->file, "wti.c") + //||!strcmp((char*)pFuncDB->file, "wtp.c") + //||!strcmp((char*)pFuncDB->file, "queue.c"))) /* quick debug hack... select the best for you! */ dbgprintf("%s:%d: %s: exit\n", pFuncDB->file, pFuncDB->line, pFuncDB->func); pThrd->stackPtr = iStackPtrRestore; if(pThrd->stackPtr < 0) { |