diff --git a/driver/gator_events_cpufreq.c b/driver/gator_events_cpufreq.cindex edf9797..83e5bba 100644--- a/driver/gator_events_cpufreq.c+++ b/driver/gator_events_cpufreq.c@@ -68,7 +68,8 @@ static void gator_events_cpufreq_stop(void) static int cpufreq_simulate(void) {- int freq = (int)(cpufreq_quick_get(smp_processor_id())/1000);+ //int freq = (int)(cpufreq_quick_get(smp_processor_id())/1000);+ int freq = 350; //printk("cpufreq=%d MHz\n", freq); return freq; }
Unfortunately I have the same issue although I always return a constant.
int freq = (int)(cpufreq_quick_get(smp_processor_id())/1000);
int freq = 350;
I think the problem is somewhere else.
Are you testing on Pandaboard / OMAP4 platform?
Just to make sure that I understood correctly:1. You did replace int freq = (int)(cpufreq_quick_get(smp_processor_id())/1000); with int freq = 350;
2. The chart you see in Streamline is still not flat.
3. You are using Streamline 5.8 and corresponding gator daemon and driver (I assume you've cloned the git at linaro.org?).
Am I correct?If so, can you capture some short example (10 seconds max.) with minimal set of counters configured (let's say cycles counter and your cpufreq data), compress the directory with captured data and send them to me? (pawel.moll at arm.com) I'll have a look inside.
No argument here :-)
No, I have a Versatile Express here, but it really (really :-) shouldn't matter. The theory is simple - what you put (the "350" constant values) into the pipe at one end (the target) should come out at the other end, unchanged (still a lot of "350"s) and then visualized by Streamline as such.