qcacmn: Add support to configure buffer size from kbuild
Add support to configure logging buffer size from per-OEM kbuild based on memory requirement. Change-Id: Ia91d79e5e738b1c9787015de101c3f67ccde46aa CRs-Fixed: 2253438
此提交包含在:
@@ -86,8 +86,11 @@ typedef int (qdf_abstract_print)(void *priv, const char *fmt, ...);
|
||||
/* Preprocessor definitions and constants */
|
||||
#define ASSERT_BUFFER_SIZE (512)
|
||||
|
||||
#define QDF_TRACE_DEFAULT_PDEV_ID 0xff
|
||||
#ifndef MAX_QDF_TRACE_RECORDS
|
||||
#define MAX_QDF_TRACE_RECORDS 4000
|
||||
#endif
|
||||
|
||||
#define QDF_TRACE_DEFAULT_PDEV_ID 0xff
|
||||
#define INVALID_QDF_TRACE_ADDR 0xffffffff
|
||||
#define DEFAULT_QDF_TRACE_DUMP_COUNT 0
|
||||
|
||||
@@ -154,8 +157,10 @@ typedef struct s_qdf_trace_data {
|
||||
|
||||
#define CASE_RETURN_STRING(str) case ((str)): return (uint8_t *)(# str);
|
||||
|
||||
|
||||
#ifndef MAX_QDF_DP_TRACE_RECORDS
|
||||
#define MAX_QDF_DP_TRACE_RECORDS 2000
|
||||
#endif
|
||||
|
||||
#define QDF_DP_TRACE_RECORD_SIZE 40
|
||||
#define INVALID_QDF_DP_TRACE_ADDR 0xffffffff
|
||||
#define QDF_DP_TRACE_VERBOSITY_HIGH 3
|
||||
|
新增問題並參考
封鎖使用者