Fix: lttng-save command producing wrong XML fields
[lttng-tools.git] / src / bin / lttng-sessiond / save.c
index 1a879b21429892e1f1af1465af9c790b5f7270b5..fea3a74155e07179f0a9fbc28409c1ad673180e7 100644 (file)
@@ -174,13 +174,13 @@ const char *get_kernel_instrumentation_string(
                instrumentation_string = config_event_type_tracepoint;
                break;
        case LTTNG_KERNEL_KPROBE:
-               instrumentation_string = config_event_type_kprobe;
+               instrumentation_string = config_event_type_probe;
                break;
        case LTTNG_KERNEL_FUNCTION:
-               instrumentation_string = config_event_type_function;
+               instrumentation_string = config_event_type_function_entry;
                break;
        case LTTNG_KERNEL_KRETPROBE:
-               instrumentation_string = config_event_type_kretprobe;
+               instrumentation_string = config_event_type_function;
                break;
        case LTTNG_KERNEL_NOOP:
                instrumentation_string = config_event_type_noop;
This page took 0.024094 seconds and 4 git commands to generate.