Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


High level Design / Architecture

...


Sanity Testing

1. How to Configure:

Before Configuring we need to trigger the build with the below change :
https://code.rdkcentral.com/r/c/rdkb/components/opensource/ccsp/TestAndDiagnostic/+/91839 - round trip

...

  • If the below value returned is false, then run:
    sysevent set UPLOAD_LOGS_VAL_DCM true 
  • Enable the tool via:
    dmcli eRT setv Device.SelfHeal.CPUProcAnalyzer.Enable bool true

2. How to view results:

1.After enabling the CPUProcAnalyzer we can able to see the below log which is having the details of the memory utilization of a particular process, deviceInfo & loaded memory data.
2.Check for log upload with uploaded file having keyword as "CPAstats" in Consolelog.txt.0 log file. For ex : 

E45F01F41423_CPAstats_08-25-23-09-28AM.tgz


3.Copy the E45F01F41423_CPAstats_08-25-23-09-28AM.tgz filename, and download the tar file via https://rdkanalyticsportal.stb.r53.xcal.tv/home/#/logs/file
4.Unzip the content of the downloaded file to any folder of your choice, then go inside tmp.
5.Inside tmp, folder named cpuprocanalyzer shall be present. Create a zip of that.

3. Visualizer:

Visualizer is a simple html file.( Load usecase.html file from the vis.zip folder)

View file
namevis.zip
height250

To visualize the result, upload the file cpuprocanalyzer.zip (as created in Step 5 of "How to view results")  to the usecase.html, the steps of opening usecase.html are given below. 

...

Below snapshots are from CcspPandM Process:

...


References

https://etwiki.sys.comcast.net/pages/viewpage.action?pageId=729794950

...