Home
last modified time | relevance | path

Searched refs:parentSpanId (Results 1 - 15 of 15) sorted by relevance

/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
H A Dhitracechainc.h90 uint64_t parentSpanId : 26; member
96 uint64_t parentSpanId : 26;
130 pId->parentSpanId = 0; in HiTraceChainInitId()
184 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId()
210 return pId->parentSpanId; in HiTraceChainGetParentSpanId()
213 static inline void HiTraceChainSetParentSpanId(HiTraceIdStruct* pId, uint64_t parentSpanId) in HiTraceChainSetParentSpanId() argument
216 pId->parentSpanId = parentSpanId; in HiTraceChainSetParentSpanId()
H A Dhitraceid.h80 * @param parentSpanId the parent span id to set.
82 void SetParentSpanId(uint64_t parentSpanId);
/base/hiviewdfx/hitrace/frameworks/native/
H A Dhitraceid.cpp32 id_.parentSpanId = 0; in HiTraceId()
97 void HiTraceId::SetParentSpanId(uint64_t parentSpanId) in SetParentSpanId() argument
99 HiTraceChainSetParentSpanId(&id_, parentSpanId); in SetParentSpanId()
H A Dhitracechainc.c169 id.parentSpanId = 0; in HiTraceChainBegin()
245 hashData[1] = id.parentSpanId; // 1: parent span id in HiTraceChainCreateSpan()
252 id.parentSpanId = id.spanId; in HiTraceChainCreateSpan()
313 (unsigned long long)pId->spanId, (unsigned long long)pId->parentSpanId, buff + hitraceMask); in HiTraceChainTracepointInner()
348 int HiTraceChainGetInfo(uint64_t* chainId, uint32_t* flags, uint64_t* spanId, uint64_t* parentSpanId) in HiTraceChainGetInfo() argument
350 if (!chainId || !flags || !spanId || !parentSpanId) { in HiTraceChainGetInfo()
368 *parentSpanId = 0; in HiTraceChainGetInfo()
373 *parentSpanId = HiTraceChainGetParentSpanId(&id); in HiTraceChainGetInfo()
/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/include/
H A Dhitracechain_ffi.h27 uint64_t parentSpanId; member
36 traceId.parentSpanId = id.GetParentSpanId(); in Parse()
46 traceId.SetParentSpanId(id.parentSpanId); in Parse()
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/
H A Dhitracechain_c_wrapper.c74 void HiTraceChainSetParentSpanIdWrapper(HiTraceIdStruct* pId, uint64_t parentSpanId) in HiTraceChainSetParentSpanIdWrapper() argument
76 HiTraceChainSetParentSpanId(pId, parentSpanId); in HiTraceChainSetParentSpanIdWrapper()
/base/hiviewdfx/hitrace/test/unittest/common/native/
H A Dhitracechainc_test.cpp49 static_cast<int>((p)->spanId), static_cast<int>((p)->parentSpanId))
177 constexpr uint64_t parentSpanId = 0x67890; in HWTEST_F() local
184 HiTraceChainSetParentSpanId(&setId, parentSpanId); in HWTEST_F()
194 EXPECT_EQ(parentSpanId, HiTraceChainGetParentSpanId(&getId)); in HWTEST_F()
208 EXPECT_EQ(parentSpanId, HiTraceChainGetParentSpanId(&getId)); in HWTEST_F()
242 constexpr uint64_t parentSpanId = 0x67890; in HWTEST_F() local
244 HiTraceIdStruct id = {HITRACE_ID_VALID, HITRACE_VER_1, chainId, flags, spanId, parentSpanId}; in HWTEST_F()
268 EXPECT_EQ(parentSpanId, HiTraceChainGetParentSpanId(&bytesToId)); in HWTEST_F()
714 uint64_t parentSpanId = GenerateParentSpanId(); in HWTEST_F() local
717 HiTraceChainSetParentSpanId(&newId, parentSpanId); in HWTEST_F()
782 uint64_t parentSpanId = GenerateParentSpanId(); HWTEST_F() local
847 uint64_t parentSpanId = GenerateParentSpanId(); HWTEST_F() local
912 uint64_t parentSpanId = GenerateParentSpanId(); HWTEST_F() local
981 uint64_t parentSpanId = GenerateParentSpanId(); HWTEST_F() local
[all...]
H A Dhitracechaincpp_test.cpp774 uint64_t parentSpanId = GenerateParentSpanId(); in HWTEST_F() local
777 newId.SetParentSpanId(parentSpanId); in HWTEST_F()
840 uint64_t parentSpanId = GenerateParentSpanId(); in HWTEST_F() local
843 newId.SetParentSpanId(parentSpanId); in HWTEST_F()
905 uint64_t parentSpanId = GenerateParentSpanId(); in HWTEST_F() local
908 newId.SetParentSpanId(parentSpanId); in HWTEST_F()
972 uint64_t parentSpanId = GenerateParentSpanId(); in HWTEST_F() local
975 newId.SetParentSpanId(parentSpanId); in HWTEST_F()
/base/hiviewdfx/hitrace/interfaces/native/kits/include/hitrace/
H A Dtrace.h312 uint64_t parentSpanId : 26; member
321 uint64_t parentSpanId : 26;
573 * @param parentSpanId Parent span ID to set.
579 void OH_HiTrace_SetParentSpanId(HiTraceId *id, uint64_t parentSpanId);
/base/hiviewdfx/hitrace/frameworks/hitrace_ndk/
H A Dhitrace_chain_ndk.c127 void OH_HiTrace_SetParentSpanId(HiTraceId* id, uint64_t parentSpanId) in OH_HiTrace_SetParentSpanId() argument
129 HiTraceChainSetParentSpanId(id, parentSpanId); in OH_HiTrace_SetParentSpanId()
/base/hiviewdfx/faultloggerd/interfaces/common/
H A Ddfx_dump_request.h74 uint64_t parentSpanId : 26; member
80 uint64_t parentSpanId : 26;
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/
H A Dhitracechain_c_wrapper.h57 void HiTraceChainSetParentSpanIdWrapper(HiTraceIdStruct* pId, uint64_t parentSpanId);
/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp252 uint64_t parentSpanId = 0; in HiLogPrintArgs() local
257 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs()
262 (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
H A Dnapi_hitrace_util.cpp33 constexpr char PARENT_SPAN_ID_ATTR[] = "parentSpanId";
105 HILOG_DEBUG(LOG_CORE, "Native2Js: parentSpanId is %{public}llx.", in CreateHiTraceIdJsObject()
126 uint64_t parentSpanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, in TransHiTraceIdJsObjectToNative() local
128 HILOG_DEBUG(LOG_CORE, "Js2Native: parentSpanId is %{public}llx.", in TransHiTraceIdJsObjectToNative()
129 static_cast<unsigned long long>(parentSpanId)); in TransHiTraceIdJsObjectToNative()
130 traceId.SetParentSpanId(parentSpanId); in TransHiTraceIdJsObjectToNative()
/base/hiviewdfx/hilog_lite/frameworks/featured/
H A Dhiview_log.c1522 uint64_t parentSpanId = 0; in HiLogPrintArgs() local
1527 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs()
1532 (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()

Completed in 11 milliseconds