db: do the caller_info stuff earlier