X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fbenchmark%2Fbench.c;h=212baefffefeeb108bfe5a091e9cc9981cdbc708;hb=46adf653a1d01b8e87baa30cc9b92616eee1a788;hp=4e9c355126cb07eab69b62003d64f03afbd29c91;hpb=b64d025089c6d40963e029cff23efed4ed1f2f22;p=lttng-ust.git diff --git a/tests/benchmark/bench.c b/tests/benchmark/bench.c index 4e9c3551..212baeff 100644 --- a/tests/benchmark/bench.c +++ b/tests/benchmark/bench.c @@ -2,6 +2,22 @@ * bench.c * * LTTng Userspace Tracer (UST) - benchmark tool + * + * Copyright 2010 - Douglas Santos + * + * 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. + * + * This program 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 General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #define _GNU_SOURCE @@ -29,7 +45,7 @@ void do_stuff(void) time(NULL); #ifdef MARKER - trace_mark(event, "event %d", v); + ust_marker(event, "event %d", v); #endif }