[Click] Element profiling continued.

Eddie Kohler kohler at cs.ucla.edu
Mon Oct 29 14:23:20 EDT 2007


Are you trying to use gprof to profile your element in the kernel?  That is 
impossible.  -fomit-frame-pointer is added by Linux's compilation process, not 
Click, and you cannot remove it.  You can use gprof to profile user-level 
elements easily.  For kernel elements, try, for example, oprofile.

Eddie


Archit Gupta wrote:
> Sorry to pose this question again, but I haven't been able to figure
> out this by myself since I last emailed. Any help would be
> appreciated:
> 
> I am trying to profile an element I wrote for making it more
> efficient. Now I find gprof an easy way to profile code. But I get the
> following error from the config.log
> 
> g++: -pg and -fomit-frame-pointer are incompatible
> 
> The -pg flag is mine - It is for gprof. I "grepped" for the
> -fomit-frame-pointer flag in the click directory but I couldn't find
> it. Any help is appreciated.
> 
> Thanks,
> 
> Archit
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list