I was wondering if there is any detailed work about chemical constituents of prunus stem bark including alkaloids, flavonoids, essential oils, phenols, terpenes etc. and their utilisation as repellents or attractants of beetles.
Something like this might help as a starting point:
Omar, S., Lalonde, M., Marcotte, M., Cook, M., Proulx, J., Goel, K., Durst, T., Philogène, B. J. R. and Arnason, J. T. (2000), Insect growth-reducing and antifeedant activity in Eastern North America hardwood species and bioassay-guided isolation of active principles from Prunus serotina. Agricultural and Forest Entomology, 2: 253–257.
You might find you need to search first for 'chemicals in Prunus bark', then for each of these search to see if their effect on beetles is known (e.g. if the same chemical effect is known from other tree genera). Anyhow, good luck with your search..
You can take a look at these two links for getting information about chemical constituents of Prunus stem bark (however, I have no idea regarding their use against beetles):