projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Write context fields into trace
[lttng-modules.git]
/
probes
/
lttng-ftrace.c
diff --git
a/probes/lttng-ftrace.c
b/probes/lttng-ftrace.c
index c18a4702c90be4d8df6ef06490b2445385ed7e4d..476d6bce8e50600e0a6691317e3fd39d044c1c1b 100644
(file)
--- a/
probes/lttng-ftrace.c
+++ b/
probes/lttng-ftrace.c
@@
-36,7
+36,7
@@
void lttng_ftrace_handler(unsigned long ip, unsigned long parent_ip, void **data
if (!ACCESS_ONCE(chan->session->active))
return;
if (!ACCESS_ONCE(chan->session->active))
return;
- lib_ring_buffer_ctx_init(&ctx, chan->chan,
NULL
,
+ lib_ring_buffer_ctx_init(&ctx, chan->chan,
event
,
sizeof(payload), ltt_alignof(payload), -1);
ret = chan->ops->event_reserve(&ctx, event->id);
if (ret < 0)
sizeof(payload), ltt_alignof(payload), -1);
ret = chan->ops->event_reserve(&ctx, event->id);
if (ret < 0)
This page took
0.023693 seconds
and
4
git commands to generate.