概述
1、logcat Log
adb logcat -b main -b system -v threadtime > /data/logcat.txt
2、kernel Log
//相应文件的log获取
echo -n "file msm-compress-q6-v2.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file compress_offload.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file msm-pcm-q6-v2.c +p " > /sys/kernel/debug/dynamic_debug/control
echo -n "file msm-pcm-routing-v2.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file q6afe.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file q6adm.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file q6asm.c +p " > /sys/kernel/debug/dynamic_debug/control
echo "file rtac.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file audio_acdb.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file audio_calibration.c +p" > /sys/kernel/debug/dynamic_debug/control
echo "file audio_cal_utils.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file soc-dapm.c +p" > /sys/kernel/debug/dynamic_debug/control
echo -n "file soc-core.c +p > /sys/kernel/debug/dynamic_debug/control"
echo -n "file soc-pcm.c +p " > /sys/kernel/debug/dynamic_debug/control
adb shell cat /proc/kmsg > kernle
2、获取codec寄存器数值
获取高通pm8937相关寄存器数值(每次使用该命令需要重新获取节点路径)
adb shell cat /sys/kernel/debug/asoc/msm8952-sku2-snd-card/codec:msm8x16_wcd_codec-ffffffc073859/codec_reg > /data/codec_reg.txt
cat /sys/kernel/debug/asoc/msm8939-snd-card-skul/msm8x16_wcd_codec-ffffffc072a08/codec_reg > /data/codec_log.txt
3、QXDM Log
4、QACT Log
最后
以上就是结实柚子为你收集整理的【Qualcomm高通音频】如何抓去各种音频日志?的全部内容,希望文章能够帮你解决【Qualcomm高通音频】如何抓去各种音频日志?所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复