projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: mm/page_alloc: fix tracepoint mm_page_alloc_zone_locked() (v5.19)
[lttng-modules.git]
/
src
/
lttng-context-need-reschedule.c
diff --git
a/src/lttng-context-need-reschedule.c
b/src/lttng-context-need-reschedule.c
index 42cf11db03992db5694c6c038fcb81464a152004..0ccbfc78793a2bdaee154430d6c38b3b30bf54a8 100644
(file)
--- a/
src/lttng-context-need-reschedule.c
+++ b/
src/lttng-context-need-reschedule.c
@@
-34,8
+34,7
@@
void need_reschedule_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx
{
uint8_t need_reschedule = test_tsk_need_resched(current);
{
uint8_t need_reschedule = test_tsk_need_resched(current);
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(need_reschedule));
- chan->ops->event_write(ctx, &need_reschedule, sizeof(need_reschedule));
+ chan->ops->event_write(ctx, &need_reschedule, sizeof(need_reschedule), lttng_alignof(need_reschedule));
}
static
}
static
This page took
0.030065 seconds
and
4
git commands to generate.