Fix build with tracing disabled. Since capture_tracing_stack_trace() doesn't
return a stack trace when tracing is disabled we don't really need to be able to print one either. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43088 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f606e8fd79
commit
45cbd81436
@ -1678,7 +1678,9 @@ tracing_find_caller_in_stack_trace(struct tracing_stack_trace* stackTrace,
|
||||
void
|
||||
tracing_print_stack_trace(struct tracing_stack_trace* stackTrace)
|
||||
{
|
||||
#if ENABLE_TRACING
|
||||
print_stack_trace(stackTrace, kprintf);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user