From: Sam Lang Date: Fri, 14 Dec 2012 03:22:37 +0000 (-1000) Subject: lockdep: Decrease lockdep backtrace skip by 1 X-Git-Tag: v0.56~52 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7de975d9344621201a09b03453682cc7c798892;p=ceph.git lockdep: Decrease lockdep backtrace skip by 1 Skipping the top 4 (it starts at 0) calls in the backtrace actually skips the call that does the lock. Skip 3 instead. Signed-off-by: Sam Lang --- diff --git a/src/common/lockdep.cc b/src/common/lockdep.cc index 873f28e9023..7f67ae959fe 100644 --- a/src/common/lockdep.cc +++ b/src/common/lockdep.cc @@ -37,7 +37,7 @@ namespace __gnu_cxx { #define DOUT_COND(cct, l) cct && l <= XDOUT_CONDVAR(cct, dout_subsys) #define lockdep_dout(v) lsubdout(g_lockdep_ceph_ctx, lockdep, v) #define MAX_LOCKS 1000 // increase me as needed -#define BACKTRACE_SKIP 3 +#define BACKTRACE_SKIP 2 /******* Globals **********/ int g_lockdep = get_env_int("CEPH_LOCKDEP");