Re: [PATCH v4 4/7] target/riscv: Add support to record CTR entries.

2024-12-05 Thread Rajnesh Kanwal
Thanks Richard. I have incorporated your feedback in v5. -Rajnesh On Wed, Dec 4, 2024 at 7:30 PM Richard Henderson wrote: > > On 12/4/24 06:56, Rajnesh Kanwal wrote: > > diff --git a/target/riscv/insn_trans/trans_privileged.c.inc > > b/target/riscv/insn_trans/trans_privileged.c.inc > > index >

Re: [PATCH v4 4/7] target/riscv: Add support to record CTR entries.

2024-12-04 Thread Richard Henderson
On 12/4/24 06:56, Rajnesh Kanwal wrote: diff --git a/target/riscv/insn_trans/trans_privileged.c.inc b/target/riscv/insn_trans/trans_privileged.c.inc index 0bdfa9a0ed3313223ce9032fb24484c3887cddf9..a5c2410cfa0779b1a928e7b89bd2ee5bb24216e4 100644 --- a/target/riscv/insn_trans/trans_privileged.c.

[PATCH v4 4/7] target/riscv: Add support to record CTR entries.

2024-12-04 Thread Rajnesh Kanwal
This commit adds logic to records CTR entries of different types and adds required hooks in TCG and interrupt/Exception logic to record events. This commit also adds support to invoke freeze CTR logic for breakpoint exceptions and counter overflow interrupts. Signed-off-by: Rajnesh Kanwal --- t