mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-12 09:20:36 +00:00
Kernel: Fix incorrect argument for thread_exit events
This commit is contained in:
parent
1c02848e54
commit
659507696c
Notes:
sideshowbarker
2024-07-18 19:03:17 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/659507696c9 Pull-request: https://github.com/SerenityOS/serenity/pull/6676
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ void Process::sys$exit_thread(Userspace<void*> exit_value)
|
|||
}
|
||||
|
||||
if (auto* event_buffer = current_perf_events_buffer()) {
|
||||
[[maybe_unused]] auto rc = event_buffer->append(PERF_EVENT_THREAD_EXIT, Thread::current()->tid().value(), 0, nullptr);
|
||||
[[maybe_unused]] auto rc = event_buffer->append(PERF_EVENT_THREAD_EXIT, 0, 0, nullptr);
|
||||
}
|
||||
|
||||
Thread::current()->exit(reinterpret_cast<void*>(exit_value.ptr()));
|
||||
|
|
Loading…
Reference in a new issue