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-perf-counters.c
diff --git
a/src/lttng-context-perf-counters.c
b/src/lttng-context-perf-counters.c
index e637bb75ca94c3ea2c991871ba2ce40617894f03..535784752a790604f4fe933774d5de23d9d01e05 100644
(file)
--- a/
src/lttng-context-perf-counters.c
+++ b/
src/lttng-context-perf-counters.c
@@
-38,7
+38,7
@@
void perf_counter_record(struct lttng_kernel_ctx_field *field,
struct perf_event *event;
uint64_t value;
- event = perf_field->e[ctx->cpu];
+ event = perf_field->e[ctx->
priv.reserve_
cpu];
if (likely(event)) {
if (unlikely(event->state == PERF_EVENT_STATE_ERROR)) {
value = 0;
This page took
0.024247 seconds
and
4
git commands to generate.