Home
last modified time | relevance | path

Searched refs:maxFrameNums (Results 1 - 9 of 9) sorted by relevance

/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/include/
H A Dbacktrace_local.h39 * @param maxFrameNums the maximum number of frames to backtrace
43 size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM);
55 * @param maxFrameNums the maximum number of frames to backtrace
62 size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM, bool enableKernelStack = true);
69 * @param maxFrameNums the maximum number of frames to backtrace
72 bool PrintBacktrace(int32_t fd = -1, bool fast = false, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM);
79 * @param maxFrameNums the maximum number of frames to backtrace
82 bool GetBacktrace(std::string& out, bool fast = false, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM);
90 * @param maxFrameNums the maximum number of frames to backtrace
94 size_t maxFrameNums
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/backtrace/
H A Dbacktrace_local.cpp55 size_t maxFrameNums) in GetBacktraceFramesByTid()
67 bool ret = thread.Unwind(fast, maxFrameNums, skipFrameNum + 1); in GetBacktraceFramesByTid()
73 size_t maxFrameNums, bool enableKernelStack) in GetBacktraceStringByTid()
76 bool ret = GetBacktraceFramesByTid(frames, tid, skipFrameNum + 1, fast, maxFrameNums); in GetBacktraceStringByTid()
94 bool PrintBacktrace(int32_t fd, bool fast, size_t maxFrameNums) in PrintBacktrace() argument
99 BACKTRACE_CURRENT_THREAD, 1, fast, maxFrameNums); // 1: skip current frame in PrintBacktrace()
114 bool GetBacktrace(std::string& out, bool fast, size_t maxFrameNums) in GetBacktrace() argument
118 fast, maxFrameNums, false); // 1: skip current frame in GetBacktrace()
123 bool GetBacktrace(std::string& out, size_t skipFrameNum, bool fast, size_t maxFrameNums) in GetBacktrace() argument
126 bool ret = GetBacktraceStringByTid(out, BACKTRACE_CURRENT_THREAD, skipFrameNum + 1, fast, maxFrameNums, fals in GetBacktrace()
54 GetBacktraceFramesByTid(std::vector<DfxFrame>& frames, int32_t tid, size_t skipFrameNum, bool fast, size_t maxFrameNums) GetBacktraceFramesByTid() argument
72 GetBacktraceStringByTid(std::string& out, int32_t tid, size_t skipFrameNum, bool fast, size_t maxFrameNums, bool enableKernelStack) GetBacktraceStringByTid() argument
131 PrintTrace(int32_t fd, size_t maxFrameNums) PrintTrace() argument
136 GetTrace(size_t skipFrameNum, size_t maxFrameNums) GetTrace() argument
146 GetProcessStacktrace(size_t maxFrameNums, bool enableKernelStack) GetProcessStacktrace() argument
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/include/
H A Ddfx_dump_catcher.h42 * @param maxFrameNums the maximum number of frames to dump, if pid is not equal to caller pid then it is ignored
46 bool DumpCatch(int pid, int tid, std::string& msg, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM,
55 * @param maxFrameNums the maximum number of frames to dump,
59 bool DumpCatchFd(int pid, int tid, std::string& msg, int fd, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM);
75 * @param maxFrameNums the maximum number of frames to dump,
80 int DumpCatchProcess(int pid, std::string& msg, size_t maxFrameNums = DEFAULT_MAX_FRAME_NUM,
83 bool DoDumpCurrTid(const size_t skipFrameNum, std::string& msg, size_t maxFrameNums);
84 bool DoDumpLocalTid(const int tid, std::string& msg, size_t maxFrameNums);
85 bool DoDumpLocalPid(int pid, std::string& msg, size_t maxFrameNums);
86 bool DoDumpLocalLocked(int pid, int tid, std::string& msg, size_t maxFrameNums);
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/dump_catcher/
H A Ddfx_dump_catcher.cpp80 bool DfxDumpCatcher::DoDumpCurrTid(const size_t skipFrameNum, std::string& msg, size_t maxFrameNums) in DoDumpCurrTid() argument
84 ret = GetBacktrace(msg, skipFrameNum + 1, false, maxFrameNums); in DoDumpCurrTid()
93 bool DfxDumpCatcher::DoDumpLocalTid(const int tid, std::string& msg, size_t maxFrameNums) in DoDumpLocalTid() argument
100 ret = GetBacktraceStringByTid(msg, tid, 0, false, maxFrameNums); in DoDumpLocalTid()
108 bool DfxDumpCatcher::DoDumpLocalPid(int pid, std::string& msg, size_t maxFrameNums) in DoDumpLocalPid() argument
124 ret = DoDumpCurrTid(skipFramNum, threadMsg, maxFrameNums); in DoDumpLocalPid()
126 ret = DoDumpLocalTid(tid, threadMsg, maxFrameNums); in DoDumpLocalPid()
142 bool DfxDumpCatcher::DoDumpLocalLocked(int pid, int tid, std::string& msg, size_t maxFrameNums) in DoDumpLocalLocked() argument
147 ret = DoDumpCurrTid(skipFramNum, msg, maxFrameNums); in DoDumpLocalLocked()
149 ret = DoDumpLocalPid(pid, msg, maxFrameNums); in DoDumpLocalLocked()
215 DumpCatchProcess(int pid, std::string& msg, size_t maxFrameNums, bool isJson) DumpCatchProcess() argument
229 DumpCatch(int pid, int tid, std::string& msg, size_t maxFrameNums, bool isJson) DumpCatch() argument
274 DumpCatchFd(int pid, int tid, std::string& msg, int fd, size_t maxFrameNums) DumpCatchFd() argument
[all...]
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_config.cpp106 if (key.compare("maxFrameNums") == 0) { in ParserConfig()
107 unsigned int maxFrameNums = static_cast<unsigned int>(atoi(value.data())); in ParserConfig() local
108 if (maxFrameNums != 0) { in ParserConfig()
109 config.maxFrameNums = maxFrameNums; in ParserConfig()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddfx_config.h30 unsigned int maxFrameNums = 256; member
/base/hiviewdfx/faultloggerd/tools/process_dump/
H A Ddfx_unwind_async_thread.cpp50 DfxConfig::GetConfig().maxFrameNums); in UnwindStack()
H A Ddfx_unwind_remote.cpp206 bool ret = unwinder->UnwindRemote(pid, withRegs, DfxConfig::GetConfig().maxFrameNums); in UnwindOtherThread()
/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Dunwinder_test.cpp654 ASSERT_EQ(DfxConfig::GetConfig().maxFrameNums, 256); in HWTEST_F()

Completed in 5 milliseconds