kprobes and ftrace support build fixes
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 21 May 2011 16:27:50 +0000 (12:27 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sat, 21 May 2011 16:27:50 +0000 (12:27 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
ltt-events.h
probes/lttng-ftrace.c

index 0b4638975cd718fc9e5e01885ed5f1ed89e03f1e..015bbffdd063102b46e42761c06f72928aa6aa6c 100644 (file)
@@ -281,6 +281,7 @@ int lttng_kprobes_register(const char *name,
        return -ENOSYS;
 }
 
+static inline
 void lttng_kprobes_unregister(struct ltt_event *event)
 {
 }
index f583ab6ee9afd2c1d25cd23a657345f07e082137..da6d79c1078ae537f7d1f3d63a89c0275c9d5321 100644 (file)
@@ -146,7 +146,7 @@ void lttng_ftrace_unregister(struct ltt_event *event)
        wrapper_unregister_ftrace_function_probe(event->u.ftrace.symbol_name,
                        &lttng_ftrace_ops, event);
        kfree(event->u.ftrace.symbol_name);
-       kfree(desc->fields);
+       kfree(event->desc->fields);
        kfree(event->desc->name);
        kfree(event->desc);
 }
This page took 0.03297 seconds and 4 git commands to generate.