Module: xenomai-forge
Branch: master
Commit: 496d0e523e59e9517c3265e66fa478297017fb7e
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=496d0e523e59e9517c3265e66fa478297017fb7e

Author: Philippe Gerum <r...@xenomai.org>
Date:   Tue Dec 13 11:26:56 2011 +0100

psos/testsuite: add missing traced section entry

---

 lib/psos/testsuite/rn-1.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/psos/testsuite/rn-1.c b/lib/psos/testsuite/rn-1.c
index d33cbfd..df35720 100644
--- a/lib/psos/testsuite/rn-1.c
+++ b/lib/psos/testsuite/rn-1.c
@@ -17,6 +17,8 @@ static void alloc_task(u_long a1, u_long a2, u_long a3, 
u_long a4)
        int ret, n;
        void *buf;
 
+       traceobj_enter(&trobj);
+
        srandom(0x11223344);
 
        for (n = 0;; n++) {
@@ -29,6 +31,8 @@ static void alloc_task(u_long a1, u_long a2, u_long a3, 
u_long a4)
                memset(buf, 0xaa, size);
                alloc_size += size;
        }
+
+       traceobj_exit(&trobj);
 }
 
 int main(int argc, char *const argv[])


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to