Hi Brandon, On Wed, 23 Jan 2013, Brandon Lucia wrote: > I have implemented a GCC plugin that I have found useful for doing > dynamic program analysis, debugging, and performance tuning in > concurrent code. > > The plugin is called CTraps, short for Communication Traps. The main > idea behind CTraps is that a compiler pass implemented as a GCC plugin > instruments instructions that access memory locations that might be > shared between threads. The instrumentation inserts a function call > before such accesses.
I added this to our extensions page at https://gcc.gnu.org/extensions.html per the patch below. If you have further updates or changes, just advise. Gerald PS: The README file on github felt a bit confusing/not as clear as your e-mail here. Index: extensions.html =================================================================== RCS file: /cvs/gcc/wwwdocs/htdocs/extensions.html,v retrieving revision 1.54 diff -u -r1.54 extensions.html --- extensions.html 20 Apr 2015 22:52:58 -0000 1.54 +++ extensions.html 21 Apr 2015 10:10:38 -0000 @@ -12,6 +12,14 @@ tree. Please direct feedback and bug reports to their respective maintainers, not our mailing lists.</p> +<h2><a href="https://github.com/blucia0a/CTraps-gcc">CTraps plugin for GCC</a></h2> + +<p>CTraps, short for Communication Traps, adds a compiler pass as +a plugin that instruments instructions that access memory locations +that might be shared between threads. It supports dynamic program +analysis, debugging, and performance tuning in concurrent code.</p> + + <h2><a href="http://gcc-melt.org">GCC MELT</a></h2> <p>MELT is a high-level <em>domain specific language</em> to ease the