X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=tests%2Fsame_line_marker%2Fsame_line_marker.c;fp=tests%2Fsame_line_marker%2Fsame_line_marker.c;h=d9c0f226496a7e97d904806a017dc1fe529d4c38;hb=e73784f2f4fb998ff72a604b96e38122b998be60;hp=0000000000000000000000000000000000000000;hpb=235ae2d7303901d08aac894a901092aa56164775;p=ust.git diff --git a/tests/same_line_marker/same_line_marker.c b/tests/same_line_marker/same_line_marker.c new file mode 100644 index 0000000..d9c0f22 --- /dev/null +++ b/tests/same_line_marker/same_line_marker.c @@ -0,0 +1,24 @@ +/* Copyright (C) 2010 Oussama El Mfadli, Alexis Hallé + * + * 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 + +int main() +{ + trace_mark(ust, same_line_event, "%s","An event occured in the same line"); trace_mark(ust, same_line_event, "%s","An event occured in the same line"); + return 0; +}