[PATCH] Re: oprofile?

Andy Green andy at openmoko.com
Tue Oct 21 01:28:07 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| On Thu, Jul 31, 2008 at 11:06:21AM -0700, Russell Sears wrote:
|> What's the status of bug #674?
|
| I have to get back to this topic.  We really should enable the
OPROFILE kernel
| option in our kernel images.  It is basically impossible to do any
system-wide
| performance tuning/optimization without it.
|
| Can we please get the following patch merged into org.openembedded.dev?

| +CONFIG_PROFILING=y
| +CONFIG_OPROFILE=m

Somehow we need to merge the oe config changes into the one we publish
in git.  The intention of the toplevel defconfig-gta01 and
defconfig-gta02 files is that they are our packaging config.  It'd be
good if instead of forking it we had a single accurate config for GTA01
and GTA02 in the kernel tree.

I wrote a patch to change these configs on 2.6.24 stable branch, but I
can't test it right now and I wonder about one thing with profiling, on
2.6.27 I enabled FTRACE and it attached stuff to __attribute__ ((naked))
functions and killed FIQ thereby.  Can you confirm it OK with whatever
it is OPROFILE does for instrumenting functions?  If so I'll add it in
the kernel tree.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkj9E9wACgkQOjLpvpq7dMrtMwCeLz0claUBnF+zdEAkCnzxdJ7C
ByQAoIsGGUuS56VybKoP4jNZ8FwYNI0L
=Jp6h
-----END PGP SIGNATURE-----



More information about the devel mailing list