Home
last modified time | relevance | path

Searched refs:stackTrace (Results 1 - 7 of 7) sorted by relevance

/base/startup/appspawn/modules/common/
H A Dappspawn_dfx_dump.cpp25 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()
30 APPSPAWN_LOGE("dumpCatch stackTrace failed."); in DumpSpawnStack()
/base/hiviewdfx/hichecker/interfaces/native/innerkits/include/
H A Dcaution.h28 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);
/base/hiviewdfx/hichecker/frameworks/native/
H A Dhichecker.cpp95 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 Dcaution.cpp45 void Caution::SetStackTrace(const std::string& stackTrace) in SetStackTrace() argument
47 stackTrace_ = stackTrace; in SetStackTrace()
/base/hiviewdfx/hisysevent/interfaces/js/kits/napi/src/
H A Dnapi_hisysevent_adapter.cpp66 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()
/base/hiviewdfx/hichecker/test/unittest/common/native/
H A Dhichecker_native_test.cpp274 std::string stackTrace = "stackTrace";
275 Caution cautionError(RULE_ERROR0, cautionMsg, "stackTrace");
277 Caution caution(Rule::RULE_CHECK_ABILITY_CONNECTION_LEAK, cautionMsg, stackTrace);
279 EXPECT_EQ(caution.GetStackTrace(), stackTrace);
/base/hiviewdfx/hiview/core/
H A Dhiview_platform.cpp162 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()

Completed in 4 milliseconds