diff options
| author | Tong Zhang <[email protected]> | 2022-07-29 20:33:23 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-08-16 15:13:27 +0200 |
| commit | c5682c05b26215592faa97deeec896454179169b (patch) | |
| tree | 3eb3fe2adb2c510c5fc44ba913c082e95b55251e /tools/perf/scripts/python/bin | |
| parent | 626d28e9becadb8e9b7cc66ec93184b671edf175 (diff) | |
staging: rtl8192u: move debug files to debugfs
There are 4 debug files created under /proc/net/[Devname].
Due to this is purely for debuging as files are created read only,
move this to debugfs like other NIC drivers do instead of using procfs.
The directory structure will be like the following
/sys/kernel/debug/r8192u_usb/wlan0/stats-rx
/sys/kernel/debug/r8192u_usb/wlan0/stats-rx
/sys/kernel/debug/r8192u_usb/wlan0/stats-ap
/sys/kernel/debug/r8192u_usb/wlan0/registers
This is also to prepare for address rmmod warn issue.
Reviewed-by: Dan Carpenter <[email protected]>
Signed-off-by: Tong Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions