Internal feeding damage of carpenterworms can sometimes be seen externally.
A horizontal line of damage on the outside of a tree trunk

James Solomon, USDA Forest Service, Bugwood.org