mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 09:18:52 +00:00
Kernel: Make syscall counters and page fault counters per-thread
Now that we show individual threads in SystemMonitor and "top", it's also very nice to have individual counters for the threads. :^)
This commit is contained in:
parent
712ae73581
commit
5b8cf2ee23
Notes:
sideshowbarker
2024-07-19 11:03:10 +09:00
Author: https://github.com/awesomekling
Commit: 5b8cf2ee23
9 changed files with 38 additions and 38 deletions
|
@ -60,7 +60,7 @@ int handle(RegisterDump& regs, u32 function, u32 arg1, u32 arg2, u32 arg3)
|
|||
{
|
||||
ASSERT_INTERRUPTS_ENABLED();
|
||||
auto& process = current->process();
|
||||
process.did_syscall();
|
||||
current->did_syscall();
|
||||
|
||||
if (function == SC_exit || function == SC_exit_thread) {
|
||||
// These syscalls need special handling since they never return to the caller.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue