X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Flttng-context-perf-counters.c;h=bc860e67465e508ba48451cd6414d51cbad785f3;hb=d6147441ba91c6d1cb2e64fa11f732b3e9f6d3e5;hp=5784f75e30625e52693769902a578fa21ae13063;hpb=cfa6cc1d0f01c2cfcc1a679abf3a6572d411c309;p=lttng-modules.git diff --git a/src/lttng-context-perf-counters.c b/src/lttng-context-perf-counters.c index 5784f75e..bc860e67 100644 --- a/src/lttng-context-perf-counters.c +++ b/src/lttng-context-perf-counters.c @@ -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,