Done
Details
Details
Assignee
Przemyslaw Wirkus
Przemyslaw WirkusReporter
Przemyslaw Wirkus
Przemyslaw WirkusComponents
Sprint
Add sprint
Fix versions
Priority
Checklist
Checklist
Sentry
Sentry
Created February 27, 2024 at 1:40 PM
Updated March 14, 2024 at 10:40 AM
Resolved March 5, 2024 at 4:57 PM
See https://linaro.atlassian.net/wiki/spaces/WPERF/pages/29179281464/Device+Tree+Feature+aka+DT+Support for more details.
We are progressing DT functionality, we want to add more HW config information to the HW_CFG IOCTL to driver each driver detection.
DOD:
Capability string (ASCIIZ) e.g.
"spe"
,"core;dsu;dmc"
where"core"
or"spe"
are defined by us devices which can e.g. count and sample. Can be semicolon;
separated.Note:
"core;spe"
- we would allow one driver to have more than one capability aka.Functionality string (ASCIIZ) e.g.
"counting"
or"sampling"
where we e.g that"pmu"
capability comes with counting and sampling (likewperf-driver
does). Can be semicolon;
separated for each capability. Example: for capability string `"core;dsu;dmc"
(which would bewperf-driver
capability string) we can generate below functionality string:"counting,sampling;counting;counting"
and it maps like this:core
→counting,sampling
-wperf
’sstat
andsample
/record
work with events specified with-e
and/core/<event>
(or-e <event>
).Note
/core/
will be also default (as it is) for events without name.dsu
→counting
-wperf
’sstat
work with events specified with-e
and/dsu/<events>
.dmc
→counting
-wperf
’sstat
work with events specified with-e
and/dmc/<events>
.