Get Session Frontend Live Preview Data

Hello,
I’m Trying to get thread event data programmatically. What I’m trying to do is I want to profile the game on run-time and send those data periodically to me so that I can monitor my game performance remotely.
But, I’m having trouble accessing those data from within c++. Anyone can help?