Do I need to specify an object file or executable to apc?
You need to specify “-x object module” if you use a construct in your APC that cannot be resolved without specific symbol table or debug information from the program. Such constructs are: • target expressions: names from the probed program preceded by `$’, or “$*” ($1, $2 are ok, as are hardware-register references starting with ‘$$’), and • references to specific source lines. In general, probes that you compose to gather information about specific parts of your program will contain one of the above, and you’ll want to include the executable or an object file. For probes on shared libraries which don’t contain any debug information, or for probes that should apply to any program (like the predefine probes included with Aprobe), you generally will not provide an object module.