From: Julien Desfossez Date: Mon, 17 Mar 2014 01:59:15 +0000 (-0400) Subject: Fix: rename of perf counter context X-Git-Tag: v2.5.0-rc1~63 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cba45edad79e4812a8dcac583778e25509c5e13b;p=lttng-tools.git Fix: rename of perf counter context Signed-off-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers Signed-off-by: David Goulet --- diff --git a/src/bin/lttng-sessiond/save.c b/src/bin/lttng-sessiond/save.c index 89b45ba83..18d303cac 100644 --- a/src/bin/lttng-sessiond/save.c +++ b/src/bin/lttng-sessiond/save.c @@ -678,7 +678,7 @@ int save_kernel_context(struct config_writer *writer, goto end; } - if (ctx->ctx == LTTNG_KERNEL_CONTEXT_PERF_COUNTER) { + if (ctx->ctx == LTTNG_KERNEL_CONTEXT_PERF_CPU_COUNTER) { ret = config_writer_open_element(writer, config_element_perf); if (ret) { ret = LTTNG_ERR_SAVE_IO_FAIL;