Regarding your ltrace comments, yes, it's a kludge. Thankfully glibc provides LD_AUDIT which is much more capable, because the dynamic linker really can tell what dynamic calls are being made. It would be even better if there was even the slightest hint of documentation about it, but thankfully we don't need that as Jiri Olsa has done it for us: <http://latrace.sf.net/>.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds