aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comparison_report.c25
-rw-r--r--csv_report.c26
-rw-r--r--default_report.c25
-rw-r--r--energy_model.c26
-rw-r--r--energy_model.h25
-rw-r--r--idlestat.c3
-rw-r--r--idlestat.h1
-rw-r--r--ops_head.c25
-rw-r--r--ops_tail.c25
-rw-r--r--report_ops.h25
-rw-r--r--topology.h1
-rw-r--r--trace.c3
-rw-r--r--trace_ops.h25
-rw-r--r--tracefile_ftrace.c24
-rw-r--r--tracefile_idlestat.c26
-rw-r--r--tracefile_tracecmd.c26
-rw-r--r--utils.c3
-rw-r--r--utils.h2
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
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 <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];
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 <daniel.lezcano@linaro.org>
* Zoran Markovic <zoran.markovic@linaro.org>
+ * Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
*
*/
#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 <tuukka.tikkanen@linaro.org>
+ *
+ */
#include "report_ops.h"
#include "trace_ops.h"
#include <stddef.h>
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 <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
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 <daniel.lezcano@linaro.org>
* Zoran Markovic <zoran.markovic@linaro.org>
+ * Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
*
*/
#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 <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"
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 <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/utils.h b/utils.h
index c657d4f..ee7a9a2 100644
--- a/utils.h
+++ b/utils.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