r.profile already has a CSV-like output, but adding a proper CSV with commas and header like in v.db.select would make it more useful.