projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring: combine common code into lttng_syscall_table_set_wildcard_all
[lttng-modules.git]
/
src
/
lttng-context-cpu-id.c
diff --git
a/src/lttng-context-cpu-id.c
b/src/lttng-context-cpu-id.c
index 24241dee7f511b5ecdd47f4b7682f4daf7e20d08..30247c31d198fa26baada26a492e2badfd82ca32 100644
(file)
--- a/
src/lttng-context-cpu-id.c
+++ b/
src/lttng-context-cpu-id.c
@@
-34,8
+34,7
@@
void cpu_id_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
int cpu;
cpu = ctx->priv.reserve_cpu;
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(cpu));
- chan->ops->event_write(ctx, &cpu, sizeof(cpu));
+ chan->ops->event_write(ctx, &cpu, sizeof(cpu), lttng_alignof(cpu));
}
static
This page took
0.023945 seconds
and
4
git commands to generate.