mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 23:46:45 +00:00

Add the Andes AX45 JSON files that allows specifying symbolic event names for the raw PMU events. Signed-off-by: Locus Wei-Han Chen <locus84@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Charles Ci-Jyun Wu <dminus@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Acked-by: Atish Patra <atishp@rivosinc.com> Acked-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20240222083946.3977135-11-peterlin@andestech.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
128 lines
3.0 KiB
JSON
128 lines
3.0 KiB
JSON
[
|
|
{
|
|
"EventCode": "0x10",
|
|
"EventName": "cycle_count",
|
|
"BriefDescription": "Cycle count"
|
|
},
|
|
{
|
|
"EventCode": "0x20",
|
|
"EventName": "inst_count",
|
|
"BriefDescription": "Retired instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x30",
|
|
"EventName": "int_load_inst",
|
|
"BriefDescription": "Integer load instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x40",
|
|
"EventName": "int_store_inst",
|
|
"BriefDescription": "Integer store instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x50",
|
|
"EventName": "atomic_inst",
|
|
"BriefDescription": "Atomic instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x60",
|
|
"EventName": "sys_inst",
|
|
"BriefDescription": "System instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x70",
|
|
"EventName": "int_compute_inst",
|
|
"BriefDescription": "Integer computational instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x80",
|
|
"EventName": "condition_br",
|
|
"BriefDescription": "Conditional branch instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x90",
|
|
"EventName": "taken_condition_br",
|
|
"BriefDescription": "Taken conditional branch instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xA0",
|
|
"EventName": "jal_inst",
|
|
"BriefDescription": "JAL instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xB0",
|
|
"EventName": "jalr_inst",
|
|
"BriefDescription": "JALR instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xC0",
|
|
"EventName": "ret_inst",
|
|
"BriefDescription": "Return instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xD0",
|
|
"EventName": "control_trans_inst",
|
|
"BriefDescription": "Control transfer instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xE0",
|
|
"EventName": "ex9_inst",
|
|
"BriefDescription": "EXEC.IT instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0xF0",
|
|
"EventName": "int_mul_inst",
|
|
"BriefDescription": "Integer multiplication instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x100",
|
|
"EventName": "int_div_rem_inst",
|
|
"BriefDescription": "Integer division/remainder instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x110",
|
|
"EventName": "float_load_inst",
|
|
"BriefDescription": "Floating-point load instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x120",
|
|
"EventName": "float_store_inst",
|
|
"BriefDescription": "Floating-point store instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x130",
|
|
"EventName": "float_add_sub_inst",
|
|
"BriefDescription": "Floating-point addition/subtraction instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x140",
|
|
"EventName": "float_mul_inst",
|
|
"BriefDescription": "Floating-point multiplication instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x150",
|
|
"EventName": "float_fused_muladd_inst",
|
|
"BriefDescription": "Floating-point fused multiply-add instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x160",
|
|
"EventName": "float_div_sqrt_inst",
|
|
"BriefDescription": "Floating-point division or square-root instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x170",
|
|
"EventName": "other_float_inst",
|
|
"BriefDescription": "Other floating-point instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x180",
|
|
"EventName": "int_mul_add_sub_inst",
|
|
"BriefDescription": "Integer multiplication and add/sub instruction count"
|
|
},
|
|
{
|
|
"EventCode": "0x190",
|
|
"EventName": "retired_ops",
|
|
"BriefDescription": "Retired operation count"
|
|
}
|
|
]
|