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-user-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-user-ns.c
b/src/lib/lttng-ust/lttng-context-user-ns.c
index 97612bc60dbeec80dfd7c4b8624886c30d5f5914..813e357bfc24f89c711ace45ef2ae7592f489bf1 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-user-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-user-ns.c
@@
-74,6
+74,7
@@
void lttng_context_user_ns_reset(void)
static
size_t user_ns_get_size(void *priv __attribute__((unused)),
static
size_t user_ns_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;
@@
-85,8
+86,9
@@
size_t user_ns_get_size(void *priv __attribute__((unused)),
static
void user_ns_record(void *priv __attribute__((unused)),
static
void user_ns_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)
{
ino_t user_ns;
{
ino_t user_ns;
@@
-96,9
+98,10
@@
void user_ns_record(void *priv __attribute__((unused)),
static
void user_ns_get_value(void *priv __attribute__((unused)),
static
void user_ns_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_user_ns();
+ value->u.
u
64 = get_user_ns();
}
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.024827 seconds
and
4
git commands to generate.