diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-10 10:09:13 +0200 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-12 08:57:27 +0200 |
commit | d2011821a22ce57898421b24f4703cfac94c58e3 (patch) | |
tree | 2e42f7e210339c8154bd2fd0a90eeefcac0426cb /idlestat.h | |
parent | 682d9dc3b57b1a99e3b04d80aeab35ace36fbc30 (diff) |
report_ops: Move struct report_ops definition to report_ops.h
Struct report_ops is defined in idlestat.h. Having the definition
in report_ops.h keeps the definition grouped with the declarations
of different report types.
Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Diffstat (limited to 'idlestat.h')
-rw-r--r-- | idlestat.h | 26 |
1 files changed, 0 insertions, 26 deletions
@@ -187,30 +187,4 @@ extern struct cpufreq_pstates *build_pstate_info(int nrcpus); extern void cpu_change_pstate(struct cpuidle_datas *datas, int cpu, unsigned int freq, double time); extern int get_wakeup_irq(struct cpuidle_datas *datas, char *buffer, int count); - -struct report_ops { - int (*check_output)(struct program_options *, void *); - - int (*open_report_file)(char *path, void *); - int (*close_report_file)(void *); - - void (*cstate_table_header)(void *); - void (*cstate_table_footer)(void *); - void (*cstate_cpu_header)(const char *cpu, void *); - void (*cstate_single_state)(struct cpuidle_cstate*, void *); - void (*cstate_end_cpu)(void *); - - void (*pstate_table_header)(void *); - void (*pstate_table_footer)(void *); - void (*pstate_cpu_header)(const char *cpu, void *); - void (*pstate_single_state)(struct cpufreq_pstate*, void *); - void (*pstate_end_cpu)(void*); - - void (*wakeup_table_header)(void *); - void (*wakeup_table_footer)(void *); - void (*wakeup_cpu_header)(const char *cpu, void *); - void (*wakeup_single_state)(struct wakeup_irq *irqinfo, void *); - void (*wakeup_end_cpu)(void *); -}; - #endif |