[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Logging number of translated instructions per basic blo
From: |
Christopher Covington |
Subject: |
Re: [Qemu-devel] Logging number of translated instructions per basic block |
Date: |
Wed, 05 Aug 2015 13:11:39 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:36.0) Gecko/20100101 Thunderbird/36.0 |
Hi Anthony,
On 07/28/2015 05:20 PM, Anthony Carno wrote:
> Hi there,
>
> As the subject of my email suggests, is there a way to log the number of
> translated instructions per basic block? I've dug into the debug code a bit
> (specifically /target_disas /and the arch-specific /print_insn_*/) and haven't
> found anything that would suggest this is doable, but before I go and move on
> to my plan B (which is devising a plan C haha), I'd like to ask and make sure
> I'm not missing something. Thank you!
I just posted a rather unruly (but functional) set of patches with the cover
letter title of "RFC: ARM Semihosting, PMU, and BBV Changes". These changes
include support for collecting block vectors, which are nothing more than
accumulating instruction counts broken per block (and interval). While I would
guess there are probably much better ways to implement the same functionality,
perhaps it's a starting point.
Christopher Covington
--
Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
- Re: [Qemu-devel] Logging number of translated instructions per basic block,
Christopher Covington <=