Home
last modified time | relevance | path

Searched refs:traceName (Results 1 - 6 of 6) sorted by relevance

/base/hiviewdfx/faultloggerd/common/trace/
H A Ddfx_trace.cpp24 char traceName[TRACE_BUF_LEN] = {0}; in DfxStartTrace() local
25 int ret = vsnprintf_s(traceName, sizeof(traceName), sizeof(traceName) - 1, fmt, args); in DfxStartTrace()
28 strcpy_s(traceName, TRACE_BUF_LEN, "DefaultTraceName"); in DfxStartTrace()
30 StartTrace(HITRACE_TAG_APP, traceName); in DfxStartTrace()
42 std::string traceName = "DefaultTraceName"; in FormatTraceName() local
43 if (ret == -1 && size > traceName.length()) { in FormatTraceName()
44 ret = strcpy_s(name, size, traceName.c_str()); in FormatTraceName()
H A Ddfx_trace_dlsym.cpp69 char traceName[TRACE_BUF_LEN] = {0}; in DfxStartTraceDlsymFormat() local
70 int ret = vsnprintf_s(traceName, sizeof(traceName), sizeof(traceName) - 1, fmt, args); in DfxStartTraceDlsymFormat()
75 g_startTrace(TAG_APP, traceName); in DfxStartTraceDlsymFormat()
102 std::string traceName = "DefaultTraceName"; in FormatTraceName() local
103 if (ret == -1 && size > traceName.length()) { in FormatTraceName()
104 ret = strcpy_s(name, size, traceName.c_str()); in FormatTraceName()
/base/hiviewdfx/hitrace/test/unittest/hitrace_meter/
H A Dhitrace_ndk_test.cpp219 bool GetTraceResult(const char type, const string& traceName, const HiTraceId* hiTraceId, in GetTraceResult() argument
236 str = prefix + std::to_string(g_pid) + LABEL_HEADER + chainStr + traceName; in GetTraceResult()
243 + traceName + " " + to_string(taskId); in GetTraceResult()
247 + traceName + " " + to_string(taskId); in GetTraceResult()
250 str = prefix + std::to_string(g_pid) + LABEL_HEADER + chainStr + traceName; in GetTraceResult()
367 std::string traceName = "HitraceStartTrace001"; in HWTEST_F() local
370 StartTrace(TAG, traceName); in HWTEST_F()
374 bool isStartSuc = GetTraceResult('B', traceName, nullptr, 0, list); in HWTEST_F()
375 ASSERT_TRUE(isStartSuc) << "Hitrace Can't find \"B|pid|" + traceName + "\" from trace."; in HWTEST_F()
376 bool isFinishSuc = GetTraceResult('E', traceName, nullpt in HWTEST_F()
387 std::string traceName = "AddHitraceMeterMarker001"; HWTEST_F() local
419 std::string traceName = "AddHitraceMeterMarker002"; HWTEST_F() local
441 std::string traceName = "AddHitraceMeterMarker003"; HWTEST_F() local
456 string traceName = "AddHitraceMeterMarker004"; HWTEST_F() local
472 std::string traceName = "HitraceStartTrace005"; HWTEST_F() local
510 std::string traceName = "HitraceStartTrace006"; HWTEST_F() local
531 std::string traceName = "HitraceStartTrace007"; HWTEST_F() local
556 std::string traceName = "HitraceStartTrace008"; HWTEST_F() local
578 std::string traceName = "HitraceStartTrace009"; HWTEST_F() local
602 std::string traceName = "HitraceStartTrace010"; HWTEST_F() local
627 std::string traceName = "HitraceStartTrace011"; HWTEST_F() local
651 std::string traceName = "HitraceStartTrace012"; HWTEST_F() local
675 std::string traceName = "HitraceStartTrace013"; HWTEST_F() local
705 std::string traceName = "StartHiTraceIdTest001"; HWTEST_F() local
755 string traceName = "StartAsyncHiTraceIdTest001"; HWTEST_F() local
803 string traceName = "StartTraceTest003 %s"; HWTEST_F() local
834 string traceName = "StartTraceTest004"; HWTEST_F() local
855 string traceName = "asyncTraceTest005"; HWTEST_F() local
876 string traceName = "countTraceTest006"; HWTEST_F() local
894 string traceName = "StartTraceTest007"; HWTEST_F() local
914 string traceName = "StartTraceTest008 %s"; HWTEST_F() local
945 string traceName = "asyncTraceTest009"; HWTEST_F() local
966 string traceName = "countTraceTest010"; HWTEST_F() local
1063 string traceName = "StartTraceTest017-%d"; HWTEST_F() local
1085 string traceName = "asyncTraceTest018-%d"; HWTEST_F() local
1141 string traceName = "StartTraceWrapper001"; HWTEST_F() local
1161 string traceName = "StartAsyncTraceWrapper009"; HWTEST_F() local
1182 string traceName = "CountTraceWrapper001"; HWTEST_F() local
1383 string traceName = "asyncTraceTest029-%d"; HWTEST_F() local
1405 std::string traceName = "StartCaptureAppTrace001"; HWTEST_F() local
1517 string traceName = "HitraceMeterFmtScoped001"; HWTEST_F() local
1537 std::string traceName = "HitracePerfScoped001"; HWTEST_F() local
1552 std::string traceName = "HitracePerfScoped002"; HWTEST_F() local
[all...]
/base/hiviewdfx/faultloggerd/common/trace/include/
H A Ddfx_trace.h28 char traceName[TRACE_BUF_LEN] = {0}; \
29 FormatTraceName(traceName, TRACE_BUF_LEN, fmt, ##__VA_ARGS__); \
30 HitraceScoped trace(HITRACE_TAG_APP, traceName)
H A Ddfx_trace_dlsym.h48 char traceName[TRACE_BUF_LEN] = {0}; \
49 FormatTraceName(traceName, TRACE_BUF_LEN, fmt, ##__VA_ARGS__); \
50 DfxTraceScoped trace(traceName)
/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/
H A Dhitrace_meter.cpp991 std::string traceName = name; in CountTraceWrapper() local
992 CountTrace(label, traceName, count); in CountTraceWrapper()

Completed in 5 milliseconds