I learned about using
:profile here, so I just tried to install vim with profiling enabled.
I tried this:
./configure --prefix=/home/username --with-features=profile
But in the output from configure I got the message
Sorry, profile is not supported
Does that mean that profile is not an option for me at all because of my OS, or is there something that I can do to make it "supported"?