Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Aurelien Jarno
On 2015-08-04 13:55, Alex Bennée wrote: > > Aurelien Jarno writes: > > > On 2015-08-04 08:39, Alex Bennée wrote: > >> > >> Paolo Bonzini writes: > >> > >> > On 03/08/2015 11:14, Alex Bennée wrote: > >> >> This allows the perf tool to map samples to each individual translation > >> >> block. T

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Aurelien Jarno
On 2015-08-03 10:14, Alex Bennée wrote: > This allows the perf tool to map samples to each individual translation > block. This could be expanded for user space but currently it gives > enough information to find any hotblocks by other means. > > Signed-off-by: Alex Bennée > > --- > > v2: > -

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Alex Bennée
Aurelien Jarno writes: > On 2015-08-04 08:39, Alex Bennée wrote: >> >> Paolo Bonzini writes: >> >> > On 03/08/2015 11:14, Alex Bennée wrote: >> >> This allows the perf tool to map samples to each individual translation >> >> block. This could be expanded for user space but currently it gives

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Aurelien Jarno
On 2015-08-04 08:39, Alex Bennée wrote: > > Paolo Bonzini writes: > > > On 03/08/2015 11:14, Alex Bennée wrote: > >> This allows the perf tool to map samples to each individual translation > >> block. This could be expanded for user space but currently it gives > >> enough information to find an

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Paolo Bonzini
On 04/08/2015 09:39, Alex Bennée wrote: > At the point of a tb_flush all bets are off as we will re-generate all > the blocks at potentially different locations in the translation buffer. > However for most analysis cases you are unlikely to cause the code > buffer to overflow. Most other uses of

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-04 Thread Alex Bennée
Paolo Bonzini writes: > On 03/08/2015 11:14, Alex Bennée wrote: >> This allows the perf tool to map samples to each individual translation >> block. This could be expanded for user space but currently it gives >> enough information to find any hotblocks by other means. >> >> Signed-off-by: Alex

Re: [Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-03 Thread Paolo Bonzini
On 03/08/2015 11:14, Alex Bennée wrote: > This allows the perf tool to map samples to each individual translation > block. This could be expanded for user space but currently it gives > enough information to find any hotblocks by other means. > > Signed-off-by: Alex Bennée What happens if you

[Qemu-devel] [PATCH v4 01/11] tcg: add ability to dump /tmp/perf-.map files

2015-08-03 Thread Alex Bennée
This allows the perf tool to map samples to each individual translation block. This could be expanded for user space but currently it gives enough information to find any hotblocks by other means. Signed-off-by: Alex Bennée --- v2: - hoist up into translate-all.c - don't use pointless glib