diff options
| author | Himanshu Chauhan <[email protected]> | 2024-01-09 22:30:20 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2024-01-10 10:55:52 +0530 |
| commit | bb90a9ebf6d9a2fe7726978d594e82cdbaad7799 (patch) | |
| tree | 4e7476953c870d29a66f423bead60fd0d390bc09 /lib | |
| parent | 76a2a15c40b9a31b9066e2014503f954f454a9e0 (diff) | |
lib: sbi: Print number of debug triggers found
Print the total number of triggers found on the boot hart.
Signed-off-by: Himanshu Chauhan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/sbi/sbi_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c index 0dcde27d..804b01cd 100644 --- a/lib/sbi/sbi_init.c +++ b/lib/sbi/sbi_init.c @@ -184,6 +184,8 @@ static void sbi_boot_print_hart(struct sbi_scratch *scratch, u32 hartid) sbi_printf("Boot HART MHPM Info : %lu (0x%08x)\n", sbi_popcount(sbi_hart_mhpm_mask(scratch)), sbi_hart_mhpm_mask(scratch)); + sbi_printf("Boot HART Debug Triggers : %d triggers\n", + sbi_dbtr_get_total_triggers()); sbi_hart_delegation_dump(scratch, "Boot HART ", " "); } |
