projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Disable open[at] bitwise enum in default build
[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 0b466363235b2a91e307645dbd1b2cef107e9419..b0227d474e4d5388138bf3e6ae36bc33eaf75fec 100644
(file)
--- a/
src/lttng-context-perf-counters.c
+++ b/
src/lttng-context-perf-counters.c
@@
-57,8
+57,7
@@
void perf_counter_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
*/
value = 0;
}
*/
value = 0;
}
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(value));
- chan->ops->event_write(ctx, &value, sizeof(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 defined(CONFIG_PERF_EVENTS) && (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,1,0))
This page took
0.02613 seconds
and
4
git commands to generate.