changeset 2922:9ddefe3aa750

* cdl/instrument.cdl: Add CYGDBG_KERNEL_INSTRUMENT_MLQ option. Issue reported by Pieter-Jan Busschaert.
author jld
date Sun, 04 Oct 2009 12:48:57 +0000
parents 54e4112a7eef
children a3997dc62092
files packages/kernel/current/ChangeLog packages/kernel/current/cdl/instrument.cdl
diffstat 2 files changed, 19 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/packages/kernel/current/ChangeLog
+++ b/packages/kernel/current/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-04  John Dallaway  <john@dallaway.org.uk>
+
+	* cdl/instrument.cdl: Add CYGDBG_KERNEL_INSTRUMENT_MLQ option. Issue
+	reported by Pieter-Jan Busschaert.
+
 2009-08-24  John Dallaway  <john@dallaway.org.uk>
 
 	* doc/kernel.sgml: Use "reinterpret_cast" throughout the C++ thread
--- a/packages/kernel/current/cdl/instrument.cdl
+++ b/packages/kernel/current/cdl/instrument.cdl
@@ -8,7 +8,7 @@
 ## ####ECOSGPLCOPYRIGHTBEGIN####                                            
 ## -------------------------------------------                              
 ## This file is part of eCos, the Embedded Configurable Operating System.   
-## Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+## Copyright (C) 1998, 1999, 2000, 2001, 2002, 2009 Free Software Foundation, Inc.
 ##
 ## eCos is free software; you can redistribute it and/or modify it under    
 ## the terms of the GNU General Public License as published by the Free     
@@ -245,6 +245,19 @@ cdl_option CYGDBG_KERNEL_INSTRUMENT_SMP 
         the code related to SMP operations."
 }
 
+cdl_option CYGDBG_KERNEL_INSTRUMENT_MLQ {
+    display       "Instrument multi-level queue scheduler operations"
+    default_value 1
+    active_if     CYGSEM_KERNEL_SCHED_MLQUEUE
+    description   "
+        It is possible to perform selective instrumentation at
+        run-time. It is also possible to disable instrumentation
+        in various kernel components at compile-time, thus
+        reducing the code size overheads. This option controls
+        whether or not instrumentation support is compiled into
+        the code for the multi-level queue scheduler."
+}
+
 cdl_option CYGDBG_KERNEL_INSTRUMENT_USER {
     display       "Support application-level instrumentation"
     default_value 1