<font size=2 face="sans-serif">Hi,</font>
<br>
<br><font size=2 face="sans-serif">Consider the following situation:</font>
<br>
<br><font size=2 face="sans-serif">I wrote a header (lttng_tp_hdr.h) containing
several tracepoints, matching some locations I want to instrument in one
of my source files (let's call it source.c). I created a C file for this
header (lttng_tp_src.c) and compiled it into object. I then compiled source.c
into source.o and I link the two objects together.</font>
<br>
<br><font size=2 face="sans-serif">This is the standard work mode.</font>
<br>
<br><font size=2 face="sans-serif">Now I want to automate this procedure,
which will cause me to generate new C files, and new headers for many of
my sources.</font>
<br>
<br><font size=2 face="sans-serif">How can I rewrite my source.c so it
contains everything I need?</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 color=#000080 face="sans-serif">Amit Margalit</font>
<br><font size=2 color=#808000 face="sans-serif">IBM XIV </font><font size=2 face="sans-serif">-
<i>Storage Reinvented</i></font>
<br><font size=2 face="sans-serif">XIV-NAS Development Team</font>
<br><font size=2 face="sans-serif">Tel. 03</font><font size=2 face="Arial">-689-7774</font>
<br><font size=2 face="Arial">Fax. 03-689-7230</font>