![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Android 和 Linux调试技巧
丰满
具有创意的长相,天生给我阳光我就灿烂的性情。
展开
-
linux debugfs使用分享 软件查看gpio状态
在调试中加入debugfs有时可以起到事半功倍的效果: adb shell #mkdir /data/debug #mount -t debugfs debugfs /data/debug #cd /data/debug 查看gpio状态 root@android:/data/debugfs # cat gpio GPIOs 0-15: gpio-0 (front转载 2013-09-13 21:25:20 · 1043 阅读 · 0 评论 -
/proc/sysrq-trigger文件的强大功能
/proc/sysrq-trigger文件的强大功能 /proc/sysrq-trigger该文件能做些什么事情呢? # 立即重新启动计算机 (Reboots the kernel without first unmounting file systems or syncing disks attached to the system) echo "b" > /proc/转载 2014-05-21 09:53:30 · 923 阅读 · 0 评论 -
find、grep、xargs命令的结合使用
语法结构: find path -option [ -print ] [ -exec -ok command ] {} \; 例如改动一个文件后,需要更新整个库的时间去编译 find . -iname * -exec touch {} \; -option的几个参数如下: -ipath p, -path p : 路径名称符原创 2014-05-22 14:19:13 · 1140 阅读 · 0 评论