An update: there is now an enhanced version of that particular library, along the the necessary Linux kernel work (in the form of a unified source patch) to fully enable XSAVE/XRSTOR on LWP capable systems.
The library is in GPL (full GPL, not LGPL) form.
Location: http://gorton-machine.org/rick/PathProfiling
Regards,
Richard Gorton