system_profiler: Add a mode for scheduling_recorder -r like profile -r.
And add the necessary logic in scheduling_recorder. This way we can track scheduling profiling during the boot process. Also remove B_SYSTEM_PROFILER_IO_SCHEDULING_EVENTS as it can't be activated this early in the boot process. Change-Id: If32f9b5d61c8cd2b3b36a4e6f8065301abd46149 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7963 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
2ef4221668
commit
686e891cd2
@@ -136,6 +136,7 @@
|
||||
// Enables the (boot) system profiler for use with "profile -r"
|
||||
#define SYSTEM_PROFILER 0
|
||||
#define SYSTEM_PROFILE_SIZE 40 * 1024 * 1024
|
||||
#define SYSTEM_PROFILE_SCHEDULING 0
|
||||
#define SYSTEM_PROFILE_STACK_DEPTH 10
|
||||
#define SYSTEM_PROFILE_INTERVAL 10000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user