Moved ipc debug out of conditional.

Gave pci server sys_getinfo privilege.
This commit is contained in:
Ben Gras
2006-02-06 15:16:14 +00:00
parent 13e0afef7b
commit 0a02bfb056
2 changed files with 10 additions and 10 deletions

View File

@@ -9,15 +9,6 @@
#include "config.h"
/* It's interesting to measure the time spent withing locked regions, because
* this is the time that the system is deaf to interrupts.
*/
#if DEBUG_TIME_LOCKS
#define TIMING_POINTS 20 /* timing resolution */
#define TIMING_CATEGORIES 20
#define TIMING_NAME 10
/* Enable prints such as
* . send/receive failed due to deadlock or dead source or dead destination
* . trap not allowed
@@ -29,6 +20,15 @@
*/
#define DEBUG_ENABLE_IPC_WARNINGS 0
/* It's interesting to measure the time spent withing locked regions, because
* this is the time that the system is deaf to interrupts.
*/
#if DEBUG_TIME_LOCKS
#define TIMING_POINTS 20 /* timing resolution */
#define TIMING_CATEGORIES 20
#define TIMING_NAME 10
/* Definition of the data structure to store lock() timing data. */
struct lock_timingdata {
char names[TIMING_NAME];