diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-05 10:43:05 +0200 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2015-01-05 10:43:05 +0200 |
commit | 7e1f2961837c7c8922c21ae9074eb333d64c4633 (patch) | |
tree | 2da900c2a8b1ed9929a4d14f001230d05b56de5f | |
parent | a982ea5165736566760cc0fc3fa65b2482188fed (diff) |
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 <tuukka.tikkanen@linaro.org>
-rw-r--r-- | comparison_report.c | 25 | ||||
-rw-r--r-- | csv_report.c | 26 | ||||
-rw-r--r-- | default_report.c | 25 | ||||
-rw-r--r-- | energy_model.c | 26 | ||||
-rw-r--r-- | energy_model.h | 25 | ||||
-rw-r--r-- | idlestat.c | 3 | ||||
-rw-r--r-- | idlestat.h | 1 | ||||
-rw-r--r-- | ops_head.c | 25 | ||||
-rw-r--r-- | ops_tail.c | 25 | ||||
-rw-r--r-- | report_ops.h | 25 | ||||
-rw-r--r-- | topology.h | 1 | ||||
-rw-r--r-- | trace.c | 3 | ||||
-rw-r--r-- | trace_ops.h | 25 | ||||
-rw-r--r-- | tracefile_ftrace.c | 24 | ||||
-rw-r--r-- | tracefile_idlestat.c | 26 | ||||
-rw-r--r-- | tracefile_tracecmd.c | 26 | ||||
-rw-r--r-- | utils.c | 3 | ||||
-rw-r--r-- | 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 <tuukka.tikkanen@linaro.org> + * + */ #include <float.h> #include <stdbool.h> #include <stdio.h> 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 <freedom.tan@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> + * + */ #include <float.h> #include <stdbool.h> #include <stdio.h> 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 <tuukka.tikkanen@linaro.org> + * + */ #include <float.h> #include <stdbool.h> #include <stdio.h> 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 <larry.bassel@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> + * + */ #include <stdio.h> #include <stdlib.h> #include <string.h> 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 <larry.bassel@linaro.org> + * + */ #ifndef ENERGY_MODEL_H #define ENERGY_MODEL_H @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> * */ #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]; @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> * */ #ifndef __IDLESTAT_H @@ -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 <tuukka.tikkanen@linaro.org> + * + */ #include "report_ops.h" #include "trace_ops.h" #include <stddef.h> @@ -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 <tuukka.tikkanen@linaro.org> + * + */ #include "report_ops.h" #include "trace_ops.h" #include <stddef.h> 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 <tuukka.tikkanen@linaro.org> + * + */ #ifndef __REPORT_OPS_H #define __REPORT_OPS_H @@ -22,6 +22,7 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> * */ #ifndef __TOPOLOGY_H @@ -22,7 +22,8 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> - * + * Koan-Sin Tan <freedom.tan@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> */ #define _GNU_SOURCE #include <stdio.h> 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 <tuukka.tikkanen@linaro.org> + * + */ #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 <tuukka.tikkanen@linaro.org> + */ #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 <tuukka.tikkanen@linaro.org> + */ #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 <freedom.tan@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> + * + */ #include "topology.h" #include "trace_ops.h" #include "utils.h" @@ -22,7 +22,8 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> - * + * Koan-Sin Tan <freedom.tan@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> */ #define _GNU_SOURCE #include <stdio.h> @@ -22,6 +22,8 @@ * Contributors: * Daniel Lezcano <daniel.lezcano@linaro.org> * Zoran Markovic <zoran.markovic@linaro.org> + * Koan-Sin Tan <freedom.tan@linaro.org> + * Tuukka Tikkanen <tuukka.tikkanen@linaro.org> * */ #ifndef __UTILS_H |