From a7de975d9344621201a09b03453682cc7c798892 Mon Sep 17 00:00:00 2001 From: Sam Lang Date: Thu, 13 Dec 2012 17:22:37 -1000 Subject: [PATCH] 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 --- src/common/lockdep.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/lockdep.cc b/src/common/lockdep.cc index 873f28e90230..7f67ae959feb 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"); -- 2.47.3