Home
last modified time | relevance | path

Searched refs:spanId (Results 1 – 12 of 12) sorted by relevance

/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
Dhitracechainc.h87 uint64_t spanId : 26; member
95 uint64_t spanId : 26;
125 pId->spanId = 0; in HiTraceChainInitId()
180 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId()
190 return pId->spanId; in HiTraceChainGetSpanId()
193 static inline void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanId() argument
196 pId->spanId = spanId; in HiTraceChainSetSpanId()
Dhitraceid.h40 void SetSpanId(uint64_t spanId);
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h82 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/
Dhitracechainc.c162 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()
Dhitraceid.cpp31 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/
Devent_handler.cpp120 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local
131 if ((spanId) && (spanId->IsValid())) { in SendSyncEvent()
132 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_CR, *spanId, "event is processed"); in SendSyncEvent()
308 auto spanId = event->GetTraceId(); in DistributeEvent() local
310 bool allowTraceOutPut = AllowHiTraceOutPut(spanId, event->HasWaiter()); in DistributeEvent()
312 HiTraceChain::SetId(*spanId); in DistributeEvent()
313 HiTracePointerOutPut(spanId, event, "Receive", HiTraceTracepointType::HITRACE_TP_SR); in DistributeEvent()
330 … HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_SS, *spanId, "Event Distribute over"); in DistributeEvent()
/base/hiviewdfx/faultloggerd/common/
Ddfx_define.h102 uint64_t spanId : 26; member
110 uint64_t spanId : 26;
/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracechainc_test.cpp38 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/hilog/frameworks/libhilog/
Dhilog_printf.cpp199 uint64_t spanId = 0; in HiLogPrintArgs() local
205 ret = func(&chainId, &flag, &spanId, &parentSpanId); in HiLogPrintArgs()
210 … (unsigned long long)chainId, (unsigned long long)spanId, (unsigned long long)parentSpanId); in HiLogPrintArgs()
/base/hiviewdfx/hitrace/interfaces/js/kits/napi/src/
Dnapi_hitrace_util.cpp118 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/hilog_lite/frameworks/featured/
Dhiview_log.c1521 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/hisysevent/test/moduletest/common/
Dhisysevent_native_test.cpp1433 auto spanId = record.GetSpanId(); variable
1434 ASSERT_TRUE(spanId >= 0);