Perf command not accessing CPU stats

I am trying to read the CPU counters (Hardware Performance Monitoring) through the perf command.
While “perf list” works correctly and lists all available CPU counters (plus others), when I run something like: “perf stat -e dtlb_miss ls” I get the following error:
event syntax error: ‘dtlb_miss’
___ Bad event name

Unable to find event on a PMU of ‘dtlb_miss’

The output (stripped) of “perf list” is:
cache:
dtlb_miss
[D-UTLB miss. Unit: cpu]

I already set the kernel.perf_event_paranoid to -1.
I am using the xuantie-ubuntu-v6.6.x-46583 from (Jobs · BeagleV-Ahead / xuantie-ubuntu · GitLab).

What am I doing wrong?