summaryrefslogtreecommitdiff
path: root/linkers/test-trace.ini
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-03-23 17:19:01 +1100
committerChris Johns <chrisj@rtems.org>2015-03-23 17:19:01 +1100
commit29ad92c524be36364ad2e987a3bcf16f753dd88a (patch)
treef317589f7d50624047bb3a9eee66e2a939d2d5cf /linkers/test-trace.ini
parent8531776882b69aef9db276cbf9a18fd614bda9e5 (diff)
trace-linker: Add options, names, enables, and triggers.
Move the options to a section so an option can be a single line. This gives the user the ability to localise specific configurations in a top level configuration file. Provide support for names, enables and triggers. Names is an array of names of the trace functions. The table is sorted and you can use an index to reference the trace function. There is a @FUNC_INDEX@ macro that is replaced with the trace function's index. Enables is a bitmap of default trace enabled states for all trace functions. Triggers is a bitmap of default triggers bit states for each trace function. Generators can use these bitmaps to control functionality. Currently the bitmaps are const but a generator option can be added to disable the const and allow the capture engine access to update the bitmaps.
Diffstat (limited to '')
-rw-r--r--linkers/test-trace.ini15
1 files changed, 11 insertions, 4 deletions
diff --git a/linkers/test-trace.ini b/linkers/test-trace.ini
index a6205d2..64da320 100644
--- a/linkers/test-trace.ini
+++ b/linkers/test-trace.ini
@@ -13,14 +13,14 @@ name = RTEMS Trace Linker Test
;
bsp = sparc/sis
;
-; Options can be defined here or on the command line.
-;
-options = all-funcs, verbose
-;
; Functions to trace.
;
traces = test-trace, test-trace-funcs, rtems-api-task
;
+; Specify the options.
+;
+options = test-options
+;
; Define the function sets. These are the function's that can be
; added to the trace lists.
;
@@ -31,6 +31,13 @@ functions = test-trace-funcs, rtems-api
include = rtems.ini, rtld-base.ini
;
+; Options can be defined here or on the command line.
+;
+[trace-options]
+all-funcs = true
+verbose = true
+
+;
; User application trace example.
;
[test-trace]