Re: [ovs-dev] [PATCH 3/3] poll-loop: Log backtraces when CPU usage is high.

2012-10-25 Thread Ethan Jackson
Good idea, I've folded that in. Ethan On Wed, Oct 24, 2012 at 6:58 PM, Ben Pfaff wrote: > On Wed, Oct 24, 2012 at 01:49:09PM -0700, Ethan Jackson wrote: >> Often when debugging Open vSwitch, one will see in the logs that >> CPU usage has been high for some period of time, but it's totally >> unc

Re: [ovs-dev] [PATCH 3/3] poll-loop: Log backtraces when CPU usage is high.

2012-10-24 Thread Ben Pfaff
On Wed, Oct 24, 2012 at 01:49:09PM -0700, Ethan Jackson wrote: > Often when debugging Open vSwitch, one will see in the logs that > CPU usage has been high for some period of time, but it's totally > unclear why. In an attempt to remedy the situation, this patch > logs backtraces taken at regular

[ovs-dev] [PATCH 3/3] poll-loop: Log backtraces when CPU usage is high.

2012-10-24 Thread Ethan Jackson
Often when debugging Open vSwitch, one will see in the logs that CPU usage has been high for some period of time, but it's totally unclear why. In an attempt to remedy the situation, this patch logs backtraces taken at regular intervals as a poor man's profiling alternative. Signed-off-by: Ethan