summaryrefslogtreecommitdiff
path: root/Kernel/Scheduler.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-03-02 16:55:54 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-02 22:38:06 +0100
commitb425c2602c6dd10b5509fcd8d81c765b9c76993a (patch)
tree2bf74d65414324093a011cd026daa72adf8df049 /Kernel/Scheduler.cpp
parente7ef729db308d3372a129f4313a5c3e9fc0b36ae (diff)
downloadserenity-b425c2602c6dd10b5509fcd8d81c765b9c76993a.zip
Kernel: Better handling of allocation failure in profiling
If we can't allocate a PerformanceEventBuffer to store the profiling events, we now fail sys$profiling_enable() and sys$perf_event() with ENOMEM instead of carrying on with a broken buffer.
Diffstat (limited to 'Kernel/Scheduler.cpp')
0 files changed, 0 insertions, 0 deletions