Clue: Taking pains to enjoy oneself (9)
Answer: MASOCHISM
Explanation: Definition: Taking pains to enjoy oneself
Cryptic defintion