initial implementation

@wladekb - could you please turn the spotlights of your eyes onto it? :-)
I'd move it to the body of wfLogProfilingData()