projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement event notifiers for tracepoints
[lttng-modules.git]
/
src
/
lttng-abi.c
diff --git
a/src/lttng-abi.c
b/src/lttng-abi.c
index 09e437884c8e54971dad9597d6f517cb8cf660fc..775f141714724224c4178e2288acda5da2c66101 100644
(file)
--- a/
src/lttng-abi.c
+++ b/
src/lttng-abi.c
@@
-909,11
+909,14
@@
skip_get_next:
}
read_count += copy_len;
}
}
read_count += copy_len;
}
-
return read_count
;
+
goto put_record
;
nodata:
*ppos = 0;
chan->iter.len_left = 0;
nodata:
*ppos = 0;
chan->iter.len_left = 0;
+
+put_record:
+ lib_ring_buffer_put_current_record(buf);
return read_count;
}
return read_count;
}
@@
-1801,6
+1804,7
@@
int lttng_abi_create_event_notifier(struct file *event_notifier_group_file,
switch (event_notifier_param->event.instrumentation) {
case LTTNG_KERNEL_TRACEPOINT:
switch (event_notifier_param->event.instrumentation) {
case LTTNG_KERNEL_TRACEPOINT:
+ break;
case LTTNG_KERNEL_KPROBE:
case LTTNG_KERNEL_UPROBE:
case LTTNG_KERNEL_KRETPROBE:
case LTTNG_KERNEL_KPROBE:
case LTTNG_KERNEL_UPROBE:
case LTTNG_KERNEL_KRETPROBE:
This page took
0.023671 seconds
and
4
git commands to generate.