Andi Kleen's blog

Tilting at windmills and other endeavors

Overview of Last Branch Records (LBRs) on Intel CPUs

without comments

I wrote a two part article on theory and practice of Last Branch
Records using Linux perf. They were published on LWN.

This includes the background (what is a last branch record and why
branch sampling), what you can use it for in perf, like hot path
profiling, frame pointerless callgraphs, or automatic micro benchmarks,
and also other uses like continuous compiler feedback.

The articles are now freely available:

Part 1: Introduction of Last Branch Records
Part 2: Advanced uses of Last Branch Records

Written by therapsid

April 7th, 2016 at 2:26 pm

Posted in kernel,Uncategorized