Chris Freehill
ce475b009c
Adjust event counters to report only new events
...
Previously, RSMI assumed that the event counter values returned
from perf were only new events. But in fact, when we read the
counter values, they are running totals. To account for this, we
now record the value we read and take the difference between the
current value and the previously recorded value.
Change-Id: I1e04b514e89c7c4d4719889f2dae3a1283864e7f
2021-02-24 11:02:17 -06:00
Chris Freehill
63064b0000
Quiet address sanitizer warnings
...
Also,
* Fix some doxygen issues
* Fix address sanitizer issues in rsmitst
Change-Id: Ie6c6fd9af5c418210b7064e79650fb92cd4a5e2b
2020-11-10 14:16:39 -06:00
Chris Freehill
5465d872aa
Revert "Revert "Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters""
...
This reverts commit ae6d3fbdd0 .
Change-Id: Ic412a64d35aab74caf12bf4c791f0a66ac15b061
2020-10-08 10:36:30 -04:00
Chris Freehill
ae6d3fbdd0
Revert "Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters"
...
This reverts commit 946bf93dfb .
Temporarily reverting until the driver side of this is upstream
Change-Id: I2d8243208c1271ebad90bc2ee0fda2dfefb0831b
2020-10-07 18:42:56 -04:00
Chris Freehill
946bf93dfb
Support for RSMI_EVNT_GRP_XGMI_DATA_OUT counters
...
Also some format fixes
Change-Id: Id3c0f6b3cf5b327bb9ca6acb6091dc67764c8032
2020-10-05 17:22:19 -05:00
Chris Freehill
ea26baec20
Event counter support
...
XGMI related events are supported
Change-Id: If17036fe890c8be45da3654353599821b5828c14
2019-06-24 17:40:01 -05:00