[ovs-git] Open vSwitch: timeval: Remove backtrace feature. (master)

dev at openvswitch.org dev at openvswitch.org
Fri Jul 12 00:03:51 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  94f3e5269e93e85001b078fd475217c997bbba70 (commit)
      from  bc7ad7d4740b10d08249b2e8017c766396ff53ce (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 94f3e5269e93e85001b078fd475217c997bbba70
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=94f3e5269e93e85001b078fd475217c997bbba70
Author: Ben Pfaff <blp at nicira.com>
		
timeval: Remove backtrace feature.
		
The backtrace feature of timeval is useful because it provides a "poor
man's profile" view of Open vSwitch.  But it is not likely to be useful in
a multithreaded process, because signal delivery doesn't necessarily follow
the profile when there is more than one thread.  (A signal in a
multithreaded process are delivered to an arbitrary thread.)

Another problem with the backtrace feature is that it is difficult for
format_backtraces() to synchronize properly with the signal handler in a
multithreaded process.  In a single-threaded process, it can just block
the signal handler, but in a multithreaded process this does not prevent
signal delivery to threads other than the one running format_backtrace().

Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Ed Maste <emaste at freebsd.org>


-----------------------------------------------------------------------

Summary of changes:
 lib/poll-loop.c |    6 ---
 lib/timeval.c   |  157 -------------------------------------------------------
 lib/timeval.h   |    1 -
 3 files changed, 164 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list