projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix instrumentation of vmscan for older kernels
[lttng-modules.git]
/
lttng-abi.c
diff --git
a/lttng-abi.c
b/lttng-abi.c
index ab0a11286c7ba75f423e430085b616c0df4e76b0..8073e9880ff109b1efdc27dd835b82b19b8f3c47 100644
(file)
--- a/
lttng-abi.c
+++ b/
lttng-abi.c
@@
-968,14
+968,15
@@
int lttng_abi_create_event(struct file *channel_file,
if (ret)
goto fd_error;
event_fd = 0;
if (ret)
goto fd_error;
event_fd = 0;
- if (event_param->u.syscall.
dis
able) {
- ret = lttng_syscall_filter_
dis
able(channel,
+ if (event_param->u.syscall.
en
able) {
+ ret = lttng_syscall_filter_
en
able(channel,
event_param->name[0] == '\0' ?
NULL : event_param->name);
if (ret)
goto fd_error;
event_param->name[0] == '\0' ?
NULL : event_param->name);
if (ret)
goto fd_error;
+
} else {
} else {
- ret = lttng_syscall_filter_
en
able(channel,
+ ret = lttng_syscall_filter_
dis
able(channel,
event_param->name[0] == '\0' ?
NULL : event_param->name);
if (ret)
event_param->name[0] == '\0' ?
NULL : event_param->name);
if (ret)
@@
-1169,6
+1170,9
@@
old_ctx_end:
case LTTNG_KERNEL_OLD_DISABLE:
case LTTNG_KERNEL_DISABLE:
return lttng_channel_disable(channel);
case LTTNG_KERNEL_OLD_DISABLE:
case LTTNG_KERNEL_DISABLE:
return lttng_channel_disable(channel);
+ case LTTNG_KERNEL_SYSCALL_MASK:
+ return lttng_channel_syscall_mask(channel,
+ (struct lttng_kernel_syscall_mask __user *) arg);
default:
return -ENOIOCTLCMD;
}
default:
return -ENOIOCTLCMD;
}
This page took
0.025748 seconds
and
4
git commands to generate.