> > or if you don't want to have to run a test program (e.g. if you support > > cross compiling) maybe you can try to build a program that has at least > > one function call, do a disassembly on it (objdump -d foo) and see if > > get calls to _mcount, which will indicate to profiling is enabled. So, what about the _mcount symbol? Cheers Luk