projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update FSF address
[lttv.git]
/
lttv
/
modules
/
text
/
batchAnalysis.c
diff --git
a/lttv/modules/text/batchAnalysis.c
b/lttv/modules/text/batchAnalysis.c
index c830509cce01ebb777469f180b5f17375e8db3c8..0fbde4d2a9fd34df8188fef17c761647089ee586 100644
(file)
--- a/
lttv/modules/text/batchAnalysis.c
+++ b/
lttv/modules/text/batchAnalysis.c
@@
-12,8
+12,8
@@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
*
* 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., 5
9 Temple Place - Suite 330
, Boston,
- * MA 0211
1-1307
, USA.
+ * Foundation, Inc., 5
1 Franklin Street, Fifth Floor
, Boston,
+ * MA 0211
0-1301
, USA.
*/
/* This module inserts a hook in the program main loop. This hook processes
*/
/* This module inserts a hook in the program main loop. This hook processes
@@
-36,7
+36,6
@@
#include <lttv/stats.h>
#include <lttv/filter.h>
#endif
#include <lttv/stats.h>
#include <lttv/filter.h>
#endif
-#include <ltt/trace.h>
#ifdef BABEL_CLEANUP_SYNC
#include <lttv/sync/sync_chain_lttv.h>
#endif
#ifdef BABEL_CLEANUP_SYNC
#include <lttv/sync/sync_chain_lttv.h>
#endif
@@
-78,26
+77,28
@@
void lttv_trace_option(void *hook_data)
lttv_traceset_add(traceset, lttv_trace_new(trace));*/
if(lttv_traceset_add_path(traceset, trace_path) < 0) {
lttv_traceset_add(traceset, lttv_trace_new(trace));*/
if(lttv_traceset_add_path(traceset, trace_path) < 0) {
-
printf
("Cannot add trace %s", trace_path);
+
g_error
("Cannot add trace %s", trace_path);
}
}
static gboolean process_traceset(void *hook_data, void *call_data)
{
}
}
static gboolean process_traceset(void *hook_data, void *call_data)
{
+#ifdef BABEL_CLEANUP
LttvAttributeValue value_expression, value_filter;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
LttvAttributeValue value_expression, value_filter;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
-#ifdef BABEL_CLEANUP
LttvTracesetStats *tscs = NULL;
LttvTracesetState *tss;
LttvTracesetContext *tc;
LttvTracesetStats *tscs = NULL;
LttvTracesetState *tss;
LttvTracesetContext *tc;
+
+ gboolean retval;
#endif
LttTime start, end;
#endif
LttTime start, end;
- gboolean retval;
+
g_info("BatchAnalysis begin process traceset");
#ifdef BABEL_CLEANUP
g_info("BatchAnalysis begin process traceset");
#ifdef BABEL_CLEANUP
@@
-160,7
+161,9
@@
static gboolean process_traceset(void *hook_data, void *call_data)
lttv_process_traceset_seek_time(traceset, start);
/* Read as long a we do not reach the end (0) */
unsigned int count;
lttv_process_traceset_seek_time(traceset, start);
/* Read as long a we do not reach the end (0) */
unsigned int count;
+#ifdef BABEL_CLEANUP
unsigned int updated_count;
unsigned int updated_count;
+#endif
do {
count = lttv_process_traceset_middle(traceset,
end,
do {
count = lttv_process_traceset_middle(traceset,
end,
This page took
0.025306 seconds
and
4
git commands to generate.