aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorPierre Gondois <pierre.gondois@arm.com>2023-01-04 19:30:25 +0100
committerSudeep Holla <sudeep.holla@arm.com>2023-01-17 22:00:06 +0000
commit8844c3df001bc1d8397fddea341308da63855d53 (patch)
tree59363df47a7aa67a555cd76c0649e4897723a8ce /tools/perf/scripts/python/net_dropmonitor.py
parentcacheinfo: Use RISC-V's init_cache_level() as generic OF implementation (diff)
downloadlinux-8844c3df001bc1d8397fddea341308da63855d53.tar.gz
linux-8844c3df001bc1d8397fddea341308da63855d53.zip
cacheinfo: Return error code in init_of_cache_level()
Make init_of_cache_level() return an error code when the cache information parsing fails to help detecting missing information. init_of_cache_level() is only called for riscv. Returning an error code instead of 0 will prevent detect_cache_attributes() to allocate memory if an incomplete DT is parsed. Signed-off-by: Pierre Gondois <pierre.gondois@arm.com> Acked-by: Palmer Dabbelt <palmer@rivosinc.com> Link: https://lore.kernel.org/r/20230104183033.755668-3-pierre.gondois@arm.com Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions