diff options
| author | Jiri Pirko <jiri@nvidia.com> | 2023-10-06 14:44:35 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-10-10 05:44:57 +0300 |
| commit | e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4 (patch) | |
| tree | ee0be32839dda17d748daea6e28aa9a999c69d88 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c0423539559547d49cb62e76574599593829dcf8 (diff) | |
| download | linux-e18f3dc2beaa5055e27334cd2d8b492bc3e9b3a4.tar.xz | |
tools: ynl-gen: lift type requirement for attribute subsets
In case an attribute is used in a subset, the type has to be currently
specified. As the attribute is already defined in the original set, this
is a redundant information in yaml file, moreover, may lead to
inconsistencies.
Example:
attribute-sets:
...
name: pin
enum-name: dpll_a_pin
attributes:
...
-
name: parent-id
type: u32
...
-
name: pin-parent-device
subset-of: pin
attributes:
-
name: parent-id
type: u32 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Remove the requirement from schema files to specify the "type" for
attribute subsets.
Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Link: https://lore.kernel.org/r/20231006114436.1725425-2-jiri@resnulli.us
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
