/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitracechainc.h | 89 uint64_t spanId : 26; member 97 uint64_t spanId : 26; 127 pId->spanId = 0; in HiTraceChainInitId() 182 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId() 192 return pId->spanId; in HiTraceChainGetSpanId() 195 static inline void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanId() argument 198 pId->spanId = spanId; in HiTraceChainSetSpanId()
|
D | hitraceid.h | 73 void SetSpanId(uint64_t spanId);
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
D | event_handler_utils.h | 82 static inline void HiTracePointerOutPut(const std::shared_ptr<HiTraceId>& spanId, in HiTracePointerOutPut() argument 86 …HiTraceChain::Tracepoint(type, *spanId, "%s event, event id: %d", action, event->GetInnerEventId()… in HiTracePointerOutPut() 88 …HiTraceChain::Tracepoint(type, *spanId, "%s task with name, name: %s", action, event->GetTaskName(… in HiTracePointerOutPut() 90 HiTraceChain::Tracepoint(type, *spanId, "%s UnNamed Task", action); in HiTracePointerOutPut()
|
/base/hiviewdfx/hitrace/frameworks/native/ |
D | hitracechainc.c | 162 id.spanId = 0; in HiTraceChainBegin() 240 hashData[2] = id.spanId; // 2: span id in HiTraceChainCreateSpan() 246 id.parentSpanId = id.spanId; in HiTraceChainCreateSpan() 247 id.spanId = hash; in HiTraceChainCreateSpan() 290 (unsigned long long)pId->spanId, (unsigned long long)pId->parentSpanId, buff); in HiTraceChainTracepointInner() 325 int HiTraceChainGetInfo(uint64_t* chainId, uint32_t* flags, uint64_t* spanId, uint64_t* parentSpanI… in HiTraceChainGetInfo() argument 327 if (!chainId || !flags || !spanId || !parentSpanId) { in HiTraceChainGetInfo() 344 *spanId = 0; in HiTraceChainGetInfo() 349 *spanId = HiTraceChainGetSpanId(&id); in HiTraceChainGetInfo()
|
D | hitraceid.cpp | 31 id_.spanId = 0; in HiTraceId() 86 void HiTraceId::SetSpanId(uint64_t spanId) in SetSpanId() argument 88 HiTraceChainSetSpanId(&id_, spanId); in SetSpanId()
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
D | event_handler.cpp | 121 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local 132 if ((spanId) && (spanId->IsValid())) { in SendSyncEvent() 133 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_CR, *spanId, "event is processed"); in SendSyncEvent() 314 auto spanId = event->GetTraceId(); in DistributeEvent() local 316 bool allowTraceOutPut = AllowHiTraceOutPut(spanId, event->HasWaiter()); in DistributeEvent() 318 HiTraceChain::SetId(*spanId); in DistributeEvent() 319 HiTracePointerOutPut(spanId, event, "Receive", HiTraceTracepointType::HITRACE_TP_SR); in DistributeEvent() 336 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_SS, *spanId, "Event Distribute over"); in DistributeEvent()
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
D | dfx_dump_request.h | 48 uint64_t spanId : 26; member 56 uint64_t spanId : 26;
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/ |
D | raw_data_builder.cpp | 190 RawDataBuilder& RawDataBuilder::AppendSpanId(const uint32_t spanId) in AppendSpanId() argument 193 traceInfo_.spanId = spanId; in AppendSpanId() 211 RawDataBuilder& RawDataBuilder::AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, in AppendTraceInfo() argument 217 traceInfo_.spanId = spanId; in AppendTraceInfo()
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/ |
D | hitracechain_c_wrapper.c | 64 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanIdWrapper() argument 66 HiTraceChainSetSpanId(pId, spanId); in HiTraceChainSetSpanIdWrapper()
|
/base/hiviewdfx/hitrace/test/unittest/common/native/ |
D | hitracechainc_test.cpp | 38 static_cast<int>((p)->spanId), static_cast<int>((p)->parentSpanId)) 108 constexpr uint64_t spanId = 0x12345; variable 115 HiTraceChainSetSpanId(&setId, spanId); 125 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&getId)); 139 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&getId)); 173 constexpr uint64_t spanId = 0x12345; variable 176 HiTraceIdStruct id = {HITRACE_ID_VALID, HITRACE_VER_1, chainId, flags, spanId, parentSpanId}; 199 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&bytesToId));
|
/base/hiviewdfx/hiview/base/event_raw/encoded/ |
D | raw_data_builder.cpp | 45 … AppendTraceInfo(traceInfo.traceId, traceInfo.spanId, traceInfo.pSpanId, traceInfo.traceFlag); in RawDataBuilder() 209 RawDataBuilder& RawDataBuilder::AppendSpanId(const uint32_t spanId) in AppendSpanId() argument 212 traceInfo_.spanId = spanId; in AppendSpanId() 230 RawDataBuilder& RawDataBuilder::AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, in AppendTraceInfo() argument 236 traceInfo_.spanId = spanId; in AppendTraceInfo()
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/ |
D | hitracechain_c_wrapper.h | 51 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId);
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/ |
D | raw_data_base_def.h | 84 uint32_t spanId; member
|
D | raw_data_builder.h | 67 RawDataBuilder& AppendSpanId(const uint32_t spanId); 70 RawDataBuilder& AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, 206 uint32_t spanId = 0; in UpdateSpanId() local 207 TransHexStrToNum(val, spanId); in UpdateSpanId() 208 return AppendSpanId(spanId); in UpdateSpanId() 457 return this->ParseValue(val, traceInfo_.spanId); in GetBaseInfoValueByKey() 529 .spanId = 0,
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
D | hilog_printf.cpp | 213 uint64_t spanId = 0; in HiLogPrintArgs() local 219 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs() 224 … (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
|
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/ |
D | napi_hitrace_util.cpp | 118 uint64_t spanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, SPAN_ID_ATTR); in TransHiTraceIdJsObjectToNative() local 120 static_cast<unsigned long long>(spanId)); in TransHiTraceIdJsObjectToNative() 121 traceId.SetSpanId(spanId); in TransHiTraceIdJsObjectToNative()
|
/base/hiviewdfx/hiview/base/event_raw/include/base/ |
D | raw_data_base_def.h | 86 uint32_t spanId; member
|
/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
D | raw_data_builder.h | 70 RawDataBuilder& AppendSpanId(const uint32_t spanId); 73 RawDataBuilder& AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, 209 uint32_t spanId = 0; in UpdateSpanId() local 210 TransHexStrToNum(val, spanId); in UpdateSpanId() 211 return AppendSpanId(spanId); in UpdateSpanId() 460 return this->ParseValue(val, traceInfo_.spanId); in GetBaseInfoValueByKey() 534 .spanId = 0,
|
/base/hiviewdfx/hiview/base/event_raw/include/decoded/ |
D | decoded_event.h | 140 .spanId = 0,
|
/base/hiviewdfx/hiview/base/ |
D | sys_event.cpp | 139 spanId_ = StringUtil::ToString(traceInfo.spanId); in InitialMembers()
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
D | hiview_log.c | 1521 uint64_t spanId = 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()
|
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
D | decoded_event.cpp | 124 AppendValue(ss, BASE_INFO_KEY_SPAN_ID, TransNumToHexStr(traceInfo_.spanId)); in AppendBaseInfo()
|
/base/hiviewdfx/hisysevent/test/moduletest/common/ |
D | hisysevent_native_test.cpp | 1430 auto spanId = record.GetSpanId(); variable 1431 ASSERT_TRUE(spanId >= 0);
|