I agree with william morris. In 13 years of doing massage work- almost without exception- the people with chronic hip pain, shoulder pain, etc seemed to have an issue with being de conditioned which they erroneously interpreted as being "tight" or "holding tension" their solution typically was a lot of stretching, or more commonly, applying guilty thought to the area for not stretching enough.
I suffered sciatica and lots of low back hip issues due to carrying asymmetrical weight at work- squatting below parallel cured it completely, I have no low back issues whatsoever, flexibility from the hamstring stretch in the bottom position is as good as it ever was when I did yoga, active stretching and voodoo.
I do like to do a bit of dynamic stretching before trail runs. and quad/adductor stretches are sometimes helpful due to an earlier groin pull- but not often.
I also dont believe stretching alleviates pain (for me)