added an additional frame to lock profiling backtraces
authorMartin Willi <martin@strongswan.org>
Mon, 15 Dec 2008 09:13:43 +0000 (09:13 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 15 Dec 2008 09:13:43 +0000 (09:13 -0000)
src/libstrongswan/utils/mutex.c

index cb6940d..8c5f561 100644 (file)
@@ -77,7 +77,7 @@ static void profiler_cleanup(lock_profile_t *profile)
  */
 static void profiler_init(lock_profile_t *profile)
 {
-       profile->backtrace = backtrace_create(3);
+       profile->backtrace = backtrace_create(2);
        timerclear(&profile->waited);
 }