projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Copyright ownership transfer
[lttng-modules.git]
/
src
/
lttng-context-nice.c
diff --git
a/src/lttng-context-nice.c
b/src/lttng-context-nice.c
index a6847705adca8ca47074174200d2908ff6951bba..91feb8d1258816c6551d1060c01a6094065cc11e 100644
(file)
--- a/
src/lttng-context-nice.c
+++ b/
src/lttng-context-nice.c
@@
-34,8
+34,7
@@
void nice_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
int nice;
nice = task_nice(current);
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(nice));
- chan->ops->event_write(ctx, &nice, sizeof(nice));
+ chan->ops->event_write(ctx, &nice, sizeof(nice), lttng_alignof(nice));
}
static
This page took
0.025029 seconds
and
4
git commands to generate.