-
Notifications
You must be signed in to change notification settings - Fork 5
Description
When BPF verifier rejects a program due to instruction limit, it usually happens because of an unbounded loop.
However, it's not always easy to even figure out start and end of a loop from a linear log.
To help with this, we can introduce a UI showing which instructions are "hot".
I have a rough draft of how that could work here: master...heatmap
Basically, we want to highlight or mark instructions depending on the frequency of them appearing in the log. It can be as simple as looking at the PC for identifying unique instructions and counting them.
The UI could be an additional column in main view with a hint, for example. We could also provide a separate view tab, showing only unique instructions, getting a view similar to objdump with such highlighting.

