Programmable system-wide instrumentation system