A Flexible Profiling Sub-System for Reconfigurable Logic Architectures