projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: adjust ranges for RHEL 8.2 and 8.3
[lttng-modules.git]
/
src
/
lttng-context-preemptible.c
diff --git
a/src/lttng-context-preemptible.c
b/src/lttng-context-preemptible.c
index 548e79f43cf7a9a36d6cb25de6eb154c5c5acba3..11c15792933d612ed40e1bbf6dd68d9ae6469ac9 100644
(file)
--- a/
src/lttng-context-preemptible.c
+++ b/
src/lttng-context-preemptible.c
@@
-46,8
+46,7
@@
void preemptible_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
WARN_ON_ONCE(pc < LTTNG_PREEMPT_DISABLE_NESTING);
if (pc == LTTNG_PREEMPT_DISABLE_NESTING)
preemptible = 1;
WARN_ON_ONCE(pc < LTTNG_PREEMPT_DISABLE_NESTING);
if (pc == LTTNG_PREEMPT_DISABLE_NESTING)
preemptible = 1;
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(preemptible));
- chan->ops->event_write(ctx, &preemptible, sizeof(preemptible));
+ chan->ops->event_write(ctx, &preemptible, sizeof(preemptible), lttng_alignof(preemptible));
}
static
}
static
This page took
0.023487 seconds
and
4
git commands to generate.