[maemo-developers] Oprofile or Gprof working with toolchain cs2005q3.2-glibc-arm and bora?

From: Gustavo Sverzut Barbieri barbieri at gmail.com
Date: Thu May 17 15:16:08 EEST 2007
On 5/17/07, Kees Jongenburger <kees.jongenburger at gmail.com> wrote:
> > == Oprofile ==
> >
> > I've followed http://maemo.org/development/documentation/how-tos/3-x/howto_kernel_guide_bora.html
> > in order to recompile kernel with n800_defconfig and
> Hi , I did is slightly differently because I followed the older wiki
> based documentation
> http://maemo.org/community/wiki/HowTo_KernelCompilation
>
> I had to install the host-gcc sbox package to make the menuconfig
> work.

In order to get "make menuconfig" work, you need to manually hack the
makefile and add "-lncurses" to link flags, at least here it worked
fine.



> > == Gprof ==
> >
> > After no luck with Oprofile I opted to give Gprof a try, I've
> > recompiled every library and benchmark/test with "-DNDEBUG=1 -pg -O2",
> > but then I get segfault on libc's function "mcount()"
> on older releases I was able to run programs compiled with -pg and
> produce the output (I think empy) files. more complicated programs
> simply failed compiling or running
>
> >
> > Since Eero, Siarhei and others said they had success with those tools,
> > so I'd like some hints on what I'm doing wrong/missing...
> I think He does not use sbox in such situations.
>
> >
> > PS: People interested in doing graphical apps that may be interested,
> >
> > [1] Evas can be downloaded from "cvs
> > -d:pserver:anonymous at anoncvs.enlightenment.org:/var/cvs/e e17", just
> cvs d:pserver:anonymous at anoncvs.enlightenment.org:/var/cvs/e  co e17

sure! I missed "checkout" (co) keyword... however you missed "-" in
"-d:pserver..." :-)

Line is:

cvs -d:pserver:anonymous at anoncvs.enlightenment.org:/var/cvs/e  co e17


> > compile libs/{eet,evas,ecore,embryo,edje} and apps/expedite
> > [2] http://barbieri-playground.googlecode.com/svn/efl-tests/
> Are you happy with the scripting language? I am currently hooked to lua

I never played with embryo and I'll restrict its use to basic theming
helper, for development it will be either C or Python (I've done
python bindings, in e17/proto/python-efl).


> Do you thing it would be possible to create home applets in evas (are
> there gtk->evas bridges?)

Yes, it will be possible, there is "GEvas" that embed Evas as a GTK
component. Yet, I'd like to write a "fullscreen" applet that itself
embed other evas components, then you'd benefit from canvas power, as
overlapping/semi transparent elements... it will be more
gdesklets/superkaramba like.


-- 
Gustavo Sverzut Barbieri
--------------------------------------
Jabber: barbieri at gmail.com
   MSN: barbieri at gmail.com
  ICQ#: 17249123
 Skype: gsbarbieri
Mobile: +55 (81) 9927 0010

More information about the maemo-developers mailing list