X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=libkernelctl%2Flibkernelctl.h;h=25e5d0c1b2e2a13a91fd6da620d7ad3023a9d1c7;hb=e75cda3acbabc7570777d6e708f43231e7bc4cac;hp=930cb892e28c1ddda99c873da53ea3ee29e64c72;hpb=f3ed775ef4842019b396f06095b053c3a70bc3c8;p=lttng-tools.git diff --git a/libkernelctl/libkernelctl.h b/libkernelctl/libkernelctl.h index 930cb892e..25e5d0c1b 100644 --- a/libkernelctl/libkernelctl.h +++ b/libkernelctl/libkernelctl.h @@ -4,8 +4,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -24,6 +24,7 @@ #include "lttng-kernel.h" +int kernctl_add_context(int fd, struct lttng_kernel_context *ctx); int kernctl_buffer_flush(int fd); int kernctl_create_channel(int fd, struct lttng_channel_attr *chops); int kernctl_create_event(int fd, struct lttng_kernel_event *ev);