added an additional frame to lock profiling backtraces
This commit is contained in:
1 parent
50901d2550
commit
abfde23ae9
1 file changed
+1
-1
@@ -77,7 +77,7 @@ static void profiler_cleanup(lock_profile_t *profile)
|
|||||||
*/
|
*/
|
||||||
static void profiler_init(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);
|
timerclear(&profile->waited);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user