apc says my function names not known–why not?
There are a number of possibilities. If you specified “-x … ” on the apc command line, then it means it couldn’t find the named function in that file’s symbol table. Since apc works pretty hard to match incomplete function names, the name is probably wrong in case or spelling, or, if you provided a parameter profile, it’s probably not exactly what the C++ compiler encoded as the name for the function. You could try using apcgen to generate a probe template for all the functions in the source file (or object file, if it’s a template instance) containing the function you want, or the tool apinfo or apsymbols to dump out all the function names in the whole program.