projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for kernels < 4.4 from rpc instrumentation
[lttng-modules.git]
/
src
/
lttng-context-perf-counters.c
diff --git
a/src/lttng-context-perf-counters.c
b/src/lttng-context-perf-counters.c
index ac79d3eeb72872f998989a9296f3c246ba831d9d..a33a3fcafa26e274b2186912f87b33599fec800a 100644
(file)
--- a/
src/lttng-context-perf-counters.c
+++ b/
src/lttng-context-perf-counters.c
@@
-60,7
+60,7
@@
void perf_counter_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
chan->ops->event_write(ctx, &value, sizeof(value), lttng_alignof(value));
}
chan->ops->event_write(ctx, &value, sizeof(value), lttng_alignof(value));
}
-#if
defined(CONFIG_PERF_EVENTS) && (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,1,0))
+#if
def CONFIG_PERF_EVENTS
static
void overflow_callback(struct perf_event *event,
struct perf_sample_data *data,
static
void overflow_callback(struct perf_event *event,
struct perf_sample_data *data,
This page took
0.023124 seconds
and
4
git commands to generate.