From 75480f095b87b66b948a253bd8379e751bc644b8 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 22 Sep 2014 08:22:55 +1000 Subject: Add more trace builds for other examples. --- file_io/fdopen/fdopen.ini | 29 +++++++++++++++++++++++++++++ file_io/fdopen/wscript | 9 ++++++++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 file_io/fdopen/fdopen.ini (limited to 'file_io') diff --git a/file_io/fdopen/fdopen.ini b/file_io/fdopen/fdopen.ini new file mode 100644 index 0000000..a156438 --- /dev/null +++ b/file_io/fdopen/fdopen.ini @@ -0,0 +1,29 @@ +; +; RTEMS Trace Linker Configuration: FD Open +; +[tracer] +; +; Name of the trace. +; +name = FD Open RTEMS Tracer +; +; Options can be defined here or on the command line. +; +;options = verbose, verbose +options = dump-on-error +; +; Functions to trace. +; +traces = rtems-score-object-all +traces = rtems-score-thread-all +traces = rtems-score-heap-all +traces = rtems-score-coremutex-all +; +; Define the function sets. These are the function's that can be +; added to the trace lists. +; +functions = rtems-score +; +; Include RTEMS Trace support. +; +include = rtems.ini, rtld-base.ini diff --git a/file_io/fdopen/wscript b/file_io/fdopen/wscript index 063f4bc..80f9506 100644 --- a/file_io/fdopen/wscript +++ b/file_io/fdopen/wscript @@ -4,5 +4,12 @@ def build(bld): rtems.build(bld) bld(features = 'c cprogram', - target = 'test.exe', + target = 'fdopen.exe', source = ['test.c']) + + if rtems.check_env(bld, 'RTEMS_TLD'): + bld(features = 'c rtrace', + target = 'fdopen.texe', + source = ['test.c'], + rtrace_cfg = '../../file_io/fdopen/fdopen.ini', + rtrace_wrapper = 'fdopen_wrapper') -- cgit v1.2.3