RCE Traces

Apart from the error events, the VI notifies several other events to RCE that can be read by CCPLEX using the RCE tracing framework. This notification is disabled by default and can be enabled as follows:

  1. Run these commands to enable the RCE traces before starting capture:
    echo 10000 > /sys/kernel/debug/tracing/buffer_size_kb
    echo 1 > /sys/kernel/debug/tracing/tracing_on
    echo 1 > /sys/kernel/debug/tracing/events/tegra_rtcpu/enable
    echo 3 > /sys/kernel/debug/camrtc/log-level
  2. After starting capture, read the RCE traces using:
    cat /sys/kernel/debug/tracing/trace
  3. Clear the RCE trace from the previous capture using:
    echo > /sys/kernel/debug/tracing/trace

The RCE trace logs several events such as SOF, EOF that can be used to determine if the VI channel is capturing data or not. Capture the RCE traces and provide them to NVIDIA for further analysis.