Module: xenomai-3
Branch: stable-3.0.x
Commit: de8245b24000e9a1b514c182c603a65813e9b6dd
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=de8245b24000e9a1b514c182c603a65813e9b6dd

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jan 18 15:55:25 2016 +0100

lib/cobalt: add init trace points

---

 lib/cobalt/init.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lib/cobalt/init.c b/lib/cobalt/init.c
index 4e2ea07..f260744 100644
--- a/lib/cobalt/init.c
+++ b/lib/cobalt/init.c
@@ -118,11 +118,15 @@ static void low_init(void)
                early_panic("binding failed: %s", strerror(-ret));
        }
 
+       trace_me("connected to Cobalt");
+
        if (mlockall(MCL_CURRENT | MCL_FUTURE))
                early_panic("mlockall: %s", strerror(errno));
 
+       trace_me("memory locked");
        cobalt_check_features(f);
        cobalt_init_umm(f->vdso_offset);
+       trace_me("memory heaps mapped");
        cobalt_init_current_keys();
        cobalt_ticks_init(f->clock_freq);
 }


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to