OSDN Git Service

net: cnss_prealloc: add debugfs entry to check the memory status
authorSarada Prasanna Garnayak <sgarna@codeaurora.org>
Mon, 6 Jun 2016 09:52:49 +0000 (15:22 +0530)
committerHardik Kantilal Patel <hkpatel@codeaurora.org>
Fri, 31 Mar 2017 08:57:58 +0000 (14:27 +0530)
commit948f3d74256f128abbf656da830862c99a785ca2
treea12a5cb59f04c767f8f6fe014984a14d78e84c95
parent630218f7109215471e1f43c2200f6bdc98f92f93
net: cnss_prealloc: add debugfs entry to check the memory status

This feature adds support to check the pre allocated memory
pool status at runtime. This debugfs entry provide the required
information for wlan host driver memory profiling and adds support
to debug the pre-alloc memory failure issue.

feature:
1. Total amount of pre-alloc memory avail and used in the
   memory pool.
2. Pre-alloc memory status per slots(used/free).

CRs-Fixed: 2027352
Change-Id: I61c51f93dd7462b1fa9c36f6eea3814a6acbdd34
Signed-off-by: Sarada Prasanna Garnayak <sgarna@codeaurora.org>
Signed-off-by: Hardik Kantilal Patel <hkpatel@codeaurora.org>
drivers/net/wireless/cnss_prealloc/cnss_prealloc.c