-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathmultiplex.json
More file actions
46 lines (46 loc) · 1.96 KB
/
Copy pathmultiplex.json
File metadata and controls
46 lines (46 loc) · 1.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"presets": {
"defaults" : [
{ "arg": "subtools", "vals": ["turbostat"] },
{ "arg": "interval", "vals": ["10"] }
]
},
"validations": {
"subtool_list" : {
"description" : "comma-separated list of kernel subtools to run, any combination of turbostat/perf/intel-speed-select/trace-cmd/sysfs-trace",
"args" : [ "subtools" ],
"vals": "^(turbostat|perf|intel-speed-select|trace-cmd|sysfs-trace)(,(turbostat|perf|intel-speed-select|trace-cmd|sysfs-trace))*$"
},
"positive_integer" : {
"description" : "a whole number greater than 0",
"args" : [ "interval" ],
"vals": "^[1-9][0-9]*$"
},
"enable_disable" : {
"description" : "enable or disable",
"args" : [ "base-freq", "turbo-freq", "core-power" ],
"vals": "^(enable|disable)$"
},
"generic_string" : {
"description" : "all types of strings",
"args" : [ "record-opts", "trace-cmd-record-opts" ],
"vals" : ".+"
},
"sysfs_trace_command" : {
"description" : "a setup/cleanup command for sysfs-trace -- may be specified more than once, each occurrence run in order (kerneltools-start/-stop accumulate these into an array)",
"args" : [ "sysfs-trace-setup", "sysfs-trace-cleanup" ],
"vals" : ".+",
"repeatable" : true
},
"sysfs_trace_collection_mode" : {
"description" : "trace buffer collection mode",
"args" : [ "sysfs-trace-collection" ],
"vals": "^(system|per-cpu)$"
},
"on_off" : {
"description" : "parameters that should be set to ON or OFF -- handled by rickshaw.json param regex, since kerneltools-stop takes these as no-argument flags rather than a real value",
"args" : [ "perf-gen-local-report" ],
"vals": "^(ON|OFF)$"
}
}
}