/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
H A D | hitracechainc.h | 90 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 D | hitraceid.h | 80 * @param parentSpanId the parent span id to set.
82 void SetParentSpanId(uint64_t parentSpanId);
|
/base/hiviewdfx/hitrace/frameworks/native/ |
H A D | hitraceid.cpp | 32 id_.parentSpanId = 0;
in HiTraceId() 97 void HiTraceId::SetParentSpanId(uint64_t parentSpanId)
in SetParentSpanId() argument 99 HiTraceChainSetParentSpanId(&id_, parentSpanId);
in SetParentSpanId()
|
H A D | hitracechainc.c | 169 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 D | hitracechain_ffi.h | 27 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 D | hitracechain_c_wrapper.c | 74 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 D | hitracechainc_test.cpp | 49 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 D | hitracechaincpp_test.cpp | 774 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 D | trace.h | 312 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 D | hitrace_chain_ndk.c | 127 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 D | dfx_dump_request.h | 74 uint64_t parentSpanId : 26; member 80 uint64_t parentSpanId : 26;
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/ |
H A D | hitracechain_c_wrapper.h | 57 void HiTraceChainSetParentSpanIdWrapper(HiTraceIdStruct* pId, uint64_t parentSpanId);
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
H A D | hilog_printf.cpp | 252 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 D | napi_hitrace_util.cpp | 33 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 D | hiview_log.c | 1522 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()
|