Searched refs:DumperConstant (Results 1 – 12 of 12) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
D | config_data.cpp | 63 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 …]
|
D | config_utils.cpp | 503 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/ |
D | dump_cfg.cpp | 50 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/ |
D | dump_cfg.h | 29 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
|
D | dumper_constant.h | 25 enum DumperConstant { enum
|
D | option_args.h | 55 int type_ {DumperConstant::NONE};
|
/base/hiviewdfx/hidumper/frameworks/native/include/util/ |
D | config_utils.h | 63 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/ |
D | dump_implement.cpp | 56 …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/ |
D | hidumper_dumpers_test.cpp | 181 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/ |
D | hidumper_executor.cpp | 150 if (ptrDumpCfg_->type_ == DumperConstant::GROUPTYPE_PID) { in GetHitTickCount() 153 if (ptrDumpCfg_->type_ == DumperConstant::NONE) { in GetHitTickCount()
|
D | cmd_dumper.cpp | 56 needLoop_ = (ptrDumpCfg_->loop_ == DumperConstant::LOOP); in PreExecute()
|
D | file_stream_dumper.cpp | 57 need_loop_ = (ptrDumpCfg_->loop_ == DumperConstant::LOOP); in PreExecute()
|