From 32be92848226e7ca785b3970c2e289cb1652421a Mon Sep 17 00:00:00 2001 From: Tuukka Tikkanen Date: Wed, 17 Dec 2014 14:21:19 +0200 Subject: Topology: add support for dumping baseline data for CPUs This patch adds relay of baseline data for per-cpu entries when composing the report. Signed-off-by: Tuukka Tikkanen --- idlestat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'idlestat.c') diff --git a/idlestat.c b/idlestat.c index cc42c78..4551f77 100644 --- a/idlestat.c +++ b/idlestat.c @@ -110,7 +110,7 @@ static int get_trace_ts(double *ts) return -1; } -static int display_cstates(struct report_ops *ops, void *arg, char *cpu, void *report_data) +static int display_cstates(struct report_ops *ops, void *arg, void *baseline, char *cpu, void *report_data) { int i; bool cpu_header = false; @@ -136,7 +136,7 @@ static int display_cstates(struct report_ops *ops, void *arg, char *cpu, void *r return 0; } -static int display_pstates(struct report_ops *ops, void *arg, char *cpu, void *report_data) +static int display_pstates(struct report_ops *ops, void *arg, void *baseline, char *cpu, void *report_data) { int i; bool cpu_header = false; @@ -164,7 +164,7 @@ static int display_pstates(struct report_ops *ops, void *arg, char *cpu, void *r return 0; } -static int display_wakeup(struct report_ops *ops, void *arg, char *cpu, void *report_data) +static int display_wakeup(struct report_ops *ops, void *arg, void *baseline, char *cpu, void *report_data) { int i; bool cpu_header = false; -- cgit v1.2.3