projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring: hide internal fields of ring buffer context
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-cpu-id.c
diff --git
a/liblttng-ust/lttng-context-cpu-id.c
b/liblttng-ust/lttng-context-cpu-id.c
index e518314d46d2842243c0be5467a48b258e489c7f..b3c64974ed37b43961f0a149b5d782332e44a9ae 100644
(file)
--- a/
liblttng-ust/lttng-context-cpu-id.c
+++ b/
liblttng-ust/lttng-context-cpu-id.c
@@
-42,8
+42,7
@@
void cpu_id_record(struct lttng_ust_ctx_field *field,
int cpu;
cpu = lttng_ust_get_cpu();
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(cpu));
- chan->ops->event_write(ctx, &cpu, sizeof(cpu));
+ chan->ops->event_write(ctx, &cpu, sizeof(cpu), lttng_ust_rb_alignof(cpu));
}
static
This page took
0.024642 seconds
and
5
git commands to generate.