X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt-debugfs-abi.c;h=d4d1e3ea6457f104e650e77868b811ae07139a7a;hb=43880ee8e9d67a4058a230de31d0e2b3d605e05d;hp=86a1720068c49eb96d306f86711f6bb54bd22b65;hpb=b76dc1a0b1f4eb9f7ae754d2b44a431d9a24b1a5;p=lttng-modules.git diff --git a/ltt-debugfs-abi.c b/ltt-debugfs-abi.c index 86a17200..d4d1e3ea 100644 --- a/ltt-debugfs-abi.c +++ b/ltt-debugfs-abi.c @@ -544,7 +544,12 @@ int lttng_abi_create_event(struct file *channel_file, /* The event holds a reference on the channel */ atomic_long_inc(&channel_file->f_count); break; - case LTTNG_KERNEL_SYSCALLS: + case LTTNG_KERNEL_SYSCALL: + /* + * Only all-syscall tracing supported for now. + */ + if (event_param.name[0] != '\0') + return -EINVAL; ret = lttng_syscalls_register(channel, NULL); if (ret) goto fd_error;