NVIDIA DriveOS Linux NSR SDK API Reference

7.0.3.0 Release
nvos_s3_tegra_log.h File Reference

Go to the source code of this file.

Macros

#define NvBoolTrue   ((NvBoolVar)0xBABAFACEU)
 
#define NvBoolFalse   ((NvBoolVar)0x45450531U)
 
#define NVOS_LOG_BUF_SZ_DEFAULT   (28U)
 
#define NVOS_LOG_BUF_SZ_MIN   (4U)
 
#define NVOS_LOG_BUF_SZ_MAX   (256U)
 

Functions

void NvOsDebugPrintStr (uint16_t module_id, uint8_t severity, const char *str)
 This function logs a string in a log buffer. More...
 
void NvOsDebugPrintStrStr (uint16_t module_id, uint8_t severity, const char *str1, const char *str2)
 This function logs two different strings in a log buffer. More...
 
void NvOsDebugPrintStrInt (uint16_t module_id, uint8_t severity, const char *str, int32_t val)
 This function logs a string and int32_t value in a log buffer. More...
 
void NvOsDebugPrintStrUInt (uint16_t module_id, uint8_t severity, const char *str, uint32_t val)
 This function logs a string and an uint32_t value in a log buffer. More...
 
void NvOsDebugPrintStrSLong (uint16_t module_id, uint8_t severity, const char *str, int64_t val)
 This function logs a string and int64_t value in a log buffer. More...
 
void NvOsDebugPrintStrULong (uint16_t module_id, uint8_t severity, const char *str, uint64_t val)
 This function logs a string and uint64_t value in a log buffer. More...
 
void NvOsDebugPrintStrWith2Int (uint16_t module_id, uint8_t severity, const char *str, int32_t value1, int32_t value2)
 This function logs a string with two int32_t values in a log buffer. More...
 
void NvOsDebugPrintStrWith2SLong (uint16_t module_id, uint8_t severity, const char *str, int64_t value1, int64_t value2)
 This function logs a string with two int64_t values in a log buffer. More...
 
void NvOsDebugPrintStrWith2UInt (uint16_t module_id, uint8_t severity, const char *str, uint32_t value1, uint32_t value2)
 This function logs a string with two uint32_t values in a log buffer. More...
 
void NvOsDebugPrintStrWith2ULong (uint16_t module_id, uint8_t severity, const char *str, uint64_t value1, uint64_t value2)
 This function logs a string with two uint64_t values in a log buffer. More...
 
void NvOsDebugPrintStrHexUInt (uint16_t module_id, uint8_t severity, const char *str, uint32_t val)
 This function logs a string and unsigned int value in hexadecimal to a log buffer. More...
 
void NvOsDebugPrintStrHexULong (uint16_t module_id, uint8_t severity, const char *str, uint64_t val)
 This function logs a string and uint64_t value in hexadecimal to a log buffer. More...
 
void NvOsDebugPrintStrWith2HexULong (uint16_t module_id, uint8_t severity, const char *str, uint64_t val1, uint64_t val2)
 This function logs a string and two uint64_t values in hexadecimal to a log buffer. More...
 
void NvOsDebugPrintStrFloat (uint16_t module_id, uint8_t severity, const char *str, float val)
 This function logs a string and float value to a log buffer. More...
 
void NvOsDebugPrintStrWith2Float (uint16_t module_id, uint8_t severity, const char *str, float val1, float val2)
 This function logs a string and two float values to a log buffer. More...
 
void NvOsDebugPrintStrDouble (uint16_t module_id, uint8_t severity, const char *str, double val)
 This function logs a string and a double value to a log buffer. More...
 
void NvOsDebugPrintStrWith2Double (uint16_t module_id, uint8_t severity, const char *str, double val1, double val2)
 This function logs a string and two double values to a log buffer. More...
 
uint32_t NvOsIsLoggingReady (void)
 Checks if logging via NvOS is available. More...
 
uint32_t NvOsInitializeLogging (const int32_t verbosity, const int32_t buf_size)
 Initialize logging for a client. More...
 

Macro Definition Documentation

◆ NvBoolFalse

#define NvBoolFalse   ((NvBoolVar)0x45450531U)

Definition at line 40 of file nvos_s3_tegra_log.h.

◆ NvBoolTrue

#define NvBoolTrue   ((NvBoolVar)0xBABAFACEU)

Definition at line 35 of file nvos_s3_tegra_log.h.

◆ NVOS_LOG_BUF_SZ_DEFAULT

#define NVOS_LOG_BUF_SZ_DEFAULT   (28U)

Definition at line 44 of file nvos_s3_tegra_log.h.

◆ NVOS_LOG_BUF_SZ_MAX

#define NVOS_LOG_BUF_SZ_MAX   (256U)

Definition at line 50 of file nvos_s3_tegra_log.h.

◆ NVOS_LOG_BUF_SZ_MIN

#define NVOS_LOG_BUF_SZ_MIN   (4U)

Definition at line 47 of file nvos_s3_tegra_log.h.