/system/extras/simpleperf/ |
D | cmd_record_impl.h | 32 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats() 33 {"--addr-filter", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 34 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats() 35 {"--aux-buffer-size", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 36 {"-b", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 37 {"-c", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 38 {"--call-graph", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 40 {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 41 {"--clockid", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() 42 {"--cpu", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats() [all …]
|
D | cmd_api_impl.h | 25 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetApiCollectCmdOptionFormats() 26 {"--in-app", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetApiCollectCmdOptionFormats() 27 {"-o", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetApiCollectCmdOptionFormats() 28 {"--out-fd", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::CHECK_FD}}, in GetApiCollectCmdOptionFormats() 29 {"--stop-signal-fd", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::CHECK_FD}}, in GetApiCollectCmdOptionFormats()
|
D | cmd_stat_impl.h | 329 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetStatCmdOptionFormats() 330 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetStatCmdOptionFormats() 331 {"--cpu", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 332 {"--csv", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 333 {"--duration", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 334 {"--interval", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 336 {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 337 {"-e", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 338 {"--group", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() 339 {"--in-app", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats() [all …]
|
D | command.h | 43 enum class OptionValueType { enum 60 OptionValueType value_type; 131 {"-h", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap() 132 {"--help", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap() 133 {"--log", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap() 135 {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap() 136 {"--version", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
|
D | command_test.cpp | 83 {"--bool-option", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in TEST() 84 {"--str-option", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in TEST() 86 {OptionValueType::OPT_STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in TEST() 87 {"--uint-option", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in TEST() 88 {"--double-option", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in TEST() 91 {"--ord-str-option", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in TEST() 92 {"--ord-uint-option", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in TEST()
|
D | command.cpp | 67 if (format.value_type != OptionValueType::NONE && in PreprocessOptions() 68 format.value_type != OptionValueType::OPT_STRING) { in PreprocessOptions() 75 case OptionValueType::NONE: in PreprocessOptions() 77 case OptionValueType::STRING: in PreprocessOptions() 80 case OptionValueType::OPT_STRING: in PreprocessOptions() 85 case OptionValueType::UINT: in PreprocessOptions() 92 case OptionValueType::DOUBLE: in PreprocessOptions() 236 if (it->second.value_type != OptionValueType::NONE && i + 1 == argc) { in RunSimpleperfCmd()
|
/system/extras/simpleperf/simpleperf_app_runner/ |
D | simpleperf_app_runner.cpp | 132 if (format.value_type != OptionValueType::NONE && args[i + 1] == nullptr) { in CheckSimpleperfArguments() 156 if (format.value_type != OptionValueType::NONE) { in CheckSimpleperfArguments()
|