/base/notification/eventhandler/frameworks/eventhandler/include/ |
H A D | event_handler_utils.h | 74 LOCAL_API static inline void HiTracePointerOutPutEventId(const std::shared_ptr<HiTraceId> &spanId, const char *action, in HiTracePointerOutPutEventId() argument 77 if (spanId == nullptr || action == nullptr) { in HiTracePointerOutPutEventId() 81 HiTraceChain::Tracepoint(type, *spanId, "%s event, event id: %u", action, std::get<uint32_t>(innerEventId)); in HiTracePointerOutPutEventId() 84 type, *spanId, "%s event, event id: %s", action, std::get<std::string>(innerEventId).c_str()); in HiTracePointerOutPutEventId() 88 LOCAL_API static inline void HiTracePointerOutPut(const std::shared_ptr<HiTraceId>& spanId, in HiTracePointerOutPut() argument 93 HiTracePointerOutPutEventId(spanId, action, type, eventId); in HiTracePointerOutPut() 95 HiTraceChain::Tracepoint(type, *spanId, "%s task with name, name: %s", action, event->GetTaskName().c_str()); in HiTracePointerOutPut() 97 HiTraceChain::Tracepoint(type, *spanId, "%s UnNamed Task", action); in HiTracePointerOutPut()
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
H A D | hitracechainc.h | 89 uint64_t spanId : 26; member 97 uint64_t spanId : 26; 129 pId->spanId = 0; in HiTraceChainInitId() 184 pId->flags = pId->spanId = pId->parentSpanId = 0; in HiTraceChainSetChainId() 194 return pId->spanId; in HiTraceChainGetSpanId() 197 static inline void HiTraceChainSetSpanId(HiTraceIdStruct* pId, uint64_t spanId) in HiTraceChainSetSpanId() argument 200 pId->spanId = spanId; in HiTraceChainSetSpanId()
|
H A D | hitraceid.h | 71 * @param spanId the span id to set.
73 void SetSpanId(uint64_t spanId);
|
/base/hiviewdfx/hitrace/frameworks/native/ |
H A 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()
|
H A D | hitracechainc.c | 168 id.spanId = 0; in HiTraceChainBegin() 246 hashData[2] = id.spanId; // 2: span id in HiTraceChainCreateSpan() 252 id.parentSpanId = id.spanId; in HiTraceChainCreateSpan() 253 id.spanId = hash; 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() 367 *spanId = 0; in HiTraceChainGetInfo() 372 *spanId = HiTraceChainGetSpanId(&id); in HiTraceChainGetInfo()
|
/base/hiviewdfx/hitrace/interfaces/cj/kits/ffi/include/ |
H A D | hitracechain_ffi.h | 26 uint64_t spanId; member 35 traceId.spanId = id.GetSpanId(); in Parse() 45 traceId.SetSpanId(id.spanId); in Parse()
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/source/ |
H A 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/ |
H A D | hitracechainc_test.cpp | 49 static_cast<int>((p)->spanId), static_cast<int>((p)->parentSpanId)) 176 constexpr uint64_t spanId = 0x12345; in HWTEST_F() local 183 HiTraceChainSetSpanId(&setId, spanId); in HWTEST_F() 193 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&getId)); in HWTEST_F() 207 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&getId)); in HWTEST_F() 241 constexpr uint64_t spanId = 0x12345; in HWTEST_F() local 244 HiTraceIdStruct id = {HITRACE_ID_VALID, HITRACE_VER_1, chainId, flags, spanId, parentSpanId}; in HWTEST_F() 267 EXPECT_EQ(spanId, HiTraceChainGetSpanId(&bytesToId)); in HWTEST_F() 713 uint64_t spanId = GenerateSpanId(); in HWTEST_F() local 716 HiTraceChainSetSpanId(&newId, spanId); in HWTEST_F() 781 uint64_t spanId = GenerateSpanId(); HWTEST_F() local 846 uint64_t spanId = GenerateSpanId(); HWTEST_F() local 911 uint64_t spanId = GenerateSpanId(); HWTEST_F() local 980 uint64_t spanId = GenerateSpanId(); HWTEST_F() local [all...] |
H A D | hitracechaincpp_test.cpp | 773 uint64_t spanId = GenerateSpanId(); in HWTEST_F() local 776 newId.SetSpanId(spanId); in HWTEST_F() 839 uint64_t spanId = GenerateSpanId(); in HWTEST_F() local 842 newId.SetSpanId(spanId); in HWTEST_F() 904 uint64_t spanId = GenerateSpanId(); in HWTEST_F() local 907 newId.SetSpanId(spanId); in HWTEST_F() 971 uint64_t spanId = GenerateSpanId(); in HWTEST_F() local 974 newId.SetSpanId(spanId); in HWTEST_F()
|
/base/hiviewdfx/hitrace/interfaces/native/kits/include/hitrace/ |
H A D | trace.h | 310 uint64_t spanId : 26; member 323 uint64_t spanId : 26; 550 * @param spanId Span ID to set. 556 void OH_HiTrace_SetSpanId(HiTraceId *id, uint64_t spanId);
|
/base/hiviewdfx/hitrace/frameworks/hitrace_ndk/ |
H A D | hitrace_chain_ndk.c | 117 void OH_HiTrace_SetSpanId(HiTraceId* id, uint64_t spanId) in OH_HiTrace_SetSpanId() argument 119 HiTraceChainSetSpanId(id, spanId); in OH_HiTrace_SetSpanId()
|
/base/hiviewdfx/faultloggerd/interfaces/common/ |
H A D | dfx_dump_request.h | 73 uint64_t spanId : 26; member 81 uint64_t spanId : 26;
|
/base/notification/eventhandler/frameworks/eventhandler/src/ |
H A D | event_handler.cpp | 190 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local 219 auto spanId = event->GetOrCreateTraceId(); in SendSyncEvent() local 231 if ((spanId) && (spanId->IsValid())) { in SendSyncEvent() 232 HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_CR, *spanId, "event is processed"); in SendSyncEvent() 459 auto spanId = event->GetTraceId(); in DistributeEvent() local 461 bool allowTraceOutPut = AllowHiTraceOutPut(spanId, event->HasWaiter()); in DistributeEvent() 463 HiTraceChain::SetId(*spanId); in DistributeEvent() 464 HiTracePointerOutPut(spanId, event, "Receive", HiTraceTracepointType::HITRACE_TP_SR); in DistributeEvent() 496 HiTraceChain::Tracepoint(HiTraceTracepointType::HITRACE_TP_SS, *spanId, "Even in DistributeEvent() [all...] |
/base/hiviewdfx/hiview/base/event_raw/encoded/ |
H A D | raw_data_builder.cpp | 42 AppendTraceInfo(traceInfo.traceId, traceInfo.spanId, traceInfo.pSpanId, traceInfo.traceFlag); in RawDataBuilder() 212 RawDataBuilder& RawDataBuilder::AppendSpanId(const uint32_t spanId) in AppendSpanId() argument 215 traceInfo_.spanId = spanId; in AppendSpanId() 233 RawDataBuilder& RawDataBuilder::AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, in AppendTraceInfo() argument 239 traceInfo_.spanId = spanId; in AppendTraceInfo()
|
/base/hiviewdfx/hitrace/frameworks/native/c_wrapper/include/ |
H A D | hitracechain_c_wrapper.h | 51 void HiTraceChainSetSpanIdWrapper(HiTraceIdStruct* pId, uint64_t spanId);
|
/base/hiviewdfx/hiview/base/event_raw/include/encoded/ |
H A D | raw_data_builder.h | 71 RawDataBuilder& AppendSpanId(const uint32_t spanId); 74 RawDataBuilder& AppendTraceInfo(const uint64_t traceId, const uint32_t spanId, 192 uint32_t spanId = 0; in UpdateSpanId() local 193 TransHexStrToNum(val, spanId); in UpdateSpanId() 194 return AppendSpanId(spanId); in UpdateSpanId() 465 return this->ParseAndSetTraceInfo(val, traceInfo_.spanId); in GetBaseInfoValueByKey() 537 .spanId = 0,
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/include/ |
H A D | raw_data_base_def.h | 84 uint32_t spanId; member
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
H A D | hilog_printf.cpp | 251 uint64_t spanId = 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 | 32 constexpr char SPAN_ID_ATTR[] = "spanId";
101 HILOG_DEBUG(LOG_CORE, "Native2Js: spanId is %{public}llx.",
in CreateHiTraceIdJsObject() 122 uint64_t spanId = NapiHitraceUtil::GetPropertyInt64(env, valueObject, SPAN_ID_ATTR);
in TransHiTraceIdJsObjectToNative() local 123 HILOG_DEBUG(LOG_CORE, "Js2Native: spanId is %{public}llx.",
in TransHiTraceIdJsObjectToNative() 124 static_cast<unsigned long long>(spanId));
in TransHiTraceIdJsObjectToNative() 125 traceId.SetSpanId(spanId);
in TransHiTraceIdJsObjectToNative()
|
/base/hiviewdfx/hiview/base/event_raw/include/base/ |
H A D | raw_data_base_def.h | 123 uint32_t spanId; member
|
/base/hiviewdfx/hiview/base/event_raw/include/decoded/ |
H A D | decoded_event.h | 144 .spanId = 0,
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/include/ |
H A D | hiappevent_base.h | 221 void SetSpanId(int64_t spanId);
|
/base/hiviewdfx/hilog_lite/frameworks/featured/ |
H A 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/hiappevent/frameworks/native/libhiappevent/ |
H A D | hiappevent_base.cpp | 764 void AppEventPack::SetSpanId(int64_t spanId)
in SetSpanId() argument 766 spanId_ = spanId;
in SetSpanId()
|
/base/hiviewdfx/hiview/base/event_raw/decoded/ |
H A D | decoded_event.cpp | 118 AppendValue(ss, BASE_INFO_KEY_SPAN_ID, TransNumToHexStr(traceInfo_.spanId)); in AppendBaseInfo()
|