added an additional frame to lock profiling backtraces

This commit is contained in:
Martin Willi committed 2008-12-15 09:13:43 +00:00
1 parent 50901d2550
commit abfde23ae9
1 file changed
+1 -1
+1 -1
View 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);
}