diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-03 08:01:40 +0200 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-05 09:52:39 +0200 |
commit | 2c9b75c7b206b47a06bfa096ace871b50c9e8787 (patch) | |
tree | 06ba9c3077ad092885579361ebb4660b4f0a46fd /idlestat.h | |
parent | c34959098e06170bf6dfd69b5434ef2c0c3925b8 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |