[examples-v2 commit] Add more trace builds for other examples.
Chris Johns
chrisj at rtems.org
Sun Sep 21 22:14:01 UTC 2014
Module: examples-v2
Branch: master
Commit: 75480f095b87b66b948a253bd8379e751bc644b8
Changeset: http://git.rtems.org/examples-v2/commit/?id=75480f095b87b66b948a253bd8379e751bc644b8
Author: Chris Johns <chrisj at rtems.org>
Date: Mon Sep 22 08:22:55 2014 +1000
Add more trace builds for other examples.
---
file_io/fdopen/fdopen.ini | 29 +++++++++++++++++++++++++++++
file_io/fdopen/wscript | 9 ++++++++-
filesystem/fat_ramdisk/fat_ramdisk.ini | 29 +++++++++++++++++++++++++++++
filesystem/fat_ramdisk/wscript | 9 +++++++++
rtems_waf | 2 +-
5 files changed, 76 insertions(+), 2 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')
diff --git a/filesystem/fat_ramdisk/fat_ramdisk.ini b/filesystem/fat_ramdisk/fat_ramdisk.ini
new file mode 100644
index 0000000..beb6235
--- /dev/null
+++ b/filesystem/fat_ramdisk/fat_ramdisk.ini
@@ -0,0 +1,29 @@
+;
+; RTEMS Trace Linker Configuration: FAT File system
+;
+[tracer]
+;
+; Name of the trace.
+;
+name = FAT Filesystem 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/filesystem/fat_ramdisk/wscript b/filesystem/fat_ramdisk/wscript
index 51ff70c..f5d5016 100644
--- a/filesystem/fat_ramdisk/wscript
+++ b/filesystem/fat_ramdisk/wscript
@@ -46,3 +46,12 @@ def build(bld):
defines = bld.defines,
cflags = cflags,
source = 'init.c FilesystemImage')
+
+ if rtems.check_env(bld, 'RTEMS_TLD'):
+ bld(features = 'c rtrace',
+ target = 'fat_ramdisk.texe',
+ includes = bld.includes,
+ defines = bld.defines,
+ cflags = cflags,
+ source = 'init.c FilesystemImage',
+ rtrace_cfg = '../../filesystem/fat_ramdisk/fat_ramdisk.ini')
diff --git a/rtems_waf b/rtems_waf
index db8c6f0..7bcf72b 160000
--- a/rtems_waf
+++ b/rtems_waf
@@ -1 +1 @@
-Subproject commit db8c6f0c31efd09781e1804fcb2f3777d7904209
+Subproject commit 7bcf72b72ec42f2feedac5f5cc5f2f57d50b5d2b
More information about the vc
mailing list