Fix rdcd crash on rocmtools fields read

- Solve issue that resulted in rdcd crash when reading registers 700-799
  by setting ROCMTOOLS_METRICS_PATH in rdc.service

README changes:
- Change default install path for gRPC
- Simplify install instructions
- Make more commands copy-pasteable
- Replace /opt/rocm-<version> with /opt/rocm
- Misc fixes

Change-Id: I39a2896ed2af5a3889f4b36cd8bcc8d3e9593585
Signed-off-by: Galantsev, Dmitrii <dmitrii.galantsev@amd.com>
이 커밋은 다음에 포함됨:
Galantsev, Dmitrii
2023-01-06 13:39:44 -06:00
부모 3e4c55ec6c
커밋 6e0c5d1d56
2개의 변경된 파일과 48개의 추가작업 그리고 43개의 파일을 삭제
+5
파일 보기
@@ -18,6 +18,11 @@ Group=rdc
Type=simple
# Needed for accessing fields 700-799 provided by ROCMTools
# At the time of writing - rdcd will crash if these metrics are accessed
# without the following environment variable
Environment=ROCMTOOLS_METRICS_PATH=/@CPACK_PACKAGING_INSTALL_PREFIX@/libexec/rocmtools/counters/derived_counters.xml
CapabilityBoundingSet=CAP_DAC_OVERRIDE
AmbientCapabilities=CAP_DAC_OVERRIDE