summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorMahesh Kumar Kalikot Veetil <mkalikot@codeaurora.org>2016-10-27 14:56:34 -0700
committerqcabuildsw <qcabuildsw@localhost>2017-01-06 09:54:53 -0800
commit6da21f5940187659e321bbebfe930fdd13aed887 (patch)
tree3bade7d2caec8115f7f2f0875b13c56896f69337 /include/linux
parentef189ce98bd78a903ddb3004e1effb48315fac27 (diff)
qcacmn: Add debugfs support
Create a root directory for debugfs at /sys/kernel/debug/KBUILD_MODNAME_qdf/. The module name, KBUILD_MODNAME, is used in the path to avoid conflict in case of multiple instances of the same driver. Any sub module in QDF can use this as the root directory to add further files of directories. While unloading the driver the exit routine does a recursive cleanup of any remaining files or sub directories. Even though debugfs is a Linux specific feature, a logic which is related to file system for debugging can be added here. This feature is protected with a compilation flag WLAN_DEBUGFS. Change-Id: I21cae38b69f45c22121dfe70fe84f02423a26020 CRs-Fixed: 1083771
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions