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-pid-ns.c
diff --git
a/src/lib/lttng-ust/lttng-context-pid-ns.c
b/src/lib/lttng-ust/lttng-context-pid-ns.c
index f1bb48faabd45f55c4882ff69f6b7573b47a7321..e944140eb28aec81237f8c0f14a60f25bcd12d90 100644
(file)
--- a/
src/lib/lttng-ust/lttng-context-pid-ns.c
+++ b/
src/lib/lttng-ust/lttng-context-pid-ns.c
@@
-77,6
+77,7
@@
void lttng_context_pid_ns_reset(void)
static
size_t pid_ns_get_size(void *priv __attribute__((unused)),
static
size_t pid_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;
@@
-88,8
+89,9
@@
size_t pid_ns_get_size(void *priv __attribute__((unused)),
static
void pid_ns_record(void *priv __attribute__((unused)),
static
void pid_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 pid_ns;
{
ino_t pid_ns;
@@
-99,9
+101,10
@@
void pid_ns_record(void *priv __attribute__((unused)),
static
void pid_ns_get_value(void *priv __attribute__((unused)),
static
void pid_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_pid_ns();
+ value->u.
u
64 = get_pid_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.026769 seconds
and
4
git commands to generate.