mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 07:20:11 +00:00
rx-windows-debugging-20090127
LICENSE MIT separate rx debugging from cache manager debugging. assign bit 5 of the TraceOption registry value to activation of rx debug output via DebugOutputString().
This commit is contained in:
parent
306a7761b3
commit
50d57f6c7b
@ -6387,7 +6387,7 @@ rxi_DebugInit(void)
|
|||||||
{
|
{
|
||||||
#ifdef RXDEBUG
|
#ifdef RXDEBUG
|
||||||
#ifdef AFS_NT40_ENV
|
#ifdef AFS_NT40_ENV
|
||||||
#define TRACE_OPTION_DEBUGLOG 4
|
#define TRACE_OPTION_RX_DEBUG 16
|
||||||
HKEY parmKey;
|
HKEY parmKey;
|
||||||
DWORD dummyLen;
|
DWORD dummyLen;
|
||||||
DWORD TraceOption;
|
DWORD TraceOption;
|
||||||
@ -6404,7 +6404,7 @@ rxi_DebugInit(void)
|
|||||||
code = RegQueryValueEx(parmKey, "TraceOption", NULL, NULL,
|
code = RegQueryValueEx(parmKey, "TraceOption", NULL, NULL,
|
||||||
(BYTE *) &TraceOption, &dummyLen);
|
(BYTE *) &TraceOption, &dummyLen);
|
||||||
if (code == ERROR_SUCCESS) {
|
if (code == ERROR_SUCCESS) {
|
||||||
rxdebug_active = (TraceOption & TRACE_OPTION_DEBUGLOG) ? 1 : 0;
|
rxdebug_active = (TraceOption & TRACE_OPTION_RX_DEBUG) ? 1 : 0;
|
||||||
}
|
}
|
||||||
RegCloseKey (parmKey);
|
RegCloseKey (parmKey);
|
||||||
#endif /* AFS_NT40_ENV */
|
#endif /* AFS_NT40_ENV */
|
||||||
|
Loading…
Reference in New Issue
Block a user