qcacmn: Add minidump support in QDF
Add QDF wrappers for minidump logging, which logs memory locations to be collected as part of minidump. Change-Id: I2c6b648d3fbb3aed9aaf7eb4872df5befcae971f CRs-Fixed: 2444081
This commit is contained in:
@@ -1386,4 +1386,16 @@ void qdf_logging_exit(void);
|
||||
*/
|
||||
int qdf_sprint_symbol(char *buffer, void *addr);
|
||||
|
||||
/**
|
||||
* qdf_minidump_log() - Log memory address to be included in minidump
|
||||
* @start_addr: Start address of the memory to be dumped
|
||||
* @size: Size in bytes
|
||||
* @name: String to identify this entry
|
||||
*/
|
||||
static inline
|
||||
void qdf_minidump_log(void *start_addr, size_t size, const char *name)
|
||||
{
|
||||
__qdf_minidump_log(start_addr, size, name);
|
||||
}
|
||||
|
||||
#endif /* __QDF_TRACE_H */
|
||||
|
Reference in New Issue
Block a user