X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Ffork%2Ffork2.c;h=8a14e1a20c22c04a1ffa203f6dc407e7fa468951;hb=37ee34e4d9b9363c758aa43255d71661900e89b0;hp=7d0dda7dc2224fa89f573e3b735485e8fb08c7c0;hpb=e55f3ac9cbde0a19842f003f904f2731d88f2a3c;p=ust.git diff --git a/tests/fork/fork2.c b/tests/fork/fork2.c index 7d0dda7..8a14e1a 100644 --- a/tests/fork/fork2.c +++ b/tests/fork/fork2.c @@ -1,15 +1,30 @@ +/* Copyright (C) 2009 Pierre-Marc Fournier + * + * 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; either + * version 2.1 of the License, or (at your option) any later version. + * + * 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 + */ + #include #include -#include "marker.h" +#include int main() { printf("IN FORK2\n"); - trace_mark(ust, after_exec, MARK_NOARGS); + trace_mark(after_exec, MARK_NOARGS); return 0; } - -MARKER_LIB;