mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-07 09:04:30 +00:00
Kernel: Remove unused function Process::backtrace()
This commit is contained in:
@@ -843,17 +843,6 @@ void Process::FileDescriptionAndFlags::set(NonnullRefPtr<FileDescription>&& desc
|
||||
m_flags = flags;
|
||||
}
|
||||
|
||||
OwnPtr<KBuffer> Process::backtrace() const
|
||||
{
|
||||
KBufferBuilder builder;
|
||||
for_each_thread([&](Thread& thread) {
|
||||
builder.appendf("Thread %d (%s):\n", thread.tid().value(), thread.name().characters());
|
||||
builder.append(thread.backtrace());
|
||||
return IterationDecision::Continue;
|
||||
});
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
Custody& Process::root_directory()
|
||||
{
|
||||
if (!m_root_directory)
|
||||
|
||||
Reference in New Issue
Block a user