X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Ftest-nevents%2Fprog.c;h=4e709156491112c543972ca857ad2ebbcda27634;hb=37ee34e4d9b9363c758aa43255d71661900e89b0;hp=5e1c64ac614c9aab2135f9b814d4fd9ea083126d;hpb=909bc43f70be2b1d3efcefe33121ee1e99d9895b;p=ust.git diff --git a/tests/test-nevents/prog.c b/tests/test-nevents/prog.c index 5e1c64a..4e70915 100644 --- a/tests/test-nevents/prog.c +++ b/tests/test-nevents/prog.c @@ -1,3 +1,24 @@ +/* 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 + */ + +/* This test generates a trace of a certain number of events. It is used to + * check that no events are lost while tracing. + */ + #include #include #include @@ -9,8 +30,8 @@ int main() int i; for(i=0; i