I would attach to the top plate in addition to the studs, if possible. I had a hammock in my room as a kid for years, it was just a 5/16" screw eye in the top plate of opposing walls.... held with 2 people and 300# in the hammock....

John