diff options
author | Sam Lang <sam.lang@inktank.com> | 2012-12-13 17:22:37 -1000 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-12-14 14:17:40 -0800 |
commit | a7de975d9344621201a09b03453682cc7c798892 (patch) | |
tree | ac98a7ad0d32c54814e19cb1538f1cbe1e7c11bf | |
parent | 641b077f9ec3f78e275cec27e43de270de0626f6 (diff) | |
download | ceph-a7de975d9344621201a09b03453682cc7c798892.tar.gz |
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 <sam.lang@inktank.com>
-rw-r--r-- | src/common/lockdep.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |