[Skyeye-developer] Re: does skyeye have the ability to print a
coverage map of the addresses executed?
Michael.Kang
blackfin.kang at gmail.com
Sun Oct 7 15:18:30 CST 2007
Now we can easily implement that how many times a specific
function had been executed . If finer , we can profile the execution
frequency of a specific address ( just do some address comparation in
every cycle). But as to timing issue, I think instruction level or
behavior level simulation can not get precise result.
In fact , I do not think gcov is precise for timing issue.
During employ gcov, Gcc need to add some additional code to your
profiled code according to
http://gcc.gnu.org/onlinedocs/gcc/Invoking-Gcov.html#Invoking-Gcov . ,
I guess that maybe affect the behavior of cache or other things of the
host in some degree.
Anyway, SkyEye can do some instruction profiling for
function-level or address-level without affect the profiled code. We
can do it in the cycle of every instruction execution(probably in
sim_resume function[utils/main/skyeye.c:143] ).
-- Thanks
-- Michael.Kang
On 10/7/07, Yu Chen <chyyuu at gmail.com> wrote:
> hi,
> The first step, I can change skyeye to collect information of the
> physical addresses that the programs(include rtems, linux,etc.)
> executed. This work is not very hard. But this info myabe is not very
> heuristic.
>
> If we can realize the gcov functions, it will be more useful. But I
> don't know the internals of gcov.
>
> Any ideas?
>
>
>
> >
> > Btw, a question from joel.sherrill at oarcorp.com, "does skyeye have the ability to print a coverage map of the addresses executed? I am in the beginning stages of looking at automated ways of generating RTEMS coverage analysis." Any idea?
> >
> >
> >
> >
> > --------------
> > Thanks & Best Regards!
> > rayx.cn
> > 2007-10-06
> >
>
>
> --
> Best Regards
> ==============================================
> Chen Yu
> Laboratory of Pervasive Computing,
> Dept. of Computer Science and Technology
> Tsinghua University, Beijing 100084, P.R. China
> E-Mail: mailto:yuchen at tsinghua.edu.cn chyyuu at gmail.com
> ==============================================
>
> _______________________________________________
> CLinux.org Websites:
> http://seohelper.cn/
> http://www.implight.net/
> http://gro.clinux.org/
> Skyeye-developer mailing list
> Skyeye-developer at lists.gro.clinux.org
> http://lists.gro.clinux.org/cgi-bin/mailman/listinfo/skyeye-developer
>
--
www.skyeye.org
More information about the Skyeye-developer
mailing list