}
-G_MODULE_EXPORT void init(LttvModule *self, int argc, char **argv)
+static void init()
{
LttvAttributeValue value;
g_info("Init textDump.c");
- lttv_module_require(self, "libbatchAnalysis", argc, argv);
-
a_string = g_string_new("");
a_file_name = NULL;
}
-G_MODULE_EXPORT void destroy()
+static void destroy()
{
g_info("Destroy textDump");
}
+LTTV_MODULE("textDump", "Print events in a file", \
+ "Produce a detailed text printout of a trace", \
+ init, destroy, "stats", "batchAnalysis")
+
+