projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: timestamp_end field should include all events within sub-buffer
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-perf-counters.c
diff --git
a/liblttng-ust/lttng-context-perf-counters.c
b/liblttng-ust/lttng-context-perf-counters.c
index a15417ccde010435103ad5e0ef8621902fc6121b..4816f89b5a4a536e4cc2741e6e5d658379692baf 100644
(file)
--- a/
liblttng-ust/lttng-context-perf-counters.c
+++ b/
liblttng-ust/lttng-context-perf-counters.c
@@
-367,10
+367,7
@@
static
void perf_counter_get_value(struct lttng_ctx_field *field,
struct lttng_ctx_value *value)
{
void perf_counter_get_value(struct lttng_ctx_field *field,
struct lttng_ctx_value *value)
{
- uint64_t v;
-
- v = wrapper_perf_counter_read(field);
- value->u.s64 = v;
+ value->u.s64 = wrapper_perf_counter_read(field);
}
/* Called with UST lock held */
}
/* Called with UST lock held */
This page took
0.0243 seconds
and
4
git commands to generate.