Fix: build failures when CONFIG_UPROBES is absent
[lttng-modules.git] / lttng-events.h
index f74f9d52cccb81302b18c242712cb2941009a4e1..f5a7d23dd7b89b40320281975fe656ceba78fd47 100644 (file)
@@ -785,6 +785,7 @@ void lttng_kprobes_destroy_private(struct lttng_event *event)
 
 int lttng_event_add_callsite(struct lttng_event *event,
        struct lttng_kernel_event_callsite *callsite);
+
 #ifdef CONFIG_UPROBES
 int lttng_uprobes_register(const char *name,
        int fd, struct lttng_event *event);
@@ -802,7 +803,7 @@ int lttng_uprobes_register(const char *name,
 
 static inline
 int lttng_uprobes_add_callsite(struct lttng_event *event,
-       struct lttng_kernel_callsite_uprobe *callsite)
+       struct lttng_kernel_event_callsite *callsite)
 {
        return -ENOSYS;
 }
This page took 0.022999 seconds and 4 git commands to generate.