Dump the location where threads are created

Use the LD_PRELOAD trick :-P