Forget about Profiler, no need for that crap at all. Just go to options in LFS, go to Alt/Ctrl + f1 - f12 section and map at any of the buttons commands like "/press F10" etc. and than map wheel buttons to them, thats all.
Can be done via scripts too, but that way is easier imo.