Current value profiler implementation relies on libc runtime for lazy allocation of profile counters. While this is flexible, it limits the usability greatly for apps running in restricted runtime environment.
With this change, VP will now have counters allocated statically by default. Dynamic allocation is still supported which is controlled by compile time option.
The implementation chooses allocate only one node per-site. Tested with instrumented clang (compiing a large C++ source) -- the total number of values collected at runtime is a still quite smaller than statically allocated # of counters .
Typo avverage.