fix: version range for overflow_callback
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 7 Jul 2020 18:07:01 +0000 (14:07 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 7 Jul 2020 20:33:16 +0000 (16:33 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: I1b8f1d59552a1723d3f4ed74780a2b57d13d0e52

src/lttng-context-perf-counters.c

index 5784f75e30625e52693769902a578fa21ae13063..bc860e67465e508ba48451cd6414d51cbad785f3 100644 (file)
@@ -59,7 +59,7 @@ void perf_counter_record(struct lttng_ctx_field *field,
        chan->ops->event_write(ctx, &value, sizeof(value));
 }
 
-#if defined(CONFIG_PERF_EVENTS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,0,99))
+#if defined(CONFIG_PERF_EVENTS) && (LINUX_VERSION_CODE >= KERNEL_VERSION(3,1,0))
 static
 void overflow_callback(struct perf_event *event,
                       struct perf_sample_data *data,
This page took 0.025664 seconds and 4 git commands to generate.