convert more licences
[ust.git] / libust / tracer.c
index b807a508b0cb6120c1baeaedf9620674c343bf85..9c7e557aa050bc4a13f02a8cd2ecb6b51f8c63b0 100644 (file)
@@ -4,6 +4,20 @@
  * (C) Copyright       2005-2008 -
  *             Mathieu Desnoyers (mathieu.desnoyers@polymtl.ca)
  *
+ * 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
+ *
  * Tracing management internal kernel API. Trace buffer allocation/free, tracing
  * start/stop.
  *
@@ -38,6 +52,8 @@
 //ust// #include <linux/delay.h>
 //ust// #include <linux/vmalloc.h>
 //ust// #include <asm/atomic.h>
+#include <kcompat/rculist.h>
+
 #include "kernelcompat.h"
 #include "tracercore.h"
 #include "tracer.h"
@@ -665,7 +681,7 @@ int ltt_trace_alloc(const char *trace_name)
 {
        int err = 0;
        struct ltt_trace_struct *trace;
-       int subbuf_size, subbuf_cnt;
+       unsigned int subbuf_size, subbuf_cnt;
        unsigned long flags;
        int chan;
        const char *channel_name;
This page took 0.023958 seconds and 4 git commands to generate.