How to make the launcher (/usr/local/driveworks/bin/launcher) start a CGF program and generate STM binary log?

Please provide the following info (tick the boxes after creating this topic):
Software Version
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
[*] DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.2.10884
other

Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
We need this log to optimize scheduling configurations. stm_master needs the “-l” option to generate binary logs, but I couldn’t find the corresponding option in the launcher’s help information. Are there other ways to generate binary logs?

Dear @jiangxiaoke,
stm_master.log is generated the same folder when you launch run_cgf.sh when app runs succesfully. You did not notice this on your machine?

The two types of logs are different - the binary log format is unreadable and needs to be parsed using the stmanalyze tool to generate scheduling and runtime logs. For details, please refer to sections 3.2.1.8 and 3.3.1 of the Nvidia-STM-Userguide.pdf.

I found the corresponding configuration in *app.json

That’s great! If you don’t mind, could you please share the details of how you enable the logs through the *app.json configuration? It would be helpful for other developers who might have the same question in the future. Thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.