projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync `show_inode_state()` macro with upstream stable kernels
[lttng-modules.git]
/
src
/
lttng-context-ipc-ns.c
diff --git
a/src/lttng-context-ipc-ns.c
b/src/lttng-context-ipc-ns.c
index 5a805f1e25e0223338d07addc9ad1076daf8539c..d5d0608f0bde307dcf21b96d68cc080e57d79ce5 100644
(file)
--- a/
src/lttng-context-ipc-ns.c
+++ b/
src/lttng-context-ipc-ns.c
@@
-36,7
+36,7
@@
size_t ipc_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, siz
static
void ipc_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
static
void ipc_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
struct lttng_kernel_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct lttng_
kernel_channel_buffer
*chan)
{
unsigned int ipc_ns_inum = 0;
{
unsigned int ipc_ns_inum = 0;
@@
-50,8
+50,7
@@
void ipc_ns_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
if (current->nsproxy)
ipc_ns_inum = current->nsproxy->ipc_ns->lttng_ns_inum;
if (current->nsproxy)
ipc_ns_inum = current->nsproxy->ipc_ns->lttng_ns_inum;
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(ipc_ns_inum));
- chan->ops->event_write(ctx, &ipc_ns_inum, sizeof(ipc_ns_inum));
+ chan->ops->event_write(ctx, &ipc_ns_inum, sizeof(ipc_ns_inum), lttng_alignof(ipc_ns_inum));
}
static
}
static
This page took
0.024538 seconds
and
4
git commands to generate.