*
* 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 <stdio.h>
static gboolean
- a_field_names,
- a_state,
- a_cpu_stats,
- a_process_stats,
a_raw;
static char
static gboolean write_traceset_footer(void *hook_data, void *call_data)
{
- LttvTracesetContext *tc = (LttvTracesetContext *)call_data;
GQuark q;
const gchar *string;
static gboolean write_trace_footer(void *hook_data, void *call_data)
{
- LttvTraceContext *tc = (LttvTraceContext *)call_data;
if(a_raw) {
{
guint *event_count = (guint*)hook_data;
- LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
-
LttvTracefileContext *tfc = (LttvTracefileContext *)call_data;
LttvTracefileState *tfs = (LttvTracefileState *)call_data;
- LttEvent *e;
-
- LttvAttributeValue value_filter;
-
/* Only save at LTTV_STATE_SAVE_INTERVAL */
if(likely((*event_count)++ < LTTV_STATE_SAVE_INTERVAL))
return FALSE;
else
*event_count = 0;
- guint cpu = tfs->cpu;
LttvTraceState *ts = (LttvTraceState*)tfc->t_context;
- LttvProcessState *process = ts->running_process[cpu];
-
- e = ltt_tracefile_get_event(tfc->tf);
if(a_raw) {
lttv_state_write_raw(ts, tfs->parent.timestamp, a_file);