If you cannot see any telltale flow marks, and For the reason that stain is quite little, look at the underside on the roof for 'shiners.' A shiner is often a nail that skipped the framing member, in this case if the carpenter nailed the roof sheathing towards the rafters. https://joshbrooksconstruction10991.wikiworldstock.com/151591/article_under_review