aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-07-17 09:57:40 -0400
committerSteven Rostedt <rostedt@goodmis.org>2009-07-17 09:57:40 -0400
commit8fe41e31b4407bdbb862c9dff35c2ac50f690627 (patch)
treeedee40ae2c5855c93e57769735766957d7a05c29
parentd78f5f2d3d250b695587d88a001da073d2e94ca9 (diff)
Added copyright headers
For the C files missing the copyright headers, this patch adds them. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--parse-events.c23
-rw-r--r--trace-read.c20
2 files changed, 43 insertions, 0 deletions
diff --git a/parse-events.c b/parse-events.c
index c5d8fe1..72b8d56 100644
--- a/parse-events.c
+++ b/parse-events.c
@@ -1,3 +1,26 @@
1/*
2 * Copyright (C) 2009, Steven Rostedt <srostedt@redhat.com>
3 *
4 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License (not later!)
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 *
21 * The parts for function graph printing was taken and modified from the
22 * Linux Kernel that were written by Frederic Weisbecker.
23 */
1#include <stdio.h> 24#include <stdio.h>
2#include <stdlib.h> 25#include <stdlib.h>
3#include <string.h> 26#include <string.h>
diff --git a/trace-read.c b/trace-read.c
index 6b6a93b..d37636a 100644
--- a/trace-read.c
+++ b/trace-read.c
@@ -1,3 +1,23 @@
1/*
2 * Copyright (C) 2009, Steven Rostedt <srostedt@redhat.com>
3 *
4 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License (not later!)
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 */
1#define _GNU_SOURCE 21#define _GNU_SOURCE
2#include <dirent.h> 22#include <dirent.h>
3#include <stdio.h> 23#include <stdio.h>