What is the difference between APC and straight C?
There are several differences: 1) There is special syntax to indicate where and when the probe should be executed, such as “probe”, “on_entry”, “on_exit”, “on_line”, etc. 2) There is a special keyword called “log” for recording data at run time and defining the format with which it should be displayed afterward. 3) There are special data references, called “target expressions” which start with `$’ and refer to values in the probed program. All of these are expanded or converted to ANSI C by the apc compiler. In addition, there is an implicit ” #include “aprobe.h “, which makes available the extensive Aprobe API defined in APROBE/include/aprobe.h and documented in Appendix C of the Aprobe User’s Guide.