开启更多的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
网友评论