Q.Apricot tree borers at base of trunk
Can you confirm from photos that problem is borers? Can tree be saved and continue to bear good fruit? Or is it time to remove tree completely?
This could be a canker, Peach tree borer, or even sun scald damage.
Piles of saw dust are generally found at the base of the tree trunk if it is infected with Peach tree borer.
Here are some links to help you.