Debugging the SX-SDxAC Driver

The purpose of this document is to describe the existing debug functions in the SX-SDxAC driver.  This focuses on two debug logging facilities in the SX-SDxAC driver source,

  1. AR_DEBUG_PRINTF() - wrapper function of printk()
  2. VOS_TRACE() - wrapper function of snprintf()

The application notes covers the following ,  debug.png

  • Scope
  • General description
  • Debug control
    • AR_DEBUG_PRINTF() - Kernel Module Parameters
    • VOS_TRACE() - qcom_cfg.ini - Debug Configurations
    • VOS_TRACE - cfg.dat - Debug Configuration
  • Others
    • Notes pertaining to debug logging