*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
- * MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
*/
/* The text dump facility needs to print headers before the trace set and
#include <lttv/stats.h>
#include <lttv/filter.h>
#endif
+#include <lttv/traceset.h>
#include <lttv/print.h>
-#include <ltt/ltt.h>
-#include <ltt/event.h>
-#include <ltt/trace.h>
#include <stdio.h>
#include <inttypes.h>
*before_trace,
*event_hook;
-
+#ifdef BABEL_CLEANUP
static void
print_path_tree(FILE *fp, GString *indent, LttvAttribute *tree)
{
}
}
}
+#endif
#ifdef BABEL_CLEANUP
static void
print_stats(FILE *fp, LttvTracesetStats *tscs)
static gboolean write_traceset_footer(void *hook_data, void *call_data)
{
+#ifdef BABEL_CLEAUP
LttvTraceset *traceset = (LttvTraceset *)call_data;
-
+#endif
g_info("TextDump traceset footer");
fprintf(a_file,"End trace set\n\n");
static int write_event_content(void *hook_data, void *call_data)
{
+#ifdef BABEL_CLEANUP
gboolean result;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
-
+#endif
LttvEvent *event = (LttvEvent *)call_data;
#ifdef BABEL_CLEANUP
LttvTracefileContext *tfc = (LttvTracefileContext *)call_data;
#endif
/* TODO 2012-03-12 Add state info */
- lttv_event_to_string(event, a_string, !a_no_field_names);
+ lttv_event_to_string(event, a_string, !a_no_field_names, TRUE);
#ifdef BABEL_CLEANUP
if(a_state) {