LTTV_STATS_MODE_TYPES,
LTTV_STATS_MODES,
LTTV_STATS_SUBMODES,
+ LTTV_STATS_FUNCTIONS,
LTTV_STATS_EVENT_TYPES,
LTTV_STATS_CPU_TIME,
LTTV_STATS_ELAPSED_TIME,
static void update_event_tree(LttvTracefileStats *tfcs)
{
LttvTraceState *ts = (LttvTraceState *)tfcs->parent.parent.t_context;
- guint cpu = ltt_tracefile_num(tfcs->parent.parent.tf);
+ guint cpu = tfcs->parent.cpu;
LttvProcessState *process = ts->running_process[cpu];
LttvExecutionState *es = process->state;
static void mode_change(LttvTracefileStats *tfcs)
{
LttvTraceState *ts = (LttvTraceState *)tfcs->parent.parent.t_context;
- guint cpu = ltt_tracefile_num(tfcs->parent.parent.tf);
+ guint cpu = tfcs->parent.cpu;
LttvProcessState *process = ts->running_process[cpu];
LttvAttributeValue cpu_time;
static void mode_end(LttvTracefileStats *tfcs)
{
LttvTraceState *ts = (LttvTraceState *)tfcs->parent.parent.t_context;
- guint cpu = ltt_tracefile_num(tfcs->parent.parent.tf);
+ guint cpu = tfcs->parent.cpu;
LttvProcessState *process = ts->running_process[cpu];
LttvAttributeValue elapsed_time, cpu_time;
LTTV_STATS_MODE_TYPES = g_quark_from_string("mode_types");
LTTV_STATS_MODES = g_quark_from_string("modes");
LTTV_STATS_SUBMODES = g_quark_from_string("submodes");
+ LTTV_STATS_SUBMODES = g_quark_from_string("functions");
LTTV_STATS_EVENT_TYPES = g_quark_from_string("event_types");
LTTV_STATS_CPU_TIME = g_quark_from_string("cpu time");
LTTV_STATS_ELAPSED_TIME = g_quark_from_string("elapsed time");