Kernel memory footprint and analysis.
I am trying to analyze the footprint of my Linux kernel but don't know how each feature breaks down. Is there a tool I can use that will break down the memory footprint of the running kernel? I also want to see what features are being used or not used by the running system in real time. This will help me trim down the kernel and get a better idea of the feature usage.