projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New public API for lttng control
[lttng-tools.git]
/
ltt-sessiond
/
trace.c
diff --git
a/ltt-sessiond/trace.c
b/ltt-sessiond/trace.c
index e0aeac685e28a312b71fc773fa4ab05ca3eccb89..db829ce726ab4f0cb25cae05f4a47e3f1ed14336 100644
(file)
--- a/
ltt-sessiond/trace.c
+++ b/
ltt-sessiond/trace.c
@@
-175,12
+175,12
@@
struct ltt_kernel_event *trace_create_kernel_event(struct lttng_event *ev)
}
switch (ev->type) {
}
switch (ev->type) {
- case LTTNG_EVENT_
K
PROBE:
+ case LTTNG_EVENT_PROBE:
attr->instrumentation = LTTNG_KERNEL_KPROBE;
attr->instrumentation = LTTNG_KERNEL_KPROBE;
- attr->u.kprobe.addr = ev->attr.
k
probe.addr;
- attr->u.kprobe.offset = ev->attr.
k
probe.offset;
+ attr->u.kprobe.addr = ev->attr.probe.addr;
+ attr->u.kprobe.offset = ev->attr.probe.offset;
strncpy(attr->u.kprobe.symbol_name,
strncpy(attr->u.kprobe.symbol_name,
- ev->attr.
k
probe.symbol_name, LTTNG_SYM_NAME_LEN);
+ ev->attr.probe.symbol_name, LTTNG_SYM_NAME_LEN);
break;
case LTTNG_EVENT_FUNCTION:
attr->instrumentation = LTTNG_KERNEL_FUNCTION;
break;
case LTTNG_EVENT_FUNCTION:
attr->instrumentation = LTTNG_KERNEL_FUNCTION;
This page took
0.023291 seconds
and
4
git commands to generate.