17430dde45
Adds support for RSMI event counters. This also includes
"macro" or "pseudo" events, in which an event value is
obtained from RSMI, followed by some post processing before
being displayed in rdci.
Aside from the support of new fields, the main update here
is to introduce an initialization and "shutdown" call for
new fields that will require this.
Also, includes some modifications to the rdci dmon list
command:
* in rdc_field_data.data, added the ability to specify whether
a field should be hidden or not, by default. This will
allow us to support many fields, even those that are not
typically of interest (but sometimes may be), without
confusing the user or unnecessary clutter.
* added a --list-all option which lists all available field
including the more obscure fields.
Change-Id: I01dd0edea963c12f82c6e44f893a390711ef3e83
[ROCm/rdc commit: d7c9625fc6]
rdc
Radeon Data Center
To run the rdcd and rdci from the build folder without authentication
Note: Only if RDC not installed requires the LD_LIBRARY_PATH.
sudo LD_LIBRARY_PATH=$PWD/rdc_libs/ ./server/rdcd -u
LD_LIBRARY_PATH=$PWD/rdc_libs/ ./rdci/rdci discovery -u -l
To run the rdcd and rdci from the build folder with authentication
Note: Only if RDC not installed requires the LD_LIBRARY_PATH.
sudo LD_LIBRARY_PATH=$PWD/rdc_libs/ ./server/rdcd
LD_LIBRARY_PATH=$PWD/rdc_libs/ ./rdci/rdci discovery -l
Troubleshooting
Enable the debug log:
sudo RDC_LOG=DEBUG ./server/rdcd
Check the ssl connection in rdci:
rdcd_hostname= "" # Set the rdcd you want to connect
openssl s_client -connect $rdcd_hostname:50051 -cert /etc/rdc/client/certs/rdc_client_cert.pem -key /etc/rdc/client/private/rdc_client_cert.key -CAfile /etc/rdc/client/certs/rdc_cacert.pem