ladybird/Kernel
Andreas Kling 3879e5b9d4 Kernel: Start working on a syscall for logging performance events
This patch introduces sys$perf_event() with two event types:

- PERF_EVENT_MALLOC
- PERF_EVENT_FREE

After the first call to sys$perf_event(), a process will begin keeping
these events in a buffer. When the process dies, that buffer will be
written out to "perfcore" in the current directory unless that filename
is already taken.

This is probably not the best way to do this, but it's a start and will
make it possible to start doing memory allocation profiling. :^)
2020-02-02 20:26:27 +01:00
..
ACPI Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
Arch/i386 Kernel: Add memory scrubbing in slab_alloc() and slab_dealloc() 2020-02-01 10:56:17 +01:00
Devices Partition Table: Add support for Extended partitions 2020-02-02 00:20:41 +01:00
FileSystem Kernel: Make Inode::lookup() return a RefPtr<Inode> 2020-02-01 10:56:17 +01:00
Heap Kernel: Remove unnecessary forward declaration in SlabAllocator 2020-02-02 20:25:41 +01:00
Net Kernel: Detect devices when enumerating the PCI bus 2020-02-02 00:57:13 +01:00
PCI Kernel: Detect devices when enumerating the PCI bus 2020-02-02 00:57:13 +01:00
TTY Kernel: Tweak some include statements 2020-01-28 20:42:27 +01:00
VM Kernel: Add some sanity assertions in RangeAllocator::deallocate() 2020-01-30 21:51:27 +01:00
.bochsrc
.gitignore
Assertions.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
build-image-grub.sh Partition Table: Change Script files 2020-02-02 00:20:41 +01:00
build-image-qemu.sh Build: use absolute path for /sbin/mke2fs 2020-01-22 22:04:29 +01:00
build-root-filesystem.sh
CMOS.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
CMOS.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Console.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
debug-kernel Debugging: Add kernel debugging support 2020-01-13 11:06:42 +01:00
DoubleBuffer.cpp Kernel: Allow short writes to DoubleBuffer 2020-02-01 10:56:17 +01:00
DoubleBuffer.h Kernel: Make DoubleBuffer use a KBuffer instead of kmalloc()ing 2020-01-20 16:08:49 +01:00
FB.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
grub-ebr.cfg Partition Table: Change Script files 2020-02-02 00:20:41 +01:00
grub-gpt.cfg Partition Table: Change Script files 2020-02-02 00:20:41 +01:00
grub-mbr.cfg Partition Table: Change Script files 2020-02-02 00:20:41 +01:00
init.cpp Kernel: Detect devices when enumerating the PCI bus 2020-02-02 00:57:13 +01:00
InterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
InterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
IO.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
IRQHandler.cpp Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
IRQHandler.h Revert "Kernel: Replace IRQHandler with the new InterruptHandler class" 2020-01-22 22:27:06 +01:00
KBuffer.h Kernel: Allow naming KBuffers 2020-01-20 14:00:11 +01:00
KBufferBuilder.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KBufferBuilder.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KernelInfoPage.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KeyCode.h Kernel: Add key_code_count 2020-01-31 13:13:04 +01:00
KParams.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KParams.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kprintf.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KResult.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
kstdio.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
KSyms.cpp Kernel: Remove some unnecessary casts to uintptr_t 2020-01-20 13:13:03 +01:00
KSyms.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
linker.ld Kernel: Move kernel above the 3GB virtual address mark 2020-01-17 22:34:26 +01:00
Lock.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Lock.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
makeall.sh Build: Fix silly mistake in makeall.sh 2020-01-23 10:41:07 +01:00
Makefile Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
mkmap.sh
Module.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
MousePacket.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Multiboot.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
PerformanceEventBuffer.cpp Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
PerformanceEventBuffer.h Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
Process.cpp Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
Process.h Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
ProcessTracer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
ProcessTracer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Profiling.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Random.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
RTC.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
run run: Bump default RAM size from 128 MB to 256 MB 2020-01-15 23:14:20 +01:00
Scheduler.cpp Kernel: Finalizer should not go back to sleep if there's more to do 2020-02-01 10:56:17 +01:00
Scheduler.h Kernel: Finalizer should not go back to sleep if there's more to do 2020-02-01 10:56:17 +01:00
SharedBuffer.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedBuffer.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
SharedInterruptHandler.cpp Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
SharedInterruptHandler.h Kernel: Introduce IRQ sharing support 2020-01-22 12:22:09 +01:00
StdLib.cpp Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
StdLib.h Kernel: Assert that copy_to/from_user() are called with user addresses 2020-01-19 09:18:55 +01:00
sync.sh
Syscall.cpp Kernel: Clear ESI and EDI on syscall entry 2020-01-25 10:34:32 +01:00
Syscall.h Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
TestModule.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
Thread.cpp Kernel: Finalizer should not go back to sleep if there's more to do 2020-02-01 10:56:17 +01:00
Thread.h Kernel: Update Thread::raw_backtrace() signature to use uintptr_t 2020-02-02 19:00:38 +01:00
TimerQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
TimerQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
UnixTypes.h Kernel: Start working on a syscall for logging performance events 2020-02-02 20:26:27 +01:00
WaitQueue.cpp Meta: Add license header to source files 2020-01-18 09:45:54 +01:00
WaitQueue.h Meta: Add license header to source files 2020-01-18 09:45:54 +01:00