mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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
This commit is contained in:
parent
ab1d4c30ca
commit
79ec3e999b
5 changed files with 22 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue