Import lib ring buffer into LTTng modules
[lttng-modules.git] / ltt-probes.c
index 9870b9d8bfd380fb71277c1146fc9feea77aa6b7..f8f1ef225b417473fb0c6a69fc969fe4cbac40bd 100644 (file)
@@ -21,13 +21,13 @@ static LIST_HEAD(probe_list);
 static DEFINE_MUTEX(probe_mutex);
 static struct kmem_cache *probe_cache;
 
-static void *find_probe(const char *name)
+static struct ltt_probe *find_probe(const char *name)
 {
        struct ltt_probe *probe;
 
        list_for_each_entry(probe, &probe_list, list) {
                if (!strcmp(probe->name, name))
-                       return probe->cb;
+                       return probe;
        }
        return NULL;
 }
This page took 0.023412 seconds and 4 git commands to generate.