These are the signs of longihorn (borer). Borer attack plants stressed by drought or disease. To rid the plant of borer improve growing conditions by watering regularly, prune off infested branches and spray any small holes left on branches or trunk with a systemic spray.