Implement event notifier probes
[lttng-modules.git] / include / lttng / filter.h
index eb70fe365fcd0758e0e26ec4fad37106f48d22a1..a9477870491d5bace0ee03eadb7be31a9bedd3bc 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--;
@@ -235,7 +235,7 @@ struct estack {
 const char *lttng_filter_print_op(enum filter_op op);
 
 int lttng_filter_validate_bytecode(struct bytecode_runtime *bytecode);
-int lttng_filter_specialize_bytecode(struct lttng_event *event,
+int lttng_filter_specialize_bytecode(const struct lttng_event_desc *event_desc,
                struct bytecode_runtime *bytecode);
 
 uint64_t lttng_filter_false(void *filter_data,
This page took 0.024143 seconds and 4 git commands to generate.