projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 2.12.4
[lttng-modules.git]
/
lttng-context-perf-counters.c
diff --git
a/lttng-context-perf-counters.c
b/lttng-context-perf-counters.c
index 43c4077bb7a766f46543d6e8090261497d47b1a0..9887c6d208a27917d6f467ec3234811722d8cba1 100644
(file)
--- a/
lttng-context-perf-counters.c
+++ b/
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));
}
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,
static
void overflow_callback(struct perf_event *event,
struct perf_sample_data *data,
@@
-321,7
+321,7
@@
int lttng_add_perf_counter_to_ctx(uint32_t type,
field->u.perf_counter = perf_field;
lttng_context_update(*ctx);
field->u.perf_counter = perf_field;
lttng_context_update(*ctx);
- wrapper_vmalloc_sync_
all
();
+ wrapper_vmalloc_sync_
mappings
();
return 0;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
return 0;
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
This page took
0.023837 seconds
and
4
git commands to generate.