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-preemptible.c
diff --git
a/src/lttng-context-preemptible.c
b/src/lttng-context-preemptible.c
index 41b8ae5cd71471dbe6f2ea85ae6b234e6cd0ba0b..11c15792933d612ed40e1bbf6dd68d9ae6469ac9 100644
(file)
--- a/
src/lttng-context-preemptible.c
+++ b/
src/lttng-context-preemptible.c
@@
-37,8
+37,8
@@
size_t preemptible_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx
static
void preemptible_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
static
void preemptible_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
- struct l
ib
_ring_buffer_ctx *ctx,
- struct lttng_
channel
*chan)
+ struct l
ttng_kernel
_ring_buffer_ctx *ctx,
+ struct lttng_
kernel_channel_buffer
*chan)
{
int pc = preempt_count();
uint8_t preemptible = 0;
{
int pc = preempt_count();
uint8_t preemptible = 0;
@@
-46,8
+46,7
@@
void preemptible_record(void *priv, struct lttng_kernel_probe_ctx *probe_ctx,
WARN_ON_ONCE(pc < LTTNG_PREEMPT_DISABLE_NESTING);
if (pc == LTTNG_PREEMPT_DISABLE_NESTING)
preemptible = 1;
WARN_ON_ONCE(pc < LTTNG_PREEMPT_DISABLE_NESTING);
if (pc == LTTNG_PREEMPT_DISABLE_NESTING)
preemptible = 1;
- lib_ring_buffer_align_ctx(ctx, lttng_alignof(preemptible));
- chan->ops->event_write(ctx, &preemptible, sizeof(preemptible));
+ chan->ops->event_write(ctx, &preemptible, sizeof(preemptible), lttng_alignof(preemptible));
}
static
}
static
This page took
0.025201 seconds
and
4
git commands to generate.