'perf' and disassembly

  • From: Luke Gorrie <luke@xxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sat, 19 Apr 2014 18:45:04 +0200

Howdy!

I'm using -DLUAJIT_USE_PERFTOOLS and I'd love to be able to browse assembly
code from the 'perf report' interface. This seems like the most
straightforward way to profile events like cache misses and branch
mispredictions.

However, 'perf report' doesn't seem to have access to the machine code.

Two questions:

1. Is this indeed the most straightforward way to do detailed profiling of
performance counter events?

2. If so then how could I make the machine code available to 'perf' for
disassembly in their UI?

Cheers!
-Luke

Other related posts: