Reduce some functions to local

Change-Id: Ia2d7eaaa1381fe46839b0d52a91bdc3a439fa418
Remove legacy DBG_PROFSART/STOP calls

...probably better done with callgrind, if still relevant at all.

Change-Id: I15069df4e2f271b0c240231f35af2e664a02c296
Remove legacy DBG_PROFSART/STOP calls

...probably better done with callgrind, if still relevant at all.

Change-Id: I2be614c953d41625f7e11ee7881c2f897ee703d0
Remove now unused tools/debug.hxx profiling functionality

Change-Id: I13adca8c2f929c8a9226b26ef57b26363dfdf0b3