http://bugs.winehq.org/show_bug.cgi?id=20951
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com
--- Comment #5 from Dan Kegel dank@kegel.com 2009-12-16 02:02:22 --- Just don't build the preloader with those flags. (See e.g. http://www.winehq.org/pipermail/wine-devel/2005-March/034329.html ) You can build just the dll you want to profile, and it'll probably work.
On Ubuntu, you can use oprofile just fine, fwiw. I use it all the time for flat profiling of unmodified wine.
It probably would be nice to have a configure option to build wine for profiling... we tried to do something like that a while ago, but it was rejected as not being generally useful. See http://www.winehq.org/pipermail/wine-patches/2004-November/013673.html