当前位置:网站首页>USB peripheral driver - debug
USB peripheral driver - debug
2022-06-23 08:26:00 【Be good to me】
Open the debug log:
echo "file drivers/usb/gadget/configfs.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file drivers/usb/gadget/composite.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file drivers/usb/gadget/udc/core.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file drivers/usb/dwc3/gadget.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file drivers/usb/dwc3/dwc3-msm-core.c +p" > /sys/kernel/debug/dynamic_debug/control
open trace:
echo 1 > /sys/kernel/debug/tracing/events/gadget/enable
echo 1 > /sys/kernel/debug/tracing/events/dwc3/enable
echo 0 > /sys/kernel/debug/tracing/events/dwc3/dwc3_readl/enable //read and write Will always print , Therefore, it is closed
echo 0 > /sys/kernel/debug/tracing/events/dwc3/dwc3_writel/enable
边栏推荐
- Captain Abu's soul torture
- C Advanced Learning -- extended method (this)
- kernel log调试方法
- vector的深度剖析及模拟实现
- Cloud computing "half peak"
- Odoo project sends information to wechat official account or enterprise wechat
- Location of firewalld configuration file
- Pyspark on HPC (Continued): reasonable partition processing and consolidated output of a single file
- Commonly used bypass methods for SQL injection -ctf
- Do not put files with garbled names into the CFS of NFS protocol
猜你喜欢

Tensorboard的使用

渲染效果图哪家好?2022最新实测(四)

After reading five books, I summarized these theories of wealth freedom

QT irregular shape antialiasing

给你的win10装一个wget

ThreadPoolExecutor线程池实现原理与源码解析

开源技术交流丨批流一体数据同步引擎ChunJun数据还原-DDL功能模块解析

Introduction to typescript and basic types of variable definitions

Keng dad's "dedication blessing": red packet technology explosion in Alipay Spring Festival Gala

为什么用生长型神经气体网络(GNG)?
随机推荐
INT 104_ LEC 06
Map接口及其子实现类
Openvino series 19 Openvino and paddleocr for real-time video OCR processing
5-rotating Daisy - rotating canvas and timer
Structure and usage of transform
MySQL common skills
词性家族
Self organizing map neural network (SOM)
Moodle e-learning platform fixes the session hijacking error that leads to pre authorized rce
复选框的基本使用与实现全选和反选功能
Huawei ECS EIP cannot be pinged
Two bug fixes in aquatone tool
Vulnhub | DC: 3 |【实战】
Lightweight UI control library worth collecting
Why use growth neural gas network (GNG)?
走好数据中台最后一公里,为什么说数据服务API是数据中台的标配?
[paper notes] catching both gray and black swans: open set supervised analog detection*
How to solve the problem that flv video stream cannot be played and TS file generation fails due to packet loss?
Keng dad's "dedication blessing": red packet technology explosion in Alipay Spring Festival Gala
正则表达式使用案例