projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring: ring buffer context
[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 47c4aa20f5d3dfec78a3b4317780122bcbcf9f57..7ae79a64347739ada4eec1172e22963e1553ddc0 100644
(file)
--- a/
src/lttng-context-cpu-id.c
+++ b/
src/lttng-context-cpu-id.c
@@
-33,7
+33,7
@@
void cpu_id_record(struct lttng_kernel_ctx_field *field,
{
int cpu;
- cpu = ctx->cpu;
+ cpu = ctx->
priv.reserve_
cpu;
lib_ring_buffer_align_ctx(ctx, lttng_alignof(cpu));
chan->ops->event_write(ctx, &cpu, sizeof(cpu));
}
This page took
0.025482 seconds
and
4
git commands to generate.