1 /* This file is part of the Linux Trace Toolkit viewer
2 * Copyright (C) 2003-2004 Michel Dagenais
3 * 2005 Mathieu Desnoyers
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License Version 2 as
7 * published by the Free Software Foundation;
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston,
22 * Event printing routines header.
24 * Use these functions to print textually event fields.
27 #include <lttv/event.h>
29 void lttv_print_field(LttEvent
*e
, struct marker_field
*f
, GString
*s
,
30 gboolean field_names
, LttvTracefileState
*tfs
);
32 void lttv_event_to_string(LttEvent
*e
, GString
*s
, gboolean mandatory_fields
,
33 gboolean field_names
, LttvTracefileState
*tfs
);
35 void lttv_event_to_string(LttvEvent
*event
,
38 gboolean long_version
);
39 void lttv_event_get_name(LttvEvent
*event
,GString
*a_string
);