summaryrefslogtreecommitdiff
path: root/linkers/test-trace.ini
diff options
context:
space:
mode:
Diffstat (limited to 'linkers/test-trace.ini')
-rw-r--r--linkers/test-trace.ini60
1 files changed, 60 insertions, 0 deletions
diff --git a/linkers/test-trace.ini b/linkers/test-trace.ini
new file mode 100644
index 0000000..a6205d2
--- /dev/null
+++ b/linkers/test-trace.ini
@@ -0,0 +1,60 @@
+;
+; RTEMS Trace Linker Test Configuration.
+;
+; We must provide a top level trace section.
+;
+[tracer]
+;
+; Name of the trace.
+;
+name = RTEMS Trace Linker Test
+;
+; The BSP.
+;
+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
+;
+; Define the function sets. These are the function's that can be
+; added to the trace lists.
+;
+functions = test-trace-funcs, rtems-api
+;
+; Include RTEMS Trace support.
+;
+include = rtems.ini, rtld-base.ini
+
+;
+; User application trace example.
+;
+[test-trace]
+generator = printf-generator
+; Just here for testing.
+trace = test_trace_3
+
+[test-trace-funcs]
+; Parsed via the 'function-set', not parse as a 'trace'.
+headers = test-headers
+header = '#include "test-trace-2.h"'
+defines = test-defines
+define = "#define TEST_TRACE_2 2"
+signatures = test-signatures
+; Parsed via the 'trace', not parsed as a function-set
+trace = test_trace_1, test_trace_2
+
+[test-headers]
+header = '#include "test-trace-1.h"'
+
+[test-defines]
+define = "#define TEST_TRACE_1 1"
+
+[test-signatures]
+test_trace_1 = void, int
+test_trace_2 = test_type_2, test_type_1
+test_trace_3 = float, float*