]> Zhao Yanbai Git Server - minix.git/commitdiff
kernel - doesn't do lock timings any more
authorBen Gras <ben@minix3.org>
Fri, 4 Feb 2011 13:42:17 +0000 (13:42 +0000)
committerBen Gras <ben@minix3.org>
Fri, 4 Feb 2011 13:42:17 +0000 (13:42 +0000)
kernel/debug.h
kernel/glo.h
kernel/system/do_getinfo.c

index c63755a5e14372041858774e9e63e934950e5353..f2527761c2856c6ad0990be5698be62dd2d649b6 100644 (file)
@@ -24,7 +24,6 @@
  */
 #define DEBUG_ENABLE_IPC_WARNINGS      1
 #define DEBUG_STACKTRACE               1
-#define DEBUG_TIME_LOCKS               1
 
 /* Sanity checks. */
 #define DEBUG_SANITYCHECKS             0
index b53ae4d2be72460bf35e153baacf90f888ee905b..906fd5ffa1cfec7b731ba11edc3c0dc19a8b4b52 100644 (file)
@@ -69,9 +69,6 @@ EXTERN int config_no_smp; /* optionaly turn off SMP */
 EXTERN int vm_running;
 EXTERN int catch_pagefaults;
 
-/* Timing */
-EXTERN util_timingdata_t timingdata[TIMING_CATEGORIES];
-
 /* Variables that are initialized elsewhere are just extern here. */
 extern struct boot_image image[];      /* system image processes */
 extern struct segdesc_s gdt[];         /* global descriptor table */
index c5e23b51a4b52bfa37aeda4e6bc471821710910f..0e8a0c37bb3cef390f471c2aae7362660ea165ab 100644 (file)
@@ -161,13 +161,6 @@ PUBLIC int do_getinfo(struct proc * caller, message * m_ptr)
         src_vir = (vir_bytes) &kmess;
         break;
     }
-#if DEBUG_TIME_LOCKS
-    case GET_LOCKTIMING: {
-    length = sizeof(timingdata);
-    src_vir = (vir_bytes) timingdata;
-    break;
-    }
-#endif
     case GET_IRQACTIDS: {
         length = sizeof(irq_actids);
         src_vir = (vir_bytes) irq_actids;