Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Dcmd_record_impl.h35 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats()
36 {"--add-counter", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
38 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
39 {"--addr-filter", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
40 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetRecordCmdOptionFormats()
41 {"--aux-buffer-size", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
42 {"-b", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
43 {"--binary", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
44 {"-c", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
45 {"--call-graph", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetRecordCmdOptionFormats()
[all …]
DRecordFilter.h68 {"--exclude-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
69 {"--exclude-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
71 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
73 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
74 {"--include-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
75 {"--include-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
77 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
79 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
84 OptionFormat({OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED})); in GetRecordFilterOptionFormats()
87 OptionFormat({OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED})); in GetRecordFilterOptionFormats()
[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_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.cpp68 if (format.value_type != OptionValueType::NONE && in ConvertArgsToOptions()
69 format.value_type != OptionValueType::OPT_STRING) { in ConvertArgsToOptions()
75 case OptionValueType::NONE: in ConvertArgsToOptions()
77 case OptionValueType::STRING: in ConvertArgsToOptions()
80 case OptionValueType::OPT_STRING: in ConvertArgsToOptions()
85 case OptionValueType::UINT: in ConvertArgsToOptions()
93 case OptionValueType::DOUBLE: in ConvertArgsToOptions()
253 if (it->second.value_type != OptionValueType::NONE && i + 1 == argc) { in RunSimpleperfCmd()
Dcommand.h43 enum class OptionValueType { enum
60 OptionValueType value_type;
150 {"-h", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
151 {"--help", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
152 {"--log", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
154 {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
155 {"--version", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetCommonOptionFormatMap()
Dcmd_report.cpp566 {"-b", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
567 {"--children", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
568 {"--comms", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
569 {"--cpu", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
570 {"--csv", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
571 {"--csv-separator", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
572 {"--dsos", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
573 {"--full-callgraph", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
574 {"-g", {OptionValueType::OPT_STRING, OptionType::SINGLE}}, in ParseOptions()
575 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
[all …]
Dcmd_monitor.cpp310 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetMonitorCmdOptionFormats()
311 {"-c", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
312 {"--call-graph", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
313 {"--cpu-percent", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
314 {"--duration", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
315 {"-e", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
316 {"--exclude-perf", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
317 {"-f", {OptionValueType::UINT, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
318 {"-g", {OptionValueType::NONE, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
319 {"-t", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetMonitorCmdOptionFormats()
Dcmd_boot_record.cpp97 {"--enable", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
98 {"--disable", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
99 {"--record", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
Dcmd_debug_unwind.cpp677 {"--generate-report", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
678 {"--generate-test-file", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
679 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
680 {"--keep-binaries-in-test-file", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
681 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
682 {"--sample-time", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
683 {"--skip-sample-print", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
684 {"--symfs", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
685 {"--unwind-sample", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
Dcmd_report_sample.cpp298 {"--dump-protobuf-report", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
299 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
300 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
301 {"--proguard-mapping-file", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
302 {"--protobuf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
303 {"--show-callchain", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
304 {"--remove-unknown-kernel-symbols", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
305 {"--show-art-frames", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
306 {"--show-execution-type", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
307 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_inject.cpp609 {"--binary", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
610 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
611 {"--exclude-perf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
612 {"-i", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
613 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
614 {"--output", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
615 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_api.cpp106 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in ParseOptions()
107 {"--days", {OptionValueType::UINT, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in ParseOptions()
Dcmd_dumprecord.cpp252 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
253 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
254 {"--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()