ladybird/Kernel
Andreas Kling 5e7abea31e Kernel+Profiler: Capture metadata about all profiled processes
The perfcore file format was previously limited to a single process
since the pid/executable/regions data was top-level in the JSON.

This patch moves the process-specific data into a top-level array
named "processes" and we now add entries for each process that has
been sampled during the profile run.

This makes it possible to see samples from multiple threads when
viewing a perfcore file with Profiler. This is extremely cool! :^)
2021-03-02 22:38:06 +01:00
..
ACPI
API Kernel: Take some baby steps towards x86_64 2021-02-25 16:27:12 +01:00
Arch Kernel: Enable AVX flags if supported by cpu 2021-03-02 16:35:06 +01:00
Devices Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
FileSystem Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
Heap Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Interrupts Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Modules
Net Kernel: Fix sign error in TCP resend logic 2021-03-02 08:36:08 +01:00
PCI Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Storage Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Syscalls Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
Tasks Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
Time Kernel: Make TimeManagement use AK::Time internally 2021-03-02 08:36:08 +01:00
TTY Kernel: Make kgettimeofday use AK::Time 2021-03-02 08:36:08 +01:00
VM Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
.gitignore
AddressSanitizer.cpp
AddressSanitizer.h
Assertions.h
CMakeLists.txt Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
CMOS.cpp
CMOS.h
CommandLine.cpp
CommandLine.h
Console.cpp
Console.h
CoreDump.cpp Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
CoreDump.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Debug.h.in
DMI.cpp
DMI.h
DoubleBuffer.cpp
DoubleBuffer.h
Forward.h
FutexQueue.cpp
FutexQueue.h
init.cpp Kernel: Add self-test boot mode, an alias for text mode 2021-02-28 18:19:37 +01:00
IO.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
KBuffer.h
KBufferBuilder.cpp
KBufferBuilder.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
kprintf.cpp
KResult.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
kstdio.h
KSyms.cpp Kernel: Move SMAP disabler RAII helper to its own file 2021-02-25 17:25:34 +01:00
KSyms.h Kernel: Take some baby steps towards x86_64 2021-02-25 16:27:12 +01:00
linker.ld
Lock.cpp
Lock.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
LockMode.h
mkmap.sh
Module.h
Multiboot.h
Panic.cpp
Panic.h
PerformanceEventBuffer.cpp Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
PerformanceEventBuffer.h Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
PhysicalAddress.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
Process.cpp Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
Process.h Kernel: Better handling of allocation failure in profiling 2021-03-02 22:38:06 +01:00
ProcessGroup.cpp
ProcessGroup.h
Random.cpp Kernel: Fix APIC timer calibration to be more accurate 2021-03-01 11:11:09 +01:00
Random.h Kernel: Make clang(?) happy about templates(?) 2021-03-02 08:36:08 +01:00
RTC.cpp
RTC.h
Scheduler.cpp Kernel+Profiler: Capture metadata about all profiled processes 2021-03-02 22:38:06 +01:00
Scheduler.h
SpinLock.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
StdLib.cpp Kernel: Implement 'copy_time_from_user' functions to sanitize arguments 2021-03-02 08:36:08 +01:00
StdLib.h Kernel: Prevent using copy_from_user() for timespec/timeval 2021-03-02 08:36:08 +01:00
Syscall.cpp Kernel: Use RDTSC instead of get_fast_random() for syscall stack noise 2021-03-02 14:25:38 +01:00
Thread.cpp Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
Thread.h Kernel: Make Thread use AK::Time internally 2021-03-02 08:36:08 +01:00
ThreadBlockers.cpp Kernel: Make sockets use AK::Time 2021-03-02 08:36:08 +01:00
ThreadTracer.cpp
ThreadTracer.h
TimerQueue.cpp Kernel: Make TimeManagement use AK::Time internally 2021-03-02 08:36:08 +01:00
TimerQueue.h Kernel: Make TimerQueue use AK::Time in interface 2021-03-02 08:36:08 +01:00
UBSanitizer.cpp
UBSanitizer.h
UnixTypes.h
UnveilNode.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
UserOrKernelBuffer.cpp
UserOrKernelBuffer.h
VirtualAddress.h Kernel: Use default con/de-structors 2021-02-28 18:09:12 +01:00
WaitQueue.cpp
WaitQueue.h