/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/utility/ |
H A D | trace_collector_test.cpp | 55 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 78 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 101 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 149 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 175 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 199 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 213 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 250 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 265 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); 308 ASSERT_EQ(g_traceManager.OpenSnapshotTrace(tagGroups), 0); [all …]
|
/ohos5.0/base/hiviewdfx/hitrace/test/unittest/hitrace_dump/ |
H A D | hitrace_dump_test.cpp | 145 const std::vector<std::string> tagGroups = {"scene_performance"}; variable 146 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 183 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 261 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::CALL_ERROR); 289 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 397 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 418 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 448 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); 477 const std::vector<std::string> tagGroups; variable 502 ASSERT_TRUE(OpenTrace(tagGroups) == TraceErrorCode::SUCCESS); [all …]
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/src/ |
H A D | hiview_service_trace_delegate.cpp | 25 …Result<int32_t> HiViewServiceTraceDelegate::OpenSnapshot(const std::vector<std::string>& tagGroups) in OpenSnapshot() argument 27 auto proxyHandler = [&tagGroups] (HiviewServiceAbilityProxy& proxy) { in OpenSnapshot() 28 return proxy.OpenSnapshotTrace(tagGroups); in OpenSnapshot()
|
H A D | hiview_service_ability_proxy.cpp | 145 const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument 147 auto parcelHandler = [&tagGroups] (MessageParcel& data) { in OpenSnapshotTrace() 148 return data.WriteStringVector(tagGroups); in OpenSnapshotTrace()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
H A D | trace_manager.cpp | 47 int32_t TraceManager::OpenSnapshotTrace(const std::vector<std::string> &tagGroups) in OpenSnapshotTrace() argument 65 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::OpenTrace(tagGroups); in OpenSnapshotTrace() 111 const std::vector<std::string> tagGroups = {"scene_performance"}; in RecoverTrace() local 112 TraceErrorCode ret = OHOS::HiviewDFX::Hitrace::OpenTrace(tagGroups); in RecoverTrace()
|
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/src/ |
H A D | trace_collector_impl.cpp | 30 virtual CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups) override; 45 CollectResult<int32_t> TraceCollectorImpl::OpenSnapshot(const std::vector<std::string>& tagGroups) in OpenSnapshot() argument 47 return HiViewServiceTraceDelegate::OpenSnapshot(tagGroups); in OpenSnapshot()
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/src/ |
H A D | hitrace_dump.cpp | 56 std::vector<std::string> tagGroups; member 422 bool CheckTagGroup(const std::vector<std::string> &tagGroups, in CheckTagGroup() argument 425 for (auto groupName : tagGroups) { in CheckTagGroup() 522 if (traceParams.tagGroups.size() > 0) { in SetAllTags() 533 for (std::string groupName : traceParams.tagGroups) { in SetAllTags() 1244 const std::vector<std::string> tagGroups = {"scene_performance"}; in RestartService() local 1245 OpenTrace(tagGroups); in RestartService() 1340 serviceTraceParams.tagGroups = tagGroups; in HandleServiceTraceOpen() 1391 cmdTraceParams.tagGroups = Split(item.substr(pos + 1), ','); in ParseArgs() 1447 TraceErrorCode OpenTrace(const std::vector<std::string> &tagGroups) in OpenTrace() argument [all …]
|
/ohos5.0/base/hiviewdfx/hitrace/frameworks/native/ |
H A D | common_utils.cpp | 209 cJSON* tagGroups = cJSON_GetObjectItem(root, "tag_groups"); in ParseTagInfo() local 210 if (tagGroups == nullptr) { in ParseTagInfo() 215 if (!ParseTagGroups(tagGroups, tagGroupTable)) { in ParseTagInfo()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/decorator/test/ |
H A D | decorator_test.cpp | 101 const std::vector<std::string> tagGroups = {"scene_performance"}; in CallCollectorFuncs() local 102 (void)g_traceManager.OpenSnapshotTrace(tagGroups); in CallCollectorFuncs()
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/src/ |
H A D | hiview_service_ability.cpp | 273 …celable<int32_t> HiviewServiceAbility::OpenSnapshotTrace(const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument 275 auto traceRetHandler = [&tagGroups] (HiviewService* service) { in OpenSnapshotTrace() 276 return service->OpenSnapshotTrace(tagGroups); in OpenSnapshotTrace()
|
H A D | hiview_service_ability_stub.cpp | 361 std::vector<std::string> tagGroups; in HandleOpenSnapshotTraceRequest() local 362 if (!data.ReadStringVector(&tagGroups)) { in HandleOpenSnapshotTraceRequest() 366 auto ret = OpenSnapshotTrace(tagGroups); in HandleOpenSnapshotTraceRequest()
|
/ohos5.0/base/hiviewdfx/hiview/framework/native/unified_collection/collector/inner_include/ |
H A D | trace_manager.h | 29 int32_t OpenSnapshotTrace(const std::vector<std::string> &tagGroups);
|
/ohos5.0/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/ |
H A D | hitrace_dump.h | 67 TraceErrorCode OpenTrace(const std::vector<std::string> &tagGroups);
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/client/include/ |
H A D | hiview_service_trace_delegate.h | 31 static CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups);
|
H A D | hiview_service_ability_proxy.h | 39 …CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) over…
|
/ohos5.0/base/hiviewdfx/hiview/interfaces/inner_api/unified_collection/client/ |
H A D | trace_collector.h | 51 virtual CollectResult<int32_t> OpenSnapshot(const std::vector<std::string>& tagGroups) = 0;
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/common/include/ |
H A D | ihiview_service_ability.h | 40 … CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) = 0;
|
/ohos5.0/base/hiviewdfx/hiview/service/ |
H A D | hiview_service.h | 46 CollectResult<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups);
|
H A D | hiview_service.cpp | 305 CollectResult<int32_t> HiviewService::OpenSnapshotTrace(const std::vector<std::string>& tagGroups) in OpenSnapshotTrace() argument 308 int32_t openRet = manager.OpenSnapshotTrace(tagGroups); in OpenSnapshotTrace()
|
/ohos5.0/base/hiviewdfx/hiview/adapter/service/server/include/ |
H A D | hiview_service_ability.h | 52 …CollectResultParcelable<int32_t> OpenSnapshotTrace(const std::vector<std::string>& tagGroups) over…
|
/ohos5.0/base/hiviewdfx/hiview/plugins/unified_collector/ |
H A D | unified_collector.cpp | 403 const std::vector<std::string> tagGroups = {"scene_performance"}; in LoadHitraceService() local 404 TraceErrorCode ret = OpenTrace(tagGroups); in LoadHitraceService()
|
/ohos5.0/base/hiviewdfx/hitrace/cmd/src/ |
H A D | hitrace_cmd.cpp | 51 std::string tagGroups; member 818 std::vector<std::string> tagGroups = { "scene_performance" }; in HandleOpenSnapshot() local 819 auto openRet = g_traceCollector->OpenSnapshot(tagGroups); in HandleOpenSnapshot()
|
/ohos5.0/base/hiviewdfx/hiview/test/unittest/unified_collection/client/ |
H A D | trace_collector_client_test.cpp | 104 const std::vector<std::string> tagGroups = {"scene_performance"}; variable 105 auto openRet = traceCollector->OpenSnapshot(tagGroups);
|