Re: [PULL 3/5] tcg: add perfmap and jitdump

2025-05-19 Thread Peter Maydell
On Mon, 16 Jan 2023 at 22:36, Richard Henderson wrote: > > From: Ilya Leoshkevich > > Add ability to dump /tmp/perf-.map and jit-.dump. > The first one allows the perf tool to map samples to each individual > translation block. The second one adds the ability to resolve symbol > names, line numbe

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-12-07 Thread Philippe Mathieu-Daudé
Hi Ilya, On 30/6/23 15:24, Richard Henderson wrote: On 6/30/23 14:39, Ilya Leoshkevich wrote: On Thu, 2023-06-29 at 14:59 +0200, Richard Henderson wrote: On 6/29/23 13:31, Philippe Mathieu-Daudé wrote: diff --git a/tcg/tcg.c b/tcg/tcg.c index da91779890..9b7df71e7a 100644 --- a/tcg/tcg.c +++

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-30 Thread Richard Henderson
On 6/30/23 14:39, Ilya Leoshkevich wrote: On Thu, 2023-06-29 at 14:59 +0200, Richard Henderson wrote: On 6/29/23 13:31, Philippe Mathieu-Daudé wrote: diff --git a/tcg/tcg.c b/tcg/tcg.c index da91779890..9b7df71e7a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -61,6 +61,7 @@   #include "exec/log.h"

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-30 Thread Ilya Leoshkevich
On Thu, 2023-06-29 at 14:59 +0200, Richard Henderson wrote: > On 6/29/23 13:31, Philippe Mathieu-Daudé wrote: > > > diff --git a/tcg/tcg.c b/tcg/tcg.c > > > index da91779890..9b7df71e7a 100644 > > > --- a/tcg/tcg.c > > > +++ b/tcg/tcg.c > > > @@ -61,6 +61,7 @@ > > >   #include "exec/log.h" > > >  

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-29 Thread Richard Henderson
On 6/29/23 13:31, Philippe Mathieu-Daudé wrote: diff --git a/tcg/tcg.c b/tcg/tcg.c index da91779890..9b7df71e7a 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -61,6 +61,7 @@   #include "exec/log.h"   #include "tcg/tcg-ldst.h"   #include "tcg-internal.h" +#include "accel/tcg/perf.h" Is it OK to inclu

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-29 Thread Philippe Mathieu-Daudé
Hi Richard, Alex, On 16/1/23 23:36, Richard Henderson wrote: From: Ilya Leoshkevich Add ability to dump /tmp/perf-.map and jit-.dump. The first one allows the perf tool to map samples to each individual translation block. The second one adds the ability to resolve symbol names, line numbers an

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-03 Thread Ilya Leoshkevich
On Fri, 2023-06-02 at 18:21 +0100, Peter Maydell wrote: > On Mon, 16 Jan 2023 at 22:36, Richard Henderson > wrote: > > > > From: Ilya Leoshkevich > > > > Add ability to dump /tmp/perf-.map and jit-.dump. > > The first one allows the perf tool to map samples to each > > individual > > translatio

Re: [PULL 3/5] tcg: add perfmap and jitdump

2023-06-02 Thread Peter Maydell
On Mon, 16 Jan 2023 at 22:36, Richard Henderson wrote: > > From: Ilya Leoshkevich > > Add ability to dump /tmp/perf-.map and jit-.dump. > The first one allows the perf tool to map samples to each individual > translation block. The second one adds the ability to resolve symbol > names, line numbe

[PULL 3/5] tcg: add perfmap and jitdump

2023-01-16 Thread Richard Henderson
From: Ilya Leoshkevich Add ability to dump /tmp/perf-.map and jit-.dump. The first one allows the perf tool to map samples to each individual translation block. The second one adds the ability to resolve symbol names, line numbers and inspect JITed code. Example of use: perf record qemu-x86