• No replies
706 Posts

Pinned topic Handling oprofile sample buffer overflows

‏2010-06-24T14:14:17Z |
Check out a new article on handling oprofile sample buffer overflows

The article, courtesy of Maynard Johnson, discusses some of the features of oprofile which allow the user to tailor and tune the sizes of the various event buffers used by oprofile.

For example:

# Set the event (main) buffer size opcontrol --buffer-size=1000000   # Set the buffer watershed opcontrol --buffer-watershed=250000   # Set the cpu buffer size opcontrol --cpu-buffer-size=16000

The goal is to reduce the number of lost event samples due to overflowing control buffers.