0

I am trying to reduce the time it takes for the kernel to start up i.e the time it takes from selecting the kernel option in GRUB to the start of init(). I have used OProfile tool to profile my customized kernel. How do I proceed with it's output?

2

1 Answer 1

0

OProfile is not the best option for this.

The best option is to get the bootgraph.pl script, run the kernel with the initcall_debug boot parameter and then process the output with something like dmesg | perl bootgraph.pl > ~/boot-time.svg

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.