aboutsummaryrefslogtreecommitdiff
path: root/idlestat.h
diff options
context:
space:
mode:
authorTuukka Tikkanen <tuukka.tikkanen@linaro.org>2014-12-03 08:01:40 +0200
committerTuukka Tikkanen <tuukka.tikkanen@linaro.org>2014-12-05 09:52:39 +0200
commit2c9b75c7b206b47a06bfa096ace871b50c9e8787 (patch)
tree06ba9c3077ad092885579361ebb4660b4f0a46fd /idlestat.h
parentc34959098e06170bf6dfd69b5434ef2c0c3925b8 (diff)
idlestat: Only pass the filename into idlestat_load()
As the only field of the options structure used by idlestat_load() is the trace file path, pass the path and not the options structure. This also allows loading different traces, such as baseline trace for comparison, during single invocation of idlestat. Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org> Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'idlestat.h')
-rw-r--r--idlestat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/idlestat.h b/idlestat.h
index 623572a..a32aab9 100644
--- a/idlestat.h
+++ b/idlestat.h
@@ -138,7 +138,7 @@ struct program_options {
#define FREQUENCY_DISPLAY 0x2
#define WAKEUP_DISPLAY 0x4
-struct cpuidle_datas *idlestat_load(struct program_options *);
+struct cpuidle_datas *idlestat_load(const char *);
struct pstate_energy_info {
unsigned int speed;