projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
module guiEvents: read real data from traceset
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
batchAnalysis.c
diff --git
a/ltt/branches/poly/lttv/batchAnalysis.c
b/ltt/branches/poly/lttv/batchAnalysis.c
index 72a642c4d5c0803e134c9829dcfedae1f0600cb1..0f169c717603ecadad8152e67381910230b14f0c 100644
(file)
--- a/
ltt/branches/poly/lttv/batchAnalysis.c
+++ b/
ltt/branches/poly/lttv/batchAnalysis.c
@@
-66,7
+66,7
@@
static gboolean process_traceset(void *hook_data, void *call_data)
}
}
-void init(LttvModule *self, int argc, char **argv)
+
G_MODULE_EXPORT
void init(LttvModule *self, int argc, char **argv)
{
LttvAttributeValue value;
{
LttvAttributeValue value;
@@
-120,12
+120,10
@@
void init(LttvModule *self, int argc, char **argv)
}
}
-void destroy()
+
G_MODULE_EXPORT
void destroy()
{
guint i, nb;
{
guint i, nb;
- lttv_hooks_remove_data(main_hooks, process_traceset, NULL);
-
lttv_option_remove("trace");
lttv_hooks_destroy(before_traceset);
lttv_option_remove("trace");
lttv_hooks_destroy(before_traceset);
@@
-136,10
+134,13
@@
void destroy()
lttv_hooks_destroy(after_tracefile);
lttv_hooks_destroy(before_event);
lttv_hooks_destroy(after_event);
lttv_hooks_destroy(after_tracefile);
lttv_hooks_destroy(before_event);
lttv_hooks_destroy(after_event);
+ lttv_hooks_remove_data(main_hooks, process_traceset, NULL);
nb = lttv_traceset_number(traceset);
for(i = 0 ; i < nb ; i++) {
ltt_trace_close(lttv_traceset_get(traceset, i));
}
nb = lttv_traceset_number(traceset);
for(i = 0 ; i < nb ; i++) {
ltt_trace_close(lttv_traceset_get(traceset, i));
}
+
+ lttv_traceset_destroy(traceset);
}
}
This page took
0.022982 seconds
and
4
git commands to generate.