NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release
nvlog_common_defs.h File Reference

Go to the source code of this file.

Macros

#define EOK   (0)
 
#define NVLOG_USE_DEFAULT_TIMEOUT   (0)
 Pass as timeout_ms to NvLog_Control() to use the default IPC command timeout (NVLOG_IPC_TIMEOUT_US = 1 second). More...
 
#define NVLOG_DT_NODE   "/nvlog_gos"
 
#define NVLOG_DT_STATUS   "status"
 
#define NVLOG_DT_IVC_CLIENT_EP_NAME   "ivc_client_ep_name"
 
#define NVLOG_SIGTERM   (15)
 
#define NVLOG_SIGABRT   (6)
 
#define NVLOG_SIGINT   (2)
 
#define NVLOG_VM_LOGGING_DISABLE   (0xFFU)
 

Enumerations

enum  NvLogError {
  NVLOG_SUCCESS = 0,
  NVLOG_ERROR_INVALID_PARAM,
  NVLOG_ERROR_MUTEX_FAILED,
  NVLOG_ERROR_NOT_INITIALIZED,
  NVLOG_ERROR_ALREADY_INITIALIZED,
  NVLOG_ERROR_DT_FAILED,
  NVLOG_ERROR_IPC_FAILED,
  NVLOG_ERROR_IPC_TIMEOUT,
  NVLOG_ERROR_CMD_FAILED,
  NVLOG_ERROR_IVC_NOT_READY
}
 Enum for NvLog error codes. More...
 
enum  NvLogAction {
  NVLOG_ACTION_DISABLE = 0U,
  NVLOG_ACTION_ENABLE = 1U,
  NVLOG_ACTION_FLUSH = 2U,
  NVLOG_ACTION_SET_LOG_LEVEL = 3U,
  NVLOG_ACTION_MAX = 4U
}
 Enum for NvLog control actions. More...
 
enum  NvLogTarget {
  NVLOG_TARGET_NVLOG_SERVER = 0U,
  NVLOG_TARGET_VM0 = 1U,
  NVLOG_TARGET_VM1 = 2U,
  NVLOG_TARGET_VM2 = 3U,
  NVLOG_TARGET_HVRTOS_NS = 4U,
  NVLOG_TARGET_FSI = 5U,
  NVLOG_TARGET_OESP = 6U,
  NVLOG_TARGET_DCE = 7U,
  NVLOG_TARGET_DLA = 8U,
  NVLOG_TARGET_PVA = 9U,
  NVLOG_TARGET_RCE = 10U,
  NVLOG_TARGET_MAX = 11U
}
 Enum for NvLog targets. More...