From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4nqH-0007eX-7J for qemu-devel@nongnu.org; Wed, 09 Jul 2014 05:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4nqC-0004ER-5D for qemu-devel@nongnu.org; Wed, 09 Jul 2014 05:07:09 -0400 Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:40810 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4nqC-0004Al-0C for qemu-devel@nongnu.org; Wed, 09 Jul 2014 05:07:04 -0400 References: <20140705210951.GX18016@ZenIV.linux.org.uk> <20140705225513.GY18016@ZenIV.linux.org.uk> <53BAAAAE.2060009@twiddle.net> <20140707150629.GZ18016@ZenIV.linux.org.uk> <53BAC8CC.9070301@twiddle.net> <20140708042037.GA18016@ZenIV.linux.org.uk> <53BB899C.30901@twiddle.net> <20140708065436.GB18016@ZenIV.linux.org.uk> <20140708071334.GA21956@ZenIV.linux.org.uk> <20140708161351.GC18016@ZenIV.linux.org.uk> From: Alex =?utf-8?Q?Benn=C3=A9e?= Date: Wed, 09 Jul 2014 10:04:37 +0100 In-reply-to: Message-ID: <87mwci6gsy.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [RFC] alpha qemu arithmetic exceptions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers , Al Viro , Richard Henderson Peter Maydell writes: > On 8 July 2014 17:13, Al Viro wrote: >> On Tue, Jul 08, 2014 at 09:05:10AM +0100, Peter Maydell wrote: >> >> BTW, are there any more or less uptodate docs on qemu profiling? I mean, >> things like perf/oprofile on the host obviously end up lumping all tcg >> output together. Is there any way to get information beyond "~40% of time >> is spent in generated code, ~15% - in tb_find_fast(), and the rest is very >> much colder"? > > Alex, did you say you'd done something with profiling recently? I posted some RFC patches up a while back that spit out the perf /tmp/perf. JIT maps that helps with breaking down which TCG TBs are the most executed. There is another set of patches which allow you to selectively dump translation blocks so you don't end up with multi-gigabyte log files. I'm going to be doing some profiling myself over the next few days so I'll clean-up the patches and re-submit to the list soon. -- Alex Bennée