開啟更多的log點:
kernel部分
主要文件
/kernel/drivers/media/platform/msm/vidc/msm_v4l2_vidc.c
/kernel/drivers/media/platform/msm/vidc/msm_vidc.c
/kernel/drivers/media/platform/msm/vidc/msm_smem.c
/kernel/drivers/staging/android/ion/msm/msm_ion.c
/kernel/drivers/staging/android/ion/ion.c
dprintk在user版本出不來log,將配置文件改成user版本的:
kernel/arch/arm/configs/gflip2-pref_defconfig
Media部分
framework/av/media
MediaPlayerService.cpp
Mediarecorder.cpp
StagefrightRecorder.cpp
MediaCodec.cpp
ACodec.cpp
MPEG4Writer.cpp
MediaCodecSource.cpp
CameraSource.cpp
AudioSource.cpp
AudioTrack.cpp
AudioRecord.cpp
將#define LOG_NDEBUG 0這個宏打開
OMX部分
hal層:
DEBUG_PRINT_ERROR->打開宏_ENABLE_QC_MSG_LOG_
宏定義在/hardware/qcom/media/mm-core/inc/qcom_omx_msg.h