projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: bytecode validator: reject specialized load instructions
[lttng-ust.git]
/
src
/
lib
/
lttng-ust
/
lttng-context-veuid.c
diff --git
a/src/lib/lttng-ust/lttng-context-veuid.c
b/src/lib/lttng-ust/lttng-context-veuid.c
index 505a1b636d34b54e8f27d777188871a3e26d0bf5..af2bd1a17ccc39192b6474bd56465cf4106da358 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-veuid.c
+++ b/
src/lib/lttng-ust/lttng-context-veuid.c
@@
-63,6
+63,7
@@
void lttng_context_veuid_reset(void)
static
size_t veuid_get_size(void *priv __attribute__((unused)),
static
size_t veuid_get_size(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
size_t offset)
{
size_t size = 0;
size_t offset)
{
size_t size = 0;
@@
-74,8
+75,9
@@
size_t veuid_get_size(void *priv __attribute__((unused)),
static
void veuid_record(void *priv __attribute__((unused)),
static
void veuid_record(void *priv __attribute__((unused)),
- struct lttng_ust_ring_buffer_ctx *ctx,
- struct lttng_ust_channel_buffer *chan)
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
+ struct lttng_ust_ring_buffer_ctx *ctx,
+ struct lttng_ust_channel_buffer *chan)
{
uid_t veuid;
{
uid_t veuid;
@@
-85,9
+87,10
@@
void veuid_record(void *priv __attribute__((unused)),
static
void veuid_get_value(void *priv __attribute__((unused)),
static
void veuid_get_value(void *priv __attribute__((unused)),
+ struct lttng_ust_probe_ctx *probe_ctx __attribute__((unused)),
struct lttng_ust_ctx_value *value)
{
struct lttng_ust_ctx_value *value)
{
- value->u.
s
64 = get_veuid();
+ value->u.
u
64 = get_veuid();
}
static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
}
static const struct lttng_ust_ctx_field *ctx_field = lttng_ust_static_ctx_field(
This page took
0.024117 seconds
and
4
git commands to generate.