From 65c2c8a03c3bd4e9faba542162620a50141e873b Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 30 Mar 2006 00:16:42 +0000 Subject: [PATCH] mode types git-svn-id: http://ltt.polymtl.ca/svn@1737 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 +- ltt/branches/poly/lttv/lttv/stats.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index b25407a5..adf517ca 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -23,7 +23,7 @@ AC_PREREQ(2.57) AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS) #AC_WITH_LTDL # not needed ? -AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.34-17032006) +AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.35-29032006) AM_CONFIG_HEADER(config.h) AM_PROG_LIBTOOL diff --git a/ltt/branches/poly/lttv/lttv/stats.c b/ltt/branches/poly/lttv/lttv/stats.c index 36b4b383..2dbf4a51 100644 --- a/ltt/branches/poly/lttv/lttv/stats.c +++ b/ltt/branches/poly/lttv/lttv/stats.c @@ -806,16 +806,16 @@ lttv_stats_sum_trace(LttvTraceStats *self, LttvAttribute *ts_stats) } } if(!trace_is_summed) { - lttv_attribute_recursive_add(main_tree, mode_types_tree); - lttv_attribute_recursive_add(trace_cpu_tree, mode_types_tree); - lttv_attribute_recursive_add(process_tree, mode_types_tree); lttv_attribute_recursive_add(function_tree, mode_types_tree); } - lttv_attribute_recursive_add(ts_stats, mode_types_tree); } - } - if(!trace_is_summed) { - lttv_attribute_recursive_add(process_tree, cpu_tree); + if(!trace_is_summed) { + lttv_attribute_recursive_add(cpu_tree, function_tree); + lttv_attribute_recursive_add(process_tree, function_tree); + lttv_attribute_recursive_add(trace_cpu_tree, function_tree); + lttv_attribute_recursive_add(main_tree, function_tree); + } + lttv_attribute_recursive_add(ts_stats, function_tree); } } } -- 2.34.1