Add dump to get-perf-domains, so that a user can fetch either information about a specific performance domain with do or information about all performance domains with dump. Share the reply format of do and dump using perf-domain-attrs, so remove perf-domains. The YNL spec, autogenerated files, and the do implementation are updated, and the dump implementation is added.
Showing the changes to include/uapi (1 of 5 files). Show all
Unified · Split
| @@ -36,13 +36,6 @@ enum dev_energymodel_perf_domain_flags { · 35 unmodified lines | ||
| 36 | 36 | DEV_ENERGYMODEL_PERF_DOMAIN_FLAGS_PERF_DOMAIN_ARTIFICIAL = 4, |
| 37 | 37 | }; |
| 38 | 38 | |
| 39 | −enum { | |
| 40 | − DEV_ENERGYMODEL_A_PERF_DOMAINS_PERF_DOMAIN = 1, | |
| 41 | − | |
| 42 | − __DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX, | |
| 43 | − DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX = (__DEV_ENERGYMODEL_A_PERF_DOMAINS_MAX - 1) | |
| 44 | −}; | |
| 45 | − | |
| 46 | 39 | enum { |
| 47 | 40 | DEV_ENERGYMODEL_A_PERF_DOMAIN_PAD = 1, |
| 48 | 41 | DEV_ENERGYMODEL_A_PERF_DOMAIN_PERF_DOMAIN_ID, |