Home
last modified time | relevance | path

Searched refs:OptionValueType (Results 1 – 7 of 7) sorted by relevance

/system/extras/simpleperf/
Dcmd_record_impl.h32 {"-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 …]
Dcmd_api_impl.h25 {"--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()
Dcmd_stat_impl.h329 {"-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 …]
Dcommand.h43 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()
Dcommand_test.cpp83 {"--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()
Dcommand.cpp67 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/
Dsimpleperf_app_runner.cpp132 if (format.value_type != OptionValueType::NONE && args[i + 1] == nullptr) { in CheckSimpleperfArguments()
156 if (format.value_type != OptionValueType::NONE) { in CheckSimpleperfArguments()