diff options
author | Zoran Markovic <zoran.markovic@linaro.org> | 2014-01-21 16:38:09 -0800 |
---|---|---|
committer | Zoran Markovic <zoran.markovic@linaro.org> | 2014-01-21 16:38:09 -0800 |
commit | 253e3c90d0f2adcd967c569d35d5d97035c6501e (patch) | |
tree | 6b047516c929ae1e19a5f32b8b409ad38e76655c | |
parent | 1205f672a9cda067d4118ec1cfa249d5fcfbaf77 (diff) |
Fixed Launchpad bug #1269454
Added GPLv2 copyright headers.
-rw-r--r-- | Android.mk | 8 | ||||
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | idlestat.c | 21 | ||||
-rw-r--r-- | idlestat.h | 22 | ||||
-rw-r--r-- | list.h | 21 | ||||
-rw-r--r-- | topology.c | 29 | ||||
-rw-r--r-- | topology.h | 22 | ||||
-rw-r--r-- | trace.c | 21 | ||||
-rw-r--r-- | trace.h | 22 | ||||
-rw-r--r-- | utils.c | 22 | ||||
-rw-r--r-- | utils.h | 22 |
11 files changed, 204 insertions, 14 deletions
@@ -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) @@ -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 @@ -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> @@ -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 @@ -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 @@ -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> @@ -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 @@ -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> @@ -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 @@ -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 @@ -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 |