This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SOC analyzer configuration issues on DM6467

i am trying to configure the SOC analyzer for profiling analysis of a codec engine application. I have followed the steps mentioned in the SOC analyzer user guide. The graphs that I receive on the SOC analyzer after running my application as well as the "video copy" example of the Codec engine only show the DSP side loads i want to be able to see the loads of the GPP side as well. i have enabled the flag Trace_Util.attrs = Trace_Util.SOCRATES_TRACING in the "ceapp.cfg" file for my application.

i am using the following

dvsdk_1_40_02_33

codec_engine_2_10_02

dsplink-davinci-v1.50-prebuilt

the dsp link has been compiled with the trace option enabled

 

best regards

umair

  • upon further testing the video copy example I found that the SOC analyzer displays some errors in the error log the log is below

     


    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:20.859
    !MESSAGE Starting Target Capture

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:33.109
    !MESSAGE Stopping Target Capture

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:34.953
    !MESSAGE Transferring file /tmp/bioslog.dat from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\bioslog.dat

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:36.640
    !MESSAGE /tmp/bioslog.dat was transferred successfully to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\bioslog.dat

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:36.656
    !MESSAGE Transferring file /tmp/cearmlog.txt from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\cearmlog.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:38.328
    !MESSAGE /tmp/cearmlog.txt was transferred successfully to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\cearmlog.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:38.328
    !MESSAGE Transferring file /tmp/cedsp0log.txt from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\cedsplog.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:40.265
    !MESSAGE /tmp/cedsp0log.txt was transferred successfully to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\cedsplog.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:40.265
    !MESSAGE Transferring file /tmp/output.txt from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\output.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:41.937
    !MESSAGE /tmp/output.txt was transferred successfully to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\output.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:41.953
    !MESSAGE Transferring file /tmp/proc.txt from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\proc.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:42.781
    !MESSAGE /tmp/proc.txt was not transferred


    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:42.781
    !MESSAGE Transferring file /tmp/trace.trace from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\trace.trace

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:43.609
    !MESSAGE /tmp/trace.trace was not transferred


    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:43.625
    !MESSAGE Transferring file /tmp/proc_thread.txt from http://192.168.1.32/cgi-bin/ to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\proc.txt

    !ENTRY Control_Panel_Model/com.ti.dvt.datamodel.controlpanel.ControlPanelModel$HTTPStatement 1 1 2010-04-28 16:57:45.296
    !MESSAGE /tmp/proc_thread.txt was transferred successfully to C:\Program Files\Texas Instruments\SoCAnalyzer1_2\dvt\..\dvt_resources\platform\DM646x\solutions\SoCAnalyzer\sessions\test\proc.txt

    !ENTRY com.ti.dvt.rta.RTALiteDecoder 4 4 2010-04-28 16:57:48.812
    !MESSAGE DSP & GPP TimeSynch offset is greater than 11000, it is likely that DSP/BIOS timers have rolled over which might cause an inaccurate GPP & DSP time synchronization and invalid analysis.

    !ENTRY com.ti.dvt.ltt.LTTDataSource 1 1 2010-04-28 16:57:48.812
    !MESSAGE Failed to initialize: LTT_0_9_5.dll: Unable to open input data file
    LTT_0_9_6.dll: Unable to open input data file

    hope this helps

    best regards

    umair

  • Umair,

     

    Looking at the log, it appears that the Linux Trace Toolkit (LTT) trace logs were not collected.

    Can you confirm that the Linux Kernel built with "Relayfs" and "Linux Trace Toolkit Support" turned on?

    Please see the DVEVM Getting Started Guide (SPRUE66) pp. 4-14 - 4.15 for more information.
    Step 6, details how to enable the Linux Trace Toolkit for the SoC Analyzer.

     

    Please let me know if this helps, or if you have any other questions.

     

    Many thanks,

     

    Michael G. Fowler.
    Software Systems Engineer
    Texas Instruments Inc.