Module: xenomai-jki
Branch: queues/ftrace
Commit: 44b6f41c4f4ec2e8ebeee17f0427a2af47533b74
URL:    
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=44b6f41c4f4ec2e8ebeee17f0427a2af47533b74

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Wed Feb 13 21:03:41 2013 +0100

Remove support for LTTng

It will be do much effort to maintain wrappers that also work against
the old trace_mark entry points. Just provide empty trace_mark defines
for now so that we can gradually convert (or drop) existing
instrumentation.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 include/asm-generic/wrappers.h |   19 -------------------
 1 files changed, 0 insertions(+), 19 deletions(-)

diff --git a/include/asm-generic/wrappers.h b/include/asm-generic/wrappers.h
index dfdc6fa..f31f124 100644
--- a/include/asm-generic/wrappers.h
+++ b/include/asm-generic/wrappers.h
@@ -515,28 +515,9 @@ static inline void *kzalloc(size_t size, int flags)
        __val > __max ? __max: __val; })
 #endif /* < 2.6.25 */
 
-#if defined(CONFIG_LTT) || \
-    (LINUX_VERSION_CODE > KERNEL_VERSION(2,6,31) && defined(CONFIG_MARKERS))
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
-#define trace_mark(channel, ev, fmt, args...)  \
-       MARK(channel##_##ev, fmt , ##args)
-#else /* >= 2.6.24 */
-#include <linux/marker.h>
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27)
-#undef trace_mark
-#define trace_mark(channel, ev, fmt, args...)  \
-       __trace_mark(0, channel##_##ev, NULL, fmt, ## args)
-#endif /* < 2.6.27 */
-#endif /* >= 2.6.24 */
-
-#else /* !LTTng markers */
-
 #undef trace_mark
 #define trace_mark(channel, ev, fmt, args...)  do { } while (0)
 
-#endif /* !LTTng markers */
-
 #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22)
 #define KMALLOC_MAX_SIZE 131072
 #if BITS_PER_LONG == 64


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

Reply via email to