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:
Karunakar Dasineni
2019-04-29 15:08:34 -07:00
committed by nshrivas
父節點 52ac4710fa
當前提交 23d22c6d8a
共有 2 個文件被更改,包括 29 次插入0 次删除

查看文件

@@ -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 */