Fix: lttng-save command producing wrong XML fields
[lttng-tools.git] / src / bin / lttng-sessiond / save.c
index 3c6b5b8a01931540cbd050a9600f969e0076b471..834b8739eaf9de28de7047537aca4444488d0f68 100644 (file)
@@ -215,13 +215,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.023871 seconds and 4 git commands to generate.