CacheFlow is a Linux kernel module meant to run on ARM CPUs.
It snapshots the contents of the L2 cache, which can then be used to better understand the underlying behavior of the cache.
Additional details forthcoming.
D. Tarapore, S. Roozhkhosh, S. Brzozowski and R. Mancuso, "Observing the Invisible: Live Cache Inspection for High-Performance Embedded Systems," in IEEE Transactions on Computers, doi: 10.1109/TC.2021.3060650