diff options
author | Chris Johns <chrisj@rtems.org> | 2014-09-22 08:22:55 +1000 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2014-09-22 08:22:55 +1000 |
commit | 75480f095b87b66b948a253bd8379e751bc644b8 (patch) | |
tree | 0326df711237ce546a029e425182d7da26f4803f /file_io | |
parent | Add a deep trace of the both hello world. (diff) | |
download | rtems-examples-75480f095b87b66b948a253bd8379e751bc644b8.tar.bz2 |
Add more trace builds for other examples.
Diffstat (limited to 'file_io')
-rw-r--r-- | file_io/fdopen/fdopen.ini | 29 | ||||
-rw-r--r-- | file_io/fdopen/wscript | 9 |
2 files changed, 37 insertions, 1 deletions
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') |