Hacker News new | ask | show | jobs
by yazzku 566 days ago
Superluminal is a sampling profiler for the most part. It works great for what it does, sure. But in the author's own words:

> So far, we’ve only used perf to record stack traces at a regular time interval. This is useful, but only scratching the surface.

For cache hits and other counters, you're gonna have to go deeper than just sampling.

1 comments

How would you go about cache hits instead of using a sampling profiler? Would you use eBPF / BCC?
The article describes using strace and perf in the paragraph after.