X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Futils%2Ftestapp%2Fgen-ust-nevents-str%2Ftp.c;fp=tests%2Futils%2Ftestapp%2Fgen-ust-nevents-str%2Ftp.c;h=a73138be86a2ed43f8c48070806c4ea9bcb80958;hp=0000000000000000000000000000000000000000;hb=5400d18f909dbcf6cb8c794cdd33d0c2213fda18;hpb=dbfea1ab9883e8ee7b4addc43f2f25cda5fe9e6d diff --git a/tests/utils/testapp/gen-ust-nevents-str/tp.c b/tests/utils/testapp/gen-ust-nevents-str/tp.c new file mode 100644 index 000000000..a73138be8 --- /dev/null +++ b/tests/utils/testapp/gen-ust-nevents-str/tp.c @@ -0,0 +1,20 @@ +/* + * Copyright (C) - 2017 Philippe Proulx + * + * This library is free software; you can redistribute it and/or modify it + * under the terms of the GNU Lesser General Public License as published by the + * Free Software Foundation; version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License + * for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#define _LGPL_SOURCE +#define TRACEPOINT_CREATE_PROBES +#include "tp.h"