int VT_setfinalizecallback( VT_Callback_t callback )
Sets a callback which is called by the Intel® Trace Analyzer and Collector at the beginning of finalization. This function may use the Intel Trace Analyzer and Collector API to log events.
Only one callback can be stored per process, setting another or NULL removes the previous callback.
callback | a pointer to the callback |
Returns error code