Signed-off-by: gaoqiang_strong <gaoqiang64@huawei.com>
This commit is contained in:
gaoqiang_strong 2023-12-25 14:41:29 +08:00
parent 809bdcbec8
commit 040e7f68fb

View File

@ -31,7 +31,7 @@ bool DpRadarHelper::ReportCheckDpSa(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_CHECK_SA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,
@ -43,7 +43,7 @@ bool DpRadarHelper::ReportCheckDpSa(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_CHECK_SA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,
@ -66,7 +66,7 @@ bool DpRadarHelper::ReportLoadDpSa(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_LOAD_SA),
"STAGE_RES", info.stageRes,
"TO_CALL_PKG", info.toCallPkg);
@ -77,7 +77,7 @@ bool DpRadarHelper::ReportLoadDpSa(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_LOAD_SA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,
@ -100,7 +100,7 @@ bool DpRadarHelper::ReportLoadDpSaCb(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_LOAD_SA),
"STAGE_RES", info.stageRes,
"HOST_NAME", info.hostName);
@ -111,7 +111,7 @@ bool DpRadarHelper::ReportLoadDpSaCb(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_LOAD_SA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,
@ -134,7 +134,7 @@ bool DpRadarHelper::ReportSaCheckAuth(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_SA_CHACK_AUTH),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState);
@ -145,7 +145,7 @@ bool DpRadarHelper::ReportSaCheckAuth(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_SA),
"BIZ_STAGE", static_cast<int32_t>(GetSaStage::DP_SA_CHACK_AUTH),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,
@ -167,7 +167,7 @@ bool DpRadarHelper::ReportGetData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_DATA),
"BIZ_STAGE", static_cast<int32_t>(GetDataStage::DP_GET_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -181,7 +181,7 @@ bool DpRadarHelper::ReportGetData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_GET_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_GET_DATA),
"BIZ_STAGE", static_cast<int32_t>(GetDataStage::DP_GET_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -206,7 +206,7 @@ bool DpRadarHelper::ReportAddData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_ADD_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_ADD_DATA),
"BIZ_STAGE", static_cast<int32_t>(AddDataStage::DP_ADD_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -220,7 +220,7 @@ bool DpRadarHelper::ReportAddData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_ADD_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_ADD_DATA),
"BIZ_STAGE", static_cast<int32_t>(AddDataStage::DP_ADD_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -245,7 +245,7 @@ bool DpRadarHelper::ReportDeleteData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_DELET_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_DELET_DATA),
"BIZ_STAGE", static_cast<int32_t>(static_cast<int32_t>(DelDataStage::DP_DELET_DATA)),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -259,7 +259,7 @@ bool DpRadarHelper::ReportDeleteData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_DELET_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_DELET_DATA),
"BIZ_STAGE", static_cast<int32_t>(static_cast<int32_t>(DelDataStage::DP_DELET_DATA)),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -284,7 +284,7 @@ bool DpRadarHelper::ReportSubscribeData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", "SubscribeProfileEvents",
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_STAGE", static_cast<int32_t>(SubscribeDataStage::DP_SUBSCRIBE_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_START),
@ -296,7 +296,7 @@ bool DpRadarHelper::ReportSubscribeData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", "SubscribeProfileEvents",
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_STAGE", static_cast<int32_t>(SubscribeDataStage::DP_SUBSCRIBE_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -317,7 +317,7 @@ bool DpRadarHelper::ReportNotifyDataChange(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SUBSCRIBE_DATA),
"BIZ_STAGE", static_cast<int32_t>(SubscribeDataStage::DP_RECIVE_DATA_CHANGE),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END));
@ -337,7 +337,7 @@ bool DpRadarHelper::ReportUnsbscribeData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_UNSUBSCRIBE_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_UNSUBSCRIBE_DATA),
"BIZ_STAGE", static_cast<int32_t>(UnSubscribeDataStage::DP_UNSUBSCRIBE_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -350,7 +350,7 @@ bool DpRadarHelper::ReportUnsbscribeData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_UNSUBSCRIBE_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_UNSUBSCRIBE_DATA),
"BIZ_STAGE", static_cast<int32_t>(UnSubscribeDataStage::DP_UNSUBSCRIBE_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -374,7 +374,7 @@ bool DpRadarHelper::ReportSyncData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", "SyncDeviceProfile",
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_STAGE", static_cast<int32_t>(SyncDataStage::DP_SYNC_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_START),
@ -388,7 +388,7 @@ bool DpRadarHelper::ReportSyncData(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", "SyncDeviceProfile",
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_STAGE", static_cast<int32_t>(SyncDataStage::DP_SYNC_DATA),
"STAGE_RES", info.stageRes,
"BIZ_STATE", static_cast<int32_t>(BizState::BIZ_STATE_END),
@ -411,7 +411,7 @@ bool DpRadarHelper::ReportSyncDataCb(struct RadarInfo info)
HiviewDFX::HiSysEvent::EventType::BEHAVIOR,
"ORG_PKG", ORGPKGNAME,
"FUNC", info.funcName,
"BIZ_SCENCE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_SCENE", static_cast<int32_t>(BizScene::DP_SYNC_DATA),
"BIZ_STAGE", static_cast<int32_t>(SyncDataStage::DP_RECIVE_SYNC_CALLBACK),
"STAGE_RES", info.stageRes,
"BIZ_STATE", info.bizState,