Cleanup: Rename abstract types to lttng_kernel_type
[lttng-modules.git] / src / probes / lttng-kprobes.c
index dc18f5077fc1091afab28119dc352deccc09287d..c4b089c64f7ce20176f4e6a05aae6e7e2f31263d 100644 (file)
@@ -91,7 +91,7 @@ int lttng_create_kprobe_event(const char *name, struct lttng_event *event)
                goto error_field;
        }
        field->name = "ip";
-       field->type.atype = atype_integer;
+       field->type.type = lttng_kernel_type_integer;
        field->type.u.integer.size = sizeof(unsigned long) * CHAR_BIT;
        field->type.u.integer.alignment = lttng_alignof(unsigned long) * CHAR_BIT;
        field->type.u.integer.signedness = lttng_is_signed_type(unsigned long);
@@ -172,7 +172,7 @@ int _lttng_kprobes_register(const char *symbol_name,
        lttng_kp->kp.addr = (void *) (unsigned long) addr;
 
        /*
-        * Ensure the memory we just allocated don't event_notifier page faults.
+        * Ensure the memory we just allocated don't notify page faults.
         * Well.. kprobes itself puts the page fault handler on the blacklist,
         * but we can never be too careful.
         */
This page took 0.023174 seconds and 4 git commands to generate.