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.h71 {"--exclude-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
72 {"--exclude-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
74 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
76 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
77 {"--include-pid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
78 {"--include-tid", {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
80 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
82 {OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED}}, in GetRecordFilterOptionFormats()
87 OptionFormat({OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED})); in GetRecordFilterOptionFormats()
90 OptionFormat({OptionValueType::STRING, OptionType::MULTIPLE, AppRunnerType::ALLOWED})); in GetRecordFilterOptionFormats()
[all …]
Dcmd_stat_impl.h308 {"-a", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetStatCmdOptionFormats()
309 {"--app", {OptionValueType::STRING, OptionType::SINGLE, AppRunnerType::NOT_ALLOWED}}, in GetStatCmdOptionFormats()
310 {"--cpu", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
311 {"--csv", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
312 {"--duration", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
313 {"--interval", {OptionValueType::DOUBLE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
315 {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
316 {"-e", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
317 {"--group", {OptionValueType::STRING, OptionType::ORDERED, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
318 {"--in-app", {OptionValueType::NONE, OptionType::SINGLE, AppRunnerType::ALLOWED}}, in GetStatCmdOptionFormats()
[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()
Dcommand_test.cpp84 {"--bool-option", {OptionValueType::NONE, OptionType::SINGLE}}, in TEST()
85 {"--str-option", {OptionValueType::STRING, OptionType::MULTIPLE}}, in TEST()
86 {"--str2-option", {OptionValueType::STRING, OptionType::SINGLE}}, in TEST()
87 {"--opt-str-option", {OptionValueType::OPT_STRING, OptionType::MULTIPLE}}, in TEST()
88 {"--uint-option", {OptionValueType::UINT, OptionType::SINGLE}}, in TEST()
89 {"--double-option", {OptionValueType::DOUBLE, OptionType::SINGLE}}, in TEST()
92 {"--ord-str-option", {OptionValueType::STRING, OptionType::ORDERED}}, in TEST()
93 {"--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()
232 if (it->second.value_type != OptionValueType::NONE && i + 1 == argc) { in RunSimpleperfCmd()
Dcmd_report.cpp565 {"-b", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
566 {"--children", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
567 {"--comms", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
568 {"--cpu", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
569 {"--csv", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
570 {"--csv-separator", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
571 {"--dsos", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
572 {"--full-callgraph", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
573 {"-g", {OptionValueType::OPT_STRING, OptionType::SINGLE}}, in ParseOptions()
574 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
[all …]
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_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.cpp339 {"--dump-protobuf-report", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
340 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
341 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
342 {"--proguard-mapping-file", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
343 {"--protobuf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
344 {"--show-callchain", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
345 {"--remove-gaps", {OptionValueType::UINT, OptionType::SINGLE}}, in ParseOptions()
346 {"--remove-unknown-kernel-symbols", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
347 {"--show-art-frames", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
348 {"--show-execution-type", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
[all …]
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_inject.cpp880 {"--binary", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
881 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
882 {"--exclude-perf", {OptionValueType::NONE, OptionType::SINGLE}}, in ParseOptions()
883 {"-i", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
884 {"-o", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
885 {"--output", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
886 {"--symdir", {OptionValueType::STRING, OptionType::MULTIPLE}}, in ParseOptions()
Dcmd_dumprecord.cpp253 {"--dump-etm", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
254 {"-i", {OptionValueType::STRING, OptionType::SINGLE}}, in ParseOptions()
255 {"--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()