android 调用堆栈看函数调用

ALOGD("dump callstack");
    android::CallStack stack;
    stack.update( );
    stack.log("CALLSTACK"); //callstack LOG_TAG
要#include <utils/CallStack.h>
看是誰call的
用logcat | grep CALLSTACK




posted @ 2017-02-13 16:37  陈溜溜  阅读(3271)  评论(0编辑  收藏  举报