marker: remove printf and add debug msg
[ust.git] / libust / marker.h
index 25c27f62ca774020ae43c7c7e2e86e52810af8d2..146409c552b8ab6454228f11d8fefffe586982ba 100644 (file)
@@ -6,8 +6,19 @@
  * (C) Copyright 2006 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
  * (C) Copyright 2009 Pierre-Marc Fournier <pierre-marc dot fournier at polymtl dot ca>
  *
- * This file is released under the GPLv2.
- * See the file COPYING for more details.
+ * 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
  */
 
 #ifndef _LINUX_MARKER_H
@@ -20,6 +31,7 @@
 #include "kernelcompat.h"
 #include "compiler.h"
 #include <kcompat/list.h>
+#include "localerr.h"
 
 //ust// struct module;
 //ust// struct task_struct;
@@ -292,6 +304,7 @@ extern struct marker __stop___markers[] __attribute__((visibility("hidden")));
                                                                                        \
 static void __attribute__((constructor)) __markers__init(void)                                 \
 {                                                                                      \
+       DBG("next registration in "__FILE__"\n");\
        marker_register_lib(__start___markers, (((long)__stop___markers)-((long)__start___markers))/sizeof(struct marker));\
 }
 
This page took 0.023681 seconds and 4 git commands to generate.