From 7e1f2961837c7c8922c21ae9074eb333d64c4633 Mon Sep 17 00:00:00 2001 From: Tuukka Tikkanen Date: Mon, 5 Jan 2015 10:43:05 +0200 Subject: Idlestat: Update copyright boilerplates and bump version to 0.5 Many of the source files were missing copyright headers. Headers have been added to all .c and .h files and existing headers were updates with contributor information. The version number was bumped up to 0.5 due to having many new features since last version number update. Signed-off-by: Tuukka Tikkanen --- comparison_report.c | 25 +++++++++++++++++++++++++ csv_report.c | 26 ++++++++++++++++++++++++++ default_report.c | 25 +++++++++++++++++++++++++ energy_model.c | 26 ++++++++++++++++++++++++++ energy_model.h | 25 +++++++++++++++++++++++++ idlestat.c | 3 ++- idlestat.h | 1 + ops_head.c | 25 +++++++++++++++++++++++++ ops_tail.c | 25 +++++++++++++++++++++++++ report_ops.h | 25 +++++++++++++++++++++++++ topology.h | 1 + trace.c | 3 ++- trace_ops.h | 25 +++++++++++++++++++++++++ tracefile_ftrace.c | 24 ++++++++++++++++++++++++ tracefile_idlestat.c | 26 ++++++++++++++++++++++++++ tracefile_tracecmd.c | 26 ++++++++++++++++++++++++++ utils.c | 3 ++- utils.h | 2 ++ 18 files changed, 313 insertions(+), 3 deletions(-) diff --git a/comparison_report.c b/comparison_report.c index e7cd1c5..c8444f5 100644 --- a/comparison_report.c +++ b/comparison_report.c @@ -1,3 +1,28 @@ +/* + * comparison_report.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #include #include #include diff --git a/csv_report.c b/csv_report.c index ce7a27e..629b544 100644 --- a/csv_report.c +++ b/csv_report.c @@ -1,3 +1,29 @@ +/* + * csv_report.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Koan-Sin Tan + * Tuukka Tikkanen + * + */ #include #include #include diff --git a/default_report.c b/default_report.c index 34944b5..78b4e5b 100644 --- a/default_report.c +++ b/default_report.c @@ -1,3 +1,28 @@ +/* + * default_report.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #include #include #include diff --git a/energy_model.c b/energy_model.c index 05b9123..23463df 100644 --- a/energy_model.c +++ b/energy_model.c @@ -1,3 +1,29 @@ +/* + * energy_model.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Larry Bassel + * Tuukka Tikkanen + * + */ #include #include #include diff --git a/energy_model.h b/energy_model.h index bb54a17..592e9b1 100644 --- a/energy_model.h +++ b/energy_model.h @@ -1,3 +1,28 @@ +/* + * energy_model.h + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Larry Bassel + * + */ #ifndef ENERGY_MODEL_H #define ENERGY_MODEL_H diff --git a/idlestat.c b/idlestat.c index c65c33d..5de407f 100644 --- a/idlestat.c +++ b/idlestat.c @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano * Zoran Markovic + * Tuukka Tikkanen * */ #define _GNU_SOURCE @@ -47,7 +48,7 @@ #include "report_ops.h" #include "trace_ops.h" -#define IDLESTAT_VERSION "0.4-rc1" +#define IDLESTAT_VERSION "0.5" #define USEC_PER_SEC 1000000 static char buffer[BUFSIZE]; diff --git a/idlestat.h b/idlestat.h index 6c7b6d0..4018b8d 100644 --- a/idlestat.h +++ b/idlestat.h @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano * Zoran Markovic + * Tuukka Tikkanen * */ #ifndef __IDLESTAT_H diff --git a/ops_head.c b/ops_head.c index 10cee49..48893c6 100644 --- a/ops_head.c +++ b/ops_head.c @@ -1,3 +1,28 @@ +/* + * ops_head.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #include "report_ops.h" #include "trace_ops.h" #include diff --git a/ops_tail.c b/ops_tail.c index b658322..cc18873 100644 --- a/ops_tail.c +++ b/ops_tail.c @@ -1,3 +1,28 @@ +/* + * ops_tail.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #include "report_ops.h" #include "trace_ops.h" #include diff --git a/report_ops.h b/report_ops.h index 482ab27..3e30dc6 100644 --- a/report_ops.h +++ b/report_ops.h @@ -1,3 +1,28 @@ +/* + * report_ops.h + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #ifndef __REPORT_OPS_H #define __REPORT_OPS_H diff --git a/topology.h b/topology.h index aa84a5b..71c3422 100644 --- a/topology.h +++ b/topology.h @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano * Zoran Markovic + * Tuukka Tikkanen * */ #ifndef __TOPOLOGY_H diff --git a/trace.c b/trace.c index 9ec1c87..09f9573 100644 --- a/trace.c +++ b/trace.c @@ -22,7 +22,8 @@ * Contributors: * Daniel Lezcano * Zoran Markovic - * + * Koan-Sin Tan + * Tuukka Tikkanen */ #define _GNU_SOURCE #include diff --git a/trace_ops.h b/trace_ops.h index c23d873..d65b4a7 100644 --- a/trace_ops.h +++ b/trace_ops.h @@ -1,3 +1,28 @@ +/* + * trace_ops.h + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + * + */ #ifndef __TRACE_OPS_H #define __TRACE_OPS_H diff --git a/tracefile_ftrace.c b/tracefile_ftrace.c index ab07bb4..f4f9706 100644 --- a/tracefile_ftrace.c +++ b/tracefile_ftrace.c @@ -1,3 +1,27 @@ +/* + * tracefile_ftrace.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Tuukka Tikkanen + */ #include "topology.h" #include "trace_ops.h" #include "utils.h" diff --git a/tracefile_idlestat.c b/tracefile_idlestat.c index 1b76255..6067bfa 100644 --- a/tracefile_idlestat.c +++ b/tracefile_idlestat.c @@ -1,3 +1,29 @@ +/* + * tracefile_idlestat.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Based on code migrated from idlestat.c + * + * Contributors: + * Tuukka Tikkanen + */ #include "topology.h" #include "trace_ops.h" #include "utils.h" diff --git a/tracefile_tracecmd.c b/tracefile_tracecmd.c index cf3ed89..b39c9d2 100644 --- a/tracefile_tracecmd.c +++ b/tracefile_tracecmd.c @@ -1,3 +1,29 @@ +/* + * tracefile_tracecmd.c + * + * Copyright (C) 2014, Linaro Limited. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * 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. + * + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + * + * Contributors: + * Koan-Sin Tan + * Tuukka Tikkanen + * + */ #include "topology.h" #include "trace_ops.h" #include "utils.h" diff --git a/utils.c b/utils.c index 9a3f09d..996d055 100644 --- a/utils.c +++ b/utils.c @@ -22,7 +22,8 @@ * Contributors: * Daniel Lezcano * Zoran Markovic - * + * Koan-Sin Tan + * Tuukka Tikkanen */ #define _GNU_SOURCE #include diff --git a/utils.h b/utils.h index c657d4f..ee7a9a2 100644 --- a/utils.h +++ b/utils.h @@ -22,6 +22,8 @@ * Contributors: * Daniel Lezcano * Zoran Markovic + * Koan-Sin Tan + * Tuukka Tikkanen * */ #ifndef __UTILS_H -- cgit v1.2.3