qcacmn: Add wlan driver log msgs into the minidump
As part of minidump enhancement feature, incorporate wlan driver log_msg data structure into the minidump. Change-Id: Ic68e199c645bf8c8be50e105391b5c6efa90decc CRs-Fixed: 2946292
This commit is contained in:

committed by
Madan Koyyalamudi

parent
55279efffb
commit
f94320aa61
@@ -222,11 +222,14 @@ static struct log_msg gplog_msg[MAX_LOGMSG_COUNT];
|
|||||||
|
|
||||||
static inline QDF_STATUS allocate_log_msg_buffer(void)
|
static inline QDF_STATUS allocate_log_msg_buffer(void)
|
||||||
{
|
{
|
||||||
|
qdf_minidump_log(gplog_msg, sizeof(gplog_msg), "wlan_logs");
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline void free_log_msg_buffer(void)
|
static inline void free_log_msg_buffer(void)
|
||||||
{ }
|
{
|
||||||
|
qdf_minidump_remove(gplog_msg, sizeof(gplog_msg), "wlan_logs");
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Need to call this with spin_lock acquired */
|
/* Need to call this with spin_lock acquired */
|
||||||
|
Reference in New Issue
Block a user