diff options
author | Zhang Rui <rui.zhang@intel.com> | 2024-11-14 15:59:42 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2024-11-30 16:42:06 -0500 |
commit | 1958f4e16864f78ab121de08ba4d7a984ed46891 (patch) | |
tree | 5ddfade6104a86b1345bde6a2d10935e496c2bdc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d39d586ee44407ec89b9527a9c1f27a91d6b05d1 (diff) | |
download | linux-stable-1958f4e16864f78ab121de08ba4d7a984ed46891.tar.gz linux-stable-1958f4e16864f78ab121de08ba4d7a984ed46891.tar.bz2 linux-stable-1958f4e16864f78ab121de08ba4d7a984ed46891.zip |
tools/power turbostat: Enhance platform divergence description
In various generations, platforms often share a majority of features,
diverging only in a few specific aspects. The current approach of using
hardcoded values in 'platform_features' structure fails to effectively
represent these divergences.
To improve the description of platform divergence:
1. Each newly introduced 'platform_features' structure must have a base,
typically derived from the previous generation.
2. Platform feature values should be inherited from the base structure
rather than being hardcoded.
This approach ensures a more accurate and maintainable representation of
platform-specific features across different generations.
Converts `adl_features` and `lnl_features` to follow this new scheme.
No functional change.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions