mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
Kernel: Move Performance-measurement code to the Tasks subdirectory
This commit is contained in:
parent
b88c1d90e1
commit
927926b924
23 changed files with 24 additions and 24 deletions
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/Arch/Processor.h>
|
||||
#include <Kernel/Arch/RegisterState.h>
|
||||
#include <Kernel/Arch/SafeMem.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
|
||||
#include <Kernel/Interrupts/UnhandledInterruptHandler.h>
|
||||
#include <Kernel/Library/Panic.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Security/Random.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
|
|
|
@ -258,7 +258,6 @@ set(KERNEL_SOURCES
|
|||
Net/Socket.cpp
|
||||
Net/TCPSocket.cpp
|
||||
Net/UDPSocket.cpp
|
||||
PerformanceEventBuffer.cpp
|
||||
Syscall.cpp
|
||||
Security/AddressSanitizer.cpp
|
||||
Security/Credentials.cpp
|
||||
|
@ -347,6 +346,7 @@ set(KERNEL_SOURCES
|
|||
Tasks/CrashHandler.cpp
|
||||
Tasks/FinalizerTask.cpp
|
||||
Tasks/FutexQueue.cpp
|
||||
Tasks/PerformanceEventBuffer.cpp
|
||||
Tasks/Process.cpp
|
||||
Tasks/ProcessGroup.cpp
|
||||
Tasks/ProcessList.cpp
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
*/
|
||||
|
||||
#include <Kernel/FileSystem/SysFS/Subsystems/Kernel/Profile.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
#include <Kernel/Library/StdLib.h>
|
||||
#include <Kernel/Locking/Spinlock.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
|
||||
#if ARCH(X86_64) || ARCH(AARCH64)
|
||||
static constexpr size_t CHUNK_SIZE = 64;
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#include <Kernel/Memory/AnonymousVMObject.h>
|
||||
#include <Kernel/Memory/InodeVMObject.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Security/Random.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
#include <Kernel/Arch/TrapFrame.h>
|
||||
#include <Kernel/Library/Panic.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Tasks/ThreadTracer.h>
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/Memory/Region.h>
|
||||
#include <Kernel/Memory/SharedInodeVMObject.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Security/Random.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*/
|
||||
|
||||
#include <Kernel/KSyms.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/FileSystem/Custody.h>
|
||||
#include <Kernel/Memory/Region.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@
|
|||
#include <Kernel/Memory/PrivateInodeVMObject.h>
|
||||
#include <Kernel/Memory/Region.h>
|
||||
#include <Kernel/Memory/SharedInodeVMObject.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <LibELF/Validation.h>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Coredump.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/FileSystem/OpenFileDescription.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <AK/Checked.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include <Kernel/Arch/SmapDisabler.h>
|
||||
#include <Kernel/FileSystem/Custody.h>
|
||||
#include <Kernel/Library/KBufferBuilder.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
|
@ -31,10 +31,10 @@
|
|||
#include <Kernel/Library/StdLib.h>
|
||||
#include <Kernel/Memory/AnonymousVMObject.h>
|
||||
#include <Kernel/Memory/SharedInodeVMObject.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
|
|
|
@ -28,11 +28,11 @@
|
|||
#include <Kernel/Locking/Mutex.h>
|
||||
#include <Kernel/Locking/MutexProtected.h>
|
||||
#include <Kernel/Memory/AddressSpace.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Security/Credentials.h>
|
||||
#include <Kernel/Security/Jail.h>
|
||||
#include <Kernel/Tasks/AtomicEdgeAction.h>
|
||||
#include <Kernel/Tasks/FutexQueue.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/ProcessGroup.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/InterruptDisabler.h>
|
||||
#include <Kernel/Library/Panic.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
|
|
@ -21,8 +21,8 @@
|
|||
#include <Kernel/Library/Panic.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
|
||||
#include <Kernel/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceEventBuffer.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Tasks/Thread.h>
|
||||
|
|
|
@ -26,8 +26,8 @@
|
|||
#include <Kernel/Boot/CommandLine.h>
|
||||
#include <Kernel/Firmware/ACPI/Parser.h>
|
||||
#include <Kernel/InterruptDisabler.h>
|
||||
#include <Kernel/PerformanceManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/PerformanceManager.h>
|
||||
#include <Kernel/Tasks/Scheduler.h>
|
||||
#include <Kernel/Time/HardwareTimer.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
|
Loading…
Reference in a new issue