Measuring an eBPF Cache Without Leaving the Kernel

When testing our eBPF agent, I don’t always get the same experience as our users, especially in performance critical sections. I realize that the benchmark test suite isn’t always enough, because user&rsquo;s environments can be completely different from our benchmarks. I recently implemented a perf feature, which was inode caching for file access policies, and wanted to understand how it is being…