mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
Kernel: Remove unused function Process::backtrace()
This commit is contained in:
parent
b1813e5dae
commit
5c1c82cd33
Notes:
sideshowbarker
2024-07-18 22:32:14 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5c1c82cd334
2 changed files with 0 additions and 13 deletions
|
@ -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)
|
||||
|
|
|
@ -156,8 +156,6 @@ public:
|
|||
bool should_core_dump() const { return m_should_dump_core; }
|
||||
void set_dump_core(bool dump_core) { m_should_dump_core = dump_core; }
|
||||
|
||||
OwnPtr<KBuffer> backtrace() const;
|
||||
|
||||
bool is_dead() const { return m_dead; }
|
||||
|
||||
bool is_stopped() const { return m_is_stopped; }
|
||||
|
|
Loading…
Reference in a new issue