I don't think these calls are more useful than inserting debug printfs. Since the value is just cookie, you have to have the sources available anyway to decode the meaning. Obviously, I'd rather avoid adding useless stuff. it could be used for a "shared library" tracing facility.