mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-23 08:57:28 +00:00
Boot profiling was previously broken due to init_stage2() passing the event mask to sys$profiling_enable() via kernel pointer, but a user pointer is expected. To fix this, I added Process::profiling_enable() as an alternative to Process::sys$profiling_enable which takes a u64 rather than a Userspace<u64 const*>. It's a bit of a hack, but it works.
16 KiB
16 KiB