]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
lockdep: do not automatically collect all backtraces 5296/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 22 Jun 2015 19:30:02 +0000 (15:30 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 28 Jul 2015 20:36:35 +0000 (16:36 -0400)
commite9718201c6ed785c61077797a74ffda7e0438fb9
treec0af85ad2decd556665e69dea97e79876c6d8bac
parent27f7042e923366c31748c4cc9992c1a8cb37b457
lockdep: do not automatically collect all backtraces

It is expensive to collect backtraces every time a lock is
checked in order to provide cycle backtraces.  The backtraces
can be forced on for specific locks or globally via the new
config option "lockdep_force_backtrace".

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 7354d25f56c5e004f288febdee2b6961c069163b)
src/common/Mutex.h
src/common/config_opts.h
src/common/lockdep.cc
src/common/lockdep.h