http://bugs.winehq.org/show_bug.cgi?id=9380
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2007-08-22 08:12:44 --- This should be enough to get you started: http://www.winehq.org/?issue=249#oprofile%20&%20Wine
Don't forget that you will need self-compiled Wine with possibly other debug packages installed, so you can see function names.