summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-09-22 08:22:55 +1000
committerChris Johns <chrisj@rtems.org>2014-09-22 08:22:55 +1000
commit75480f095b87b66b948a253bd8379e751bc644b8 (patch)
tree0326df711237ce546a029e425182d7da26f4803f
parent5f80bc480047e847f59443fab40d3b887747633e (diff)
Add more trace builds for other examples.
-rw-r--r--file_io/fdopen/fdopen.ini29
-rw-r--r--file_io/fdopen/wscript9
-rw-r--r--filesystem/fat_ramdisk/fat_ramdisk.ini29
-rw-r--r--filesystem/fat_ramdisk/wscript9
m---------rtems_waf0
5 files changed, 75 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')
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
-Subproject db8c6f0c31efd09781e1804fcb2f3777d790420
+Subproject 7bcf72b72ec42f2feedac5f5cc5f2f57d50b5d2