qcacmn: Add a new trace level for automation of logging

Add a new logging trace level QDF_TRACE_LEVEL_TRACE for
automation scripts to process the logging.

A new logging Infrastructure is to be added where the newly
added logging level QDF_TRACE_LEVEL_TRACE will be used to
log in specific format and these logs will be used by
post processing script to figure out right FA or to figure
the module from where the path deviated. It will help out CST
to figure out the right FA if there are any issues in the driver.

Change-Id: I7b5772026e4fc2f8e5205663e9150c861b69fdfc
CRs-Fixed: 2290893
This commit is contained in:
Ashish Kumar Dhanotiya
2018-06-24 18:01:58 +05:30
committed by nshrivas
부모 008baa9b4d
커밋 9d0ed2532c
2개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@@ -484,6 +484,10 @@ typedef enum {
* @QDF_TRACE_LEVEL_INFO_LOW: Low level operational messages that require
* no action
* @QDF_TRACE_LEVEL_DEBUG: Information useful to developers for debugging
* @QDF_TRACE_LEVEL_TRACE: Indicates trace level for automation scripts,
* whenever there is a context switch in driver, one
* print using this trace level will be added with
* the help of qdf_trace api.
* @QDF_TRACE_LEVEL_ALL: All trace levels
* @QDF_TRACE_LEVEL_MAX: Max trace level
*/
@@ -497,6 +501,7 @@ typedef enum {
QDF_TRACE_LEVEL_INFO_MED,
QDF_TRACE_LEVEL_INFO_LOW,
QDF_TRACE_LEVEL_DEBUG,
QDF_TRACE_LEVEL_TRACE,
QDF_TRACE_LEVEL_ALL,
QDF_TRACE_LEVEL_MAX
} QDF_TRACE_LEVEL;