| 1 |
What: /sys/bus/event_source/devices/dsa*/format |
| 2 |
Date: April 2021 |
| 3 |
KernelVersion: 5.13 |
| 4 |
Contact: Tom Zanussi <[email protected]> |
| 5 |
Description: Read-only. Attribute group to describe the magic bits |
| 6 |
that go into perf_event_attr.config or |
| 7 |
perf_event_attr.config1 for the IDXD DSA pmu. (See also |
| 8 |
ABI/testing/sysfs-bus-event_source-devices-format). |
| 9 |
|
| 10 |
Each attribute in this group defines a bit range in |
| 11 |
perf_event_attr.config or perf_event_attr.config1. |
| 12 |
All supported attributes are listed below (See the |
| 13 |
IDXD DSA Spec for possible attribute values):: |
| 14 |
|
| 15 |
event_category = "config:0-3" - event category |
| 16 |
event = "config:4-31" - event ID |
| 17 |
|
| 18 |
filter_wq = "config1:0-31" - workqueue filter |
| 19 |
filter_tc = "config1:32-39" - traffic class filter |
| 20 |
filter_pgsz = "config1:40-43" - page size filter |
| 21 |
filter_sz = "config1:44-51" - transfer size filter |
| 22 |
filter_eng = "config1:52-59" - engine filter |
| 23 |
|
| 24 |
What: /sys/bus/event_source/devices/dsa*/cpumask |
| 25 |
Date: April 2021 |
| 26 |
KernelVersion: 5.13 |
| 27 |
Contact: Tom Zanussi <[email protected]> |
| 28 |
Description: Read-only. This file always returns the cpu to which the |
| 29 |
IDXD DSA pmu is bound for access to all dsa pmu |
| 30 |
performance monitoring events. |