ust: cleanup and add some licences
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 3 Mar 2009 21:53:32 +0000 (16:53 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 3 Mar 2009 21:53:32 +0000 (16:53 -0500)
hello/hello.c
libmarkers/tracepoint.c
libmarkers/tracepoint.h
ustd/ustd.c

index 5f05e225641610960346a80773f57f55862d9bdc..821bed33ea436ed081bb19c0e8f012be9daab9f1 100644 (file)
@@ -6,7 +6,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 
-#include "../libmarkers/marker.h"
+#include "marker.h"
 #include "usterr.h"
 #include "tracer.h"
 #include "marker-control.h"
 #include "tp.h"
 
 
-void probe(const struct marker *mdata,
-               void *probe_private, void *call_private,
-               const char *fmt, va_list *args)
-{
-       printf("In probe\n");
-}
-
 void inthandler(int sig)
 {
        printf("in handler\n");
@@ -81,5 +74,5 @@ int main()
        return 0;
 }
 
-MARKER_LIB
-TRACEPOINT_LIB
+MARKER_LIB;
+TRACEPOINT_LIB;
index 16292e43202ccba14abc78fe42962dccdd610510..ba4509b22d3911d284b0cb784fba228bdcde2395 100644 (file)
@@ -1,10 +1,11 @@
 /*
  * Copyright (C) 2008 Mathieu Desnoyers
+ * Copyright (C) 2009 Pierre-Marc Fournier
  *
- * 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 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
  *
  * 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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ *
+ * Ported to userspace by Pierre-Marc Fournier.
  */
+
 //ust// #include <linux/module.h>
 //ust// #include <linux/mutex.h>
 //ust// #include <linux/types.h>
index fda2aba900906bab5a440ad662e2375d6305336c..6f14ea08a696f43428e615fccfb00eda12a90759 100644 (file)
@@ -2,16 +2,26 @@
 #define _LINUX_TRACEPOINT_H
 
 /*
- * Kernel Tracepoint API.
+ * Copyright (C) 2008 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
+ * Copyright (C) 2009 Pierre-Marc Fournier
  *
- * See Documentation/tracepoint.txt.
+ * 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.
  *
- * (C) Copyright 2008 Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
+ * 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.
  *
  * Heavily inspired from the Linux Kernel Markers.
  *
- * This file is released under the GPLv2.
- * See the file COPYING for more details.
+ * Ported to userspace by Pierre-Marc Fournier.
  */
 
 //#include <linux/immediate.h>
index 8205ed2b2b5e3c77cc6fa9ecae56e2c2ef7ed0ae..830d5e26441fe368b975b2c8b75fe44dd5e93060 100644 (file)
@@ -1,3 +1,20 @@
+/*
+ * Copyright (C) 2009  Pierre-Marc Fournier
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
+
 #define _GNU_SOURCE
 
 #include <sys/types.h>
This page took 0.027097 seconds and 4 git commands to generate.