Home
last modified time | relevance | path

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

/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
Dhitracechainc.h89 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()
Dhitraceid.h73 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.cpp121 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/
Ddfx_dump_request.h48 uint64_t spanId : 26; member
56 uint64_t spanId : 26;
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/
Draw_data_builder.cpp190 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/
Dhitracechain_c_wrapper.c64 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanIdWrapper() argument
66 HiTraceChainSetSpanId(pId, spanId); in HiTraceChainSetSpanIdWrapper()
/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/hiview/base/event_raw/encoded/
Draw_data_builder.cpp45 … 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/
Dhitracechain_c_wrapper.h51 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId);
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/encode/include/
Draw_data_base_def.h84 uint32_t spanId; member
Draw_data_builder.h67 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/
Dhilog_printf.cpp213 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/
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/hiview/base/event_raw/include/base/
Draw_data_base_def.h86 uint32_t spanId; member
/base/hiviewdfx/hiview/base/event_raw/include/encoded/
Draw_data_builder.h70 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/
Ddecoded_event.h140 .spanId = 0,
/base/hiviewdfx/hiview/base/
Dsys_event.cpp139 spanId_ = StringUtil::ToString(traceInfo.spanId); in InitialMembers()
/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/hiview/base/event_raw/decoded/
Ddecoded_event.cpp124 AppendValue(ss, BASE_INFO_KEY_SPAN_ID, TransNumToHexStr(traceInfo_.spanId)); in AppendBaseInfo()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_native_test.cpp1430 auto spanId = record.GetSpanId(); variable
1431 ASSERT_TRUE(spanId >= 0);