X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2Fgen-ust-events.c;h=d4f8a57bd8650355163eb59ce717caad955ab4b6;hb=a9cfc0f36bf8ade64df08392b03a9f15409dc01b;hp=91360afb97f06bc98040f2276a6c482d3b78ab61;hpb=bff988fac4f8d1ffab3f85f0eec9546c76e57706;p=lttng-tools.git diff --git a/tests/regression/tools/filtering/gen-ust-events.c b/tests/regression/tools/filtering/gen-ust-events.c index 91360afb9..d4f8a57bd 100644 --- a/tests/regression/tools/filtering/gen-ust-events.c +++ b/tests/regression/tools/filtering/gen-ust-events.c @@ -1,18 +1,8 @@ /* - * Copyright (C) - 2012 David Goulet + * Copyright (C) 2012 David Goulet * - * 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. + * SPDX-License-Identifier: LGPL-2.1-only * - * 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 @@ -38,7 +28,7 @@ int main(int argc, char **argv) double dbl = 2.0; float flt = 2222.0; /* Generate 30 events. */ - unsigned int nr_iter = 100; + int nr_iter = 100; useconds_t nr_usec = 0; if (argc >= 2) {