Home
last modified time | relevance | path

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

/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dconfig_data.cpp63 DumperConstant::API_DUMPER, DumperConstant::NONE, DumperConstant::NONE, ""
67 DumperConstant::FD_OUTPUT, DumperConstant::NONE, DumperConstant::NONE, ""
74 DumperConstant::FILE_DUMPER, DumperConstant::NONE, DumperConstant::NONE, ""
78 DumperConstant::FD_OUTPUT, DumperConstant::NONE, DumperConstant::NONE, ""
85 DumperConstant::FILE_DUMPER, DumperConstant::NONE, DumperConstant::NONE, ""
89 DumperConstant::FD_OUTPUT, DumperConstant::NONE, DumperConstant::NONE, ""
96 DumperConstant::FILE_DUMPER, DumperConstant::NONE, DumperConstant::NONE, ""
100 DumperConstant::FD_OUTPUT, DumperConstant::NONE, DumperConstant::NONE, ""
107 "", DumperConstant::CMD_DUMPER, DumperConstant::NONE, DumperConstant::NONE, ""
111 DumperConstant::FD_OUTPUT, DumperConstant::NONE, DumperConstant::NONE, ""
[all …]
Dconfig_utils.cpp503 int ret = DumperConstant::LEVEL_NONE; in GetDumpLevelByPid()
505 ret = DumperConstant::LEVEL_HIGH; in GetDumpLevelByPid()
507 ret = DumperConstant::LEVEL_MIDDLE; in GetDumpLevelByPid()
510 ret = DumperConstant::LEVEL_MIDDLE; in GetDumpLevelByPid()
542 … if ((itemlist[i].level_ != DumperConstant::LEVEL_ALL) && (itemlist[i].level_ != level)) { in GetDumper()
594 dumpGroup->class_ = DumperConstant::GROUP; in GetGroupSimple()
627 dumpGroup->class_ = DumperConstant::GROUP; in GetGroup()
633 if (dumpGroup->expand_ && (dumpGroup->type_ == DumperConstant::GROUPTYPE_PID)) { in GetGroup()
636 if (newLevel == DumperConstant::LEVEL_NONE) { in GetGroup()
643 } else if (dumpGroup->expand_ && (dumpGroup->type_ == DumperConstant::GROUPTYPE_CPUID)) { in GetGroup()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Ddump_cfg.cpp50 return ((class_ == DumperConstant::GROUP) || (!childs_.empty())); in IsGroup()
95 return ((cls > DumperConstant::DUMPER_BEGIN) && (cls < DumperConstant::DUMPER_END)); in IsDumper()
100 return ((cls > DumperConstant::FILTER_BEGIN) && (cls < DumperConstant::FILTER_END)); in IsFilter()
105 return ((level > DumperConstant::LEVEL_BEGIN) && (level < DumperConstant::LEVEL_END)); in IsLevel()
110 return ((loop != DumperConstant::NONE) && (loop > 0)); in CanLoop()
115 return ((cls > DumperConstant::OUTPUT_BEGIN) && (cls < DumperConstant::OUTPUT_END)); in IsOutput()
156 if (type == DumperConstant::NONE) { in ToStr()
158 } else if (type == DumperConstant::GROUP) { in ToStr()
160 } else if ((type >= DumperConstant::DUMPER_BEGIN) && (type <= DumperConstant::DUMPER_END)) { in ToStr()
162 } else if ((type >= DumperConstant::FILTER_BEGIN) && (type <= DumperConstant::FILTER_END)) { in ToStr()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Ddump_cfg.h29 int class_ {DumperConstant::NONE};
30 int level_ {DumperConstant::NONE};
31 int loop_ {DumperConstant::NONE};
34 int type_ {DumperConstant::NONE}; // DumperConstant::NONE, GROUPTYPE_PID, GROUPTYPE_CPUID
Ddumper_constant.h25 enum DumperConstant { enum
Doption_args.h55 int type_ {DumperConstant::NONE};
/base/hiviewdfx/hidumper/frameworks/native/include/util/
Dconfig_utils.h63 std::shared_ptr<OptionArgs> args, int level = DumperConstant::NONE);
65 std::shared_ptr<OptionArgs> args, int level = DumperConstant::NONE);
67 std::shared_ptr<OptionArgs> args, int level = DumperConstant::NONE, int nest = 0);
69 std::shared_ptr<OptionArgs> args, int level = DumperConstant::NONE, int nest = 0);
74 std::shared_ptr<OptionArgs> args, int level = DumperConstant::NONE, int nest = 0);
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp56 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::CPU_DUMPER, std::make_shared<CPUDump… in AddExecutorFactoryToMap()
57 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::FILE_DUMPER, std::make_shared<FileDu… in AddExecutorFactoryToMap()
59 … std::make_pair(DumperConstant::ENV_PARAM_DUMPER, std::make_shared<EnvParamDumperFactory>())); in AddExecutorFactoryToMap()
60 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::CMD_DUMPER, std::make_shared<CMDDump… in AddExecutorFactoryToMap()
61 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::API_DUMPER, std::make_shared<APIDump… in AddExecutorFactoryToMap()
63 … std::make_pair(DumperConstant::PROPERTIES_DUMPER, std::make_shared<PropertiesDumperFactory>())); in AddExecutorFactoryToMap()
64 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::LIST_DUMPER, std::make_shared<ListDu… in AddExecutorFactoryToMap()
66 std::make_pair(DumperConstant::VERSION_DUMPER, std::make_shared<VersionDumperFactory>())); in AddExecutorFactoryToMap()
67 …ptrExecutorFactoryMap_->insert(std::make_pair(DumperConstant::SA_DUMPER, std::make_shared<SADumper… in AddExecutorFactoryToMap()
69 … std::make_pair(DumperConstant::COLUMN_ROWS_FILTER, std::make_shared<ColumnRowsFilterFactory>())); in AddExecutorFactoryToMap()
[all …]
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_dumpers_test.cpp181 g_config->loop_ = DumperConstant::LOOP;
197 g_config->loop_ = DumperConstant::NONE;
211 g_config->loop_ = DumperConstant::LOOP;
285 g_config->loop_ = DumperConstant::LOOP;
299 g_config->loop_ = DumperConstant::NONE;
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dhidumper_executor.cpp150 if (ptrDumpCfg_->type_ == DumperConstant::GROUPTYPE_PID) { in GetHitTickCount()
153 if (ptrDumpCfg_->type_ == DumperConstant::NONE) { in GetHitTickCount()
Dcmd_dumper.cpp56 needLoop_ = (ptrDumpCfg_->loop_ == DumperConstant::LOOP); in PreExecute()
Dfile_stream_dumper.cpp57 need_loop_ = (ptrDumpCfg_->loop_ == DumperConstant::LOOP); in PreExecute()