There's always something more. Whatever you're frustrated on now is only a miniscule fraction of your gymnastics 'career', or even your life. Looking at things in the big picture helps me relax.
I'm also really involved in charity work, so that has helped me with that principle. It sounds like a guilt trip, if it's something you truly feel right down to your core, then it's not. When I was irritated with my front tumbling pass or giants or having a bad meet or whatever, sure I would be upset, but I would catch myself, saying things like; wow I'm in a nice facility with coaches who care about me and when I go home both of my parents will be there to ask me how my day was. I can take a warm bath and listen to music before bed. I know I'll be safe in my bed that night and when I wake up in the morning,I can eat breakfast and I have the privilege of going to school and getting to do it all over again. We take a lot for granted here. Not being able to nail your tsuk every time is not that big of a deal.
I'd like to stress that I'm not perfect. Sometimes I do want to feel sorry for myself, but I can remind myself how lucky I am to even be able to feel that disappointment and it motivates me to do my best for all the people who don't get that chance.