projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement dynamic types, and application context provider support
[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 83b371c5ba91431f47f44ce6880a4087d2e0244c..97ddf977d1ba17706ae337bb66d3c1241da13038 100644
(file)
--- a/
liblttng-ust/lttng-context-perf-counters.c
+++ b/
liblttng-ust/lttng-context-perf-counters.c
@@
-69,7
+69,7
@@
struct lttng_perf_counter_field {
static pthread_key_t perf_counter_key;
static
static pthread_key_t perf_counter_key;
static
-size_t perf_counter_get_size(size_t offset)
+size_t perf_counter_get_size(s
truct lttng_ctx_field *field, s
ize_t offset)
{
size_t size = 0;
{
size_t size = 0;
@@
-280,12
+280,12
@@
void perf_counter_record(struct lttng_ctx_field *field,
static
void perf_counter_get_value(struct lttng_ctx_field *field,
static
void perf_counter_get_value(struct lttng_ctx_field *field,
-
union
lttng_ctx_value *value)
+
struct
lttng_ctx_value *value)
{
uint64_t v;
v = wrapper_perf_counter_read(field);
{
uint64_t v;
v = wrapper_perf_counter_read(field);
- value->s64 = v;
+ value->
u.
s64 = v;
}
/* Called with UST lock held */
}
/* Called with UST lock held */
This page took
0.025231 seconds
and
4
git commands to generate.