mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
target/ppc: Implement gathering irq statistics
Count exceptions which can be queried with info irq monitor command. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230606220200.7EBCC74635C@zero.eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
parent
12cae32fe1
commit
8a15ccee4d
3 changed files with 20 additions and 0 deletions
|
@ -1195,6 +1195,7 @@ struct CPUArchState {
|
|||
int error_code;
|
||||
uint32_t pending_interrupts;
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
uint64_t excp_stats[POWERPC_EXCP_NB];
|
||||
/*
|
||||
* This is the IRQ controller, which is implementation dependent and only
|
||||
* relevant when emulating a complete machine. Note that this isn't used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue