/ohos5.0/base/hiviewdfx/hichecker/frameworks/native/ |
H A D | hichecker.cpp | 95 std::string stackTrace; in NotifySlowProcess() local 96 DumpStackTrace(stackTrace); in NotifySlowProcess() 98 "trigger:RULE_THREAD_CHECK_SLOW_PROCESS," + tag, stackTrace); in NotifySlowProcess() 107 std::string stackTrace; in NotifySlowEvent() local 108 DumpStackTrace(stackTrace); in NotifySlowEvent() 110 "trigger:RULE_CHECK_SLOW_EVENT," + tag, stackTrace); in NotifySlowEvent() 142 std::string stackTrace; in NotifyCaution() local 143 DumpStackTrace(stackTrace); in NotifyCaution() 145 caution.SetStackTrace(stackTrace); in NotifyCaution()
|
H A D | caution.cpp | 45 void Caution::SetStackTrace(const std::string& stackTrace) in SetStackTrace() argument 47 stackTrace_ = stackTrace; in SetStackTrace()
|
/ohos5.0/base/startup/appspawn/modules/common/ |
H A D | appspawn_dfx_dump.cpp | 25 std::string stackTrace; in DumpSpawnStack() local 26 bool ret = dumpLog.DumpCatch(pid, 0, stackTrace); in DumpSpawnStack() 28 APPSPAWN_LOGI("dumpMsg: pid %{public}d. %{public}s", pid, stackTrace.c_str()); in DumpSpawnStack()
|
/ohos5.0/base/hiviewdfx/hichecker/interfaces/native/innerkits/include/ |
H A D | caution.h | 28 Caution(uint64_t triggerRule, const std::string& cautionMsg, const std::string& stackTrace) in Caution() argument 29 : triggerRule_(triggerRule), cautionMsg_(cautionMsg), stackTrace_(stackTrace) {} in Caution() 35 void SetStackTrace(const std::string& stackTrace);
|
/ohos5.0/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/ |
H A D | napi_hisysevent_adapter.cpp | 66 void ParseCallerInfoFromStackTrace(const std::string& stackTrace, JsCallerInfo& callerInfo) in ParseCallerInfoFromStackTrace() argument 68 if (stackTrace.empty()) { in ParseCallerInfoFromStackTrace() 73 Split(stackTrace, CALL_FUNC_INFO_DELIMITER, callInfos); in ParseCallerInfoFromStackTrace() 108 std::string stackTrace; in ParseJsCallerInfo() local 109 if (napi_get_stack_trace(env, stackTrace) != napi_ok) { in ParseJsCallerInfo() 113 ParseCallerInfoFromStackTrace(stackTrace, callerInfo); in ParseJsCallerInfo()
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-dfx-hichecker.md | 100 Caution caution(Rule::RULE_CHECK_ABILITY_CONNECTION_LEAK , cautionMessage, stackTrace) 102 // stackTrace为发生泄露时的堆栈信息
|
/ohos5.0/base/hiviewdfx/hichecker/test/unittest/common/native/ |
H A D | hichecker_native_test.cpp | 262 std::string stackTrace = "stackTrace"; variable 265 Caution caution(Rule::RULE_CHECK_ABILITY_CONNECTION_LEAK, cautionMsg, stackTrace); 267 EXPECT_EQ(caution.GetStackTrace(), stackTrace);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/ |
H A D | connection_manager.cpp | 309 std::string stackTrace; in ReportConnectionLeakEvent() local 310 bool ret = dumpLog.DumpCatch(pid, tid, stackTrace); in ReportConnectionLeakEvent() 316 Caution caution(Rule::RULE_CHECK_ABILITY_CONNECTION_LEAK, cautionMsg, stackTrace); in ReportConnectionLeakEvent()
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-dfx-hichecker.md | 100 Caution caution(Rule::RULE_CHECK_ABILITY_CONNECTION_LEAK , cautionMessage, stackTrace) 102 // stackTrace indicates the stack information when leakage occurs.
|
/ohos5.0/base/hiviewdfx/hiview/core/ |
H A D | hiview_platform.cpp | 162 std::string stackTrace = GetProcessStacktrace(); in SaveStack() local 163 HIVIEW_LOGI("XCollieCallback: %{public}zu", stackTrace.length()); in SaveStack() 164 if (!FileUtil::SaveStringToFile(stackPath, stackTrace)) { in SaveStack()
|