It is the duty of the judge of probate to give notice to the district attorney of all offenses under this chapter.