On Tue, 30 Mar 2021, SAIFI wrote:

On Mon, 29 Mar 2021, Gabriele Serra wrote:


 I have written a very basic article on GCC Plugins (how to build a plugin
 from the ground, some info on APIs, and how to instrument code). The
 material is based on GCC 9. The code is fully documented and working.

 
https://gabrieleserra.ml/blog/2020-08-27-an-introduction-to-gcc-and-gccs-plugins.html


Gabriele thanks for sharing the detailed write up.

in the spirit of 'gcc-help', can you please share pointers as to how one can profile C++ code using GCC plugins ?


Gabriele please see Stephen Friedl's blog posts on GCC plugins
https://stephanfr.com/category/gcc/

and git repo
https://github.com/stephanfr/GCCPlugin

Have you had a chance to see these posts during your literature survey ? Any 
thoughts ?


warm regards
Saifi.

Reply via email to