Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 23e2fc20 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

net: usbnet: Add module param to toggle LTE IPC logs



IPC logging for LTE functions (RmNet/ECM) is hogging the CPU and
degrading the throughput. Add module parameter 'debug_mask' to
control these logs. By default, the value of ‘debug_mask’ is 0
which means no packets will be logged.

To enable all logs:
 echo 2 > /sys/module/usbnet/parameters/debug_mask

To enable only cv2x log:
 echo 1 > /sys/module/usbnet/parameters/debug_mask

To disable all logs (default setting on boot):
 echo 0 > /sys/module/usbnet/parameters/debug_mask

Change-Id: Id9497c95cbc8c76d0167cd858f7a36b6af12644d
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 179311b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment