Namespace all logging statements
[lttng-modules.git] / include / lttng / filter.h
index eb70fe365fcd0758e0e26ec4fad37106f48d22a1..e999a0572f2797bcda2eb59a2ef18f6e0cadf085 100644 (file)
 
 #ifdef DEBUG
 #define dbg_printk(fmt, args...)                               \
-       printk(KERN_DEBUG "[debug bytecode in %s:%s@%u] " fmt,          \
+       printk(KERN_DEBUG "LTTng: [debug bytecode in %s:%s@%u] " fmt,           \
                __FILE__, __func__, __LINE__, ## args)
 #else
 #define dbg_printk(fmt, args...)                               \
 do {                                                           \
        /* do nothing but check printf format */                \
        if (0)                                                  \
-               printk(KERN_DEBUG "[debug bytecode in %s:%s@%u] " fmt,  \
+               printk(KERN_DEBUG "LTTng: [debug bytecode in %s:%s@%u] " fmt,   \
                        __FILE__, __func__, __LINE__, ## args); \
 } while (0)
 #endif
@@ -138,7 +138,7 @@ static inline
 int vstack_push(struct vstack *stack)
 {
        if (stack->top >= FILTER_STACK_LEN - 1) {
-               printk(KERN_WARNING "Stack full\n");
+               printk(KERN_WARNING "LTTng: filter: Stack full\n");
                return -EINVAL;
        }
        ++stack->top;
@@ -149,7 +149,7 @@ static inline
 int vstack_pop(struct vstack *stack)
 {
        if (unlikely(stack->top < 0)) {
-               printk(KERN_WARNING "Stack empty\n");
+               printk(KERN_WARNING "LTTng: filter: Stack empty\n");
                return -EINVAL;
        }
        stack->top--;
This page took 0.024097 seconds and 4 git commands to generate.