Wednesday, September 13, 2017

Making it easier to read Linux perf output

This is a short note to myself the next time I need to remember things I had to do to enhance the readability of Linux perf output.
  • trim trailing spaces -> perf report --stdio | awk 'sub(/ *$/, "")'
  • don't forget the children when using perf record -g -> perf report --no-children


No comments:

Post a Comment