aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoran Markovic <zoran.markovic@linaro.org>2014-01-21 16:38:09 -0800
committerZoran Markovic <zoran.markovic@linaro.org>2014-01-21 16:38:09 -0800
commit253e3c90d0f2adcd967c569d35d5d97035c6501e (patch)
tree6b047516c929ae1e19a5f32b8b409ad38e76655c
parent1205f672a9cda067d4118ec1cfa249d5fcfbaf77 (diff)
Fixed Launchpad bug #1269454
Added GPLv2 copyright headers.
-rw-r--r--Android.mk8
-rw-r--r--Makefile8
-rw-r--r--idlestat.c21
-rw-r--r--idlestat.h22
-rw-r--r--list.h21
-rw-r--r--topology.c29
-rw-r--r--topology.h22
-rw-r--r--trace.c21
-rw-r--r--trace.h22
-rw-r--r--utils.c22
-rw-r--r--utils.h22
11 files changed, 204 insertions, 14 deletions
diff --git a/Android.mk b/Android.mk
index e4c1696..16e55bd 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,3 +1,11 @@
+#
+# Android.mk
+#
+# Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License, version 2.
+#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
diff --git a/Makefile b/Makefile
index 9187b94..967cd04 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,11 @@
+#
+# Makefile
+#
+# Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License version 2.
+#
CFLAGS?=-g -Wall
CC?=gcc
diff --git a/idlestat.c b/idlestat.c
index a1bc574..e023f82 100644
--- a/idlestat.c
+++ b/idlestat.c
@@ -1,3 +1,24 @@
+/*
+ * idlestat.c
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#define _GNU_SOURCE
#include <getopt.h>
#include <stdio.h>
diff --git a/idlestat.h b/idlestat.h
index f753dc0..2c03bfd 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -1,4 +1,24 @@
-
+/*
+ * idlestat.h
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#ifndef __IDLESTAT_H
#define __IDLESTAT_H
diff --git a/list.h b/list.h
index 6db4c62..cc1618f 100644
--- a/list.h
+++ b/list.h
@@ -1,3 +1,24 @@
+/*
+ * list.h
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#ifndef _LINUX_LIST_H
#define _LINUX_LIST_H
diff --git a/topology.c b/topology.c
index 6f5699d..052ddb9 100644
--- a/topology.c
+++ b/topology.c
@@ -1,16 +1,27 @@
-/*****************************************************************************
- * Copyright (C) 2013, Linaro Limited.
- *
- * This file is part of cpu_topology.
+/*
+ * topology.c
*
- * All rights reserved.
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
*
- * Contributors:
+ * Contributors:
* Shaojie Sun <shaojie.sun@linaro.org> (Hislicon technologies)
- * - initial API and implementation
*
- *****************************************************************************/
-
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#define _GNU_SOURCE
#include <stdio.h>
diff --git a/topology.h b/topology.h
index 5cf10e6..596ff34 100644
--- a/topology.h
+++ b/topology.h
@@ -1,4 +1,24 @@
-
+/*
+ * topology.h
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#ifndef __TOPOLOGY_H
#define __TOPOLOGY_H
diff --git a/trace.c b/trace.c
index 4749abe..a22d3f6 100644
--- a/trace.c
+++ b/trace.c
@@ -1,3 +1,24 @@
+/*
+ * trace.c
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
diff --git a/trace.h b/trace.h
index fb98351..e5c2c99 100644
--- a/trace.h
+++ b/trace.h
@@ -1,4 +1,24 @@
-
+/*
+ * trace.h
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#ifndef __TRACE_H
#define __TRACE_H
diff --git a/utils.c b/utils.c
index e391a6d..1935e26 100644
--- a/utils.c
+++ b/utils.c
@@ -1,4 +1,24 @@
-
+/*
+ * utils.c
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#define _GNU_SOURCE
#include <stdio.h>
#undef _GNU_SOURCE
diff --git a/utils.h b/utils.h
index acd226a..254df32 100644
--- a/utils.h
+++ b/utils.h
@@ -1,4 +1,24 @@
-
+/*
+ * utils.h
+ *
+ * Copyright (C) 2014 Zoran Markovic <zoran.markovic@linaro.org>
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ * 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; version 2 of the License.
+ *
+ * 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.,
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ */
#ifndef __UTILS_H
#define __UTILS_H