Re: GCC Plugin introduction

2021-04-01 Thread SAIFI
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.

GCC Plugin introduction

2021-03-30 Thread Gabriele Serra
Hi, Saifi On Tue, 30 Mar 2021, SAIFI wrote: 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 ? in your example you mention 'f1 ()'; i'd like to replace that with a instance of c

Re: GCC Plugin introduction

2021-03-30 Thread SAIFI
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-

GCC Plugin introduction

2021-03-29 Thread Gabriele Serra
Hi, 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. Would be a great pleasure to be listed on the GCC plugins page. I'm sure th