Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_record_impl.h35 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats()
37 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
38 {"--addr-filter", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
39 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats()
40 {"--aux-buffer-size", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
41 {"-b", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
42 {"-c", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
43 {"--call-graph", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
45 {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
46 {"--clockid", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
[all …]
DRecordFilter.h93 {"--exclude-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
94 {"--exclude-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
96 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
98 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
99 {"--exclude-uid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
100 {"--include-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
101 {"--include-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
103 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
105 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
106 {"--include-uid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
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_test.cpp80 {"--bool-option", {OptionValueType::NONE, OptionType::SINGLE}}, in TEST()
81 {"--str-option", {OptionValueType::STRING, OptionType::MULTIPLE}}, in TEST()
82 {"--str2-option", {OptionValueType::STRING, OptionType::SINGLE}}, in TEST()
83 {"--opt-str-option", {OptionValueType::OPT_STRING, OptionType::MULTIPLE}}, in TEST()
84 {"--uint-option", {OptionValueType::UINT, OptionType::SINGLE}}, in TEST()
85 {"--double-option", {OptionValueType::DOUBLE, OptionType::SINGLE}}, in TEST()
88 {"--ord-str-option", {OptionValueType::STRING, OptionType::ORDERED}}, in TEST()
89 {"--ord-uint-option", {OptionValueType::UINT, OptionType::ORDERED}}, in TEST()
Dcommand.h43 enum class OptionValueType { enum
60 OptionValueType value_type;
136 {"-h", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
137 {"--help", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
138 {"--log", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
140 {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
141 {"--version", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
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()
240 if (it->second.value_type != OptionValueType::NONE && i + 1 == argc) { in RunSimpleperfCmd()
Dcmd_report.cpp513 {"-b", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
514 {"--children", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
515 {"--comms", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
516 {"--cpu", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
517 {"--csv", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
518 {"--dsos", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
519 {"--full-callgraph", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
520 {"-g", {OptionValueType::OPT_STRING, OptionType::SINGLE}}, in ParseOptions()
521 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
522 {"--kallsyms", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
[all …]
Dcmd_monitor.cpp305 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetMonitorCmdOptionFormats()
306 {"-c", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
307 {"--call-graph", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
308 {"--cpu-percent", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
309 {"--duration", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
310 {"-e", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
311 {"--exclude-perf", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
312 {"-f", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
313 {"-g", {OptionValueType::NONE, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
314 {"-t", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
Dcmd_report_sample.cpp291 {"--dump-protobuf-report", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
292 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
293 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
294 {"--proguard-mapping-file", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
295 {"--protobuf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
296 {"--show-callchain", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
297 {"--remove-unknown-kernel-symbols", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
298 {"--show-art-frames", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
299 {"--show-execution-type", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
300 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_inject.cpp164 {"--binary", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
165 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
166 {"--exclude-perf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
167 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
168 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
169 {"--output", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
170 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_debug_unwind.cpp656 {"--generate-report", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
657 {"--generate-test-file", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
658 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
659 {"--keep-binaries-in-test-file", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
660 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
661 {"--sample-time", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
662 {"--symfs", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
663 {"--unwind-sample", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
Dcmd_dumprecord.cpp237 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
238 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
239 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_merge.cpp150 {"-i", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
151 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
/system/extras/simpleperf/simpleperf_app_runner/
Dsimpleperf_app_runner.cpp135 if (format.value_type != OptionValueType::NONE && args[i + 1] == nullptr) { in CheckSimpleperfArguments()
159 if (format.value_type != OptionValueType::NONE) { in CheckSimpleperfArguments()