projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: block: remove bdevname (v6.0)
[lttng-modules.git]
/
src
/
lttng-context-nice.c
diff --git
a/src/lttng-context-nice.c
b/src/lttng-context-nice.c
index 031d39d95143b696b9880aed07c41a742dfc9c61..91feb8d1258816c6551d1060c01a6094065cc11e 100644
(file)
--- a/
src/lttng-context-nice.c
+++ b/
src/lttng-context-nice.c
@@
-28,14
+28,13
@@
size_t nice_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_
static
void nice_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
static
void nice_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
- struct l
ib
_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct l
ttng_kernel
_ring_buffer_ctx *ctx,
+ struct lttng_
kernel_channel_buffer
*chan)
{
int nice;
nice = task_nice(current);
{
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
}
static
This page took
0.022911 seconds
and
4
git commands to generate.