By 'upper stomach' you mean your actual stomach, presumably? The question you'll get asked - or should do - is how often you're going to the toilet and whether there's anything unusual about what comes out.
Also, if you're taking any pain killers don't take any without food...
^^^ This
Plus... if your poop looks black and tarry.. that's a sign of bleeding in your stomach... a sure sign of ulcers.
It looked like that a week ago but I was using Pepto Bismol at the time. Other than that the poop looks pretty regular.
And I use the toilet at least three times a week, so constipation is definitely not the problem.
The color change is because of the pepto.
Could it be diverticulitis maybe?