diff options
author | Sahil Siddiq <sahilcdq0@gmail.com> | 2025-04-19 21:18:17 +0530 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2025-04-20 07:06:54 +0100 |
commit | efabefb05aa1fe534ddb1839980824a763a7f1b0 (patch) | |
tree | 23d7e42edeb172388c6e3636ec7d24a91d9691cb /tools/perf/scripts/python/stackcollapse.py | |
parent | 38fec10eb60d687e30c8c6b5420d86e8149f7557 (diff) | |
download | linux-efabefb05aa1fe534ddb1839980824a763a7f1b0.tar.gz linux-efabefb05aa1fe534ddb1839980824a763a7f1b0.tar.bz2 linux-efabefb05aa1fe534ddb1839980824a763a7f1b0.zip |
openrisc: Refactor struct cpuinfo_or1k to reduce duplication
The "cpuinfo_or1k" structure currently has identical data members for
different cache components.
Remove these fields out of struct cpuinfo_or1k and into its own struct.
This reduces duplication while keeping cpuinfo_or1k extensible so more
cache descriptors can be added in the future.
Also add a new field "sets" to the new structure.
Signed-off-by: Sahil Siddiq <sahilcdq0@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions