projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: all functions have declarations (-Wmissing-prototypes -Wold-style-definition)
[lttng-ust.git]
/
liblttng-ust
/
lttng-context-pthread-id.c
diff --git
a/liblttng-ust/lttng-context-pthread-id.c
b/liblttng-ust/lttng-context-pthread-id.c
index d26cf90820b2c4a53d6c2627f97316e6e84a3a95..b6aa547062425689469c9bd1dd2eb63f80ab1de6 100644
(file)
--- a/
liblttng-ust/lttng-context-pthread-id.c
+++ b/
liblttng-ust/lttng-context-pthread-id.c
@@
-34,8
+34,7
@@
void pthread_id_record(struct lttng_ust_ctx_field *field,
unsigned long pthread_id;
pthread_id = (unsigned long) pthread_self();
unsigned long pthread_id;
pthread_id = (unsigned long) pthread_self();
- lttng_ust_lib_ring_buffer_align_ctx(ctx, lttng_ust_rb_alignof(pthread_id));
- chan->ops->event_write(ctx, &pthread_id, sizeof(pthread_id));
+ chan->ops->event_write(ctx, &pthread_id, sizeof(pthread_id), lttng_ust_rb_alignof(pthread_id));
}
static
}
static
This page took
0.027514 seconds
and
4
git commands to generate.