From: compudj Date: Fri, 30 May 2003 18:18:03 +0000 (+0000) Subject: change name X-Git-Tag: v0.12.20~3436 X-Git-Url: http://git.lttng.org./?a=commitdiff_plain;h=d2df698602d17b612748e44a6feb129951c7da8e;p=lttv.git change name git-svn-id: http://ltt.polymtl.ca/svn@53 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/plugins/examples/Makefile.am b/ltt/branches/poly/lttv/plugins/examples/Makefile.am new file mode 100644 index 00000000..77f933df --- /dev/null +++ b/ltt/branches/poly/lttv/plugins/examples/Makefile.am @@ -0,0 +1,15 @@ +# +# Makefile for LTT New generation user interface : test plugins. +# +# Created by Mathieu Desnoyers on May 6, 2003 +# + +libdir = ${lttvplugindir} + +lib_LTLIBRARIES = sampledep.la samplemodule.la samplemodule2.la +sampledep_la_LDFLAGS = -module +sampledep_la_SOURCES = sampledep.c +samplemodule_la_LDFLAGS = -module +samplemodule_la_SOURCES = samplemodule.c +samplemodule2_la_LDFLAGS = -module +samplemodule2_la_SOURCES = samplemodule2.c diff --git a/ltt/branches/poly/lttv/plugins/examples/sampledep.c b/ltt/branches/poly/lttv/plugins/examples/sampledep.c new file mode 100644 index 00000000..805c5283 --- /dev/null +++ b/ltt/branches/poly/lttv/plugins/examples/sampledep.c @@ -0,0 +1,21 @@ +/* Sample module for Linux Trace Toolkit new generation User Interface */ + +/* Created by Mathieu Desnoyers, may 2003 */ + +#include +#include + +/* Include module.h from lttv headers for module loading */ +#include + +G_MODULE_EXPORT void init() { + g_critical("Sample module dependant init()"); + + lttv_module_load("samplemodule",0,NULL,DEPENDANT); +} + +G_MODULE_EXPORT void destroy() { + g_critical("Sample module dependant destroy()"); + lttv_module_unload_name("samplemodule",DEPENDANT); +} + diff --git a/ltt/branches/poly/lttv/plugins/examples/samplemodule.c b/ltt/branches/poly/lttv/plugins/examples/samplemodule.c new file mode 100644 index 00000000..e64ab2f4 --- /dev/null +++ b/ltt/branches/poly/lttv/plugins/examples/samplemodule.c @@ -0,0 +1,15 @@ +/* Sample module for Linux Trace Toolkit new generation User Interface */ + +/* Created by Mathieu Desnoyers, may 2003 */ + +#include +#include + +G_MODULE_EXPORT void init() { + g_critical("Sample module init()"); +} + +G_MODULE_EXPORT void destroy() { + g_critical("Sample module destroy()"); +} + diff --git a/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c b/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c new file mode 100644 index 00000000..3d7bb1c0 --- /dev/null +++ b/ltt/branches/poly/lttv/plugins/examples/samplemodule2.c @@ -0,0 +1,15 @@ +/* Sample module for Linux Trace Toolkit new generation User Interface */ + +/* Created by Mathieu Desnoyers, may 2003 */ + +#include +#include + +G_MODULE_EXPORT void init() { + g_critical("Sample module 2 init()"); +} + +G_MODULE_EXPORT void destroy() { + g_critical("Sample module 2 destroy()"); +} + diff --git a/ltt/branches/poly/lttv/plugins/samples/Makefile.am b/ltt/branches/poly/lttv/plugins/samples/Makefile.am deleted file mode 100644 index 77f933df..00000000 --- a/ltt/branches/poly/lttv/plugins/samples/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -# -# Makefile for LTT New generation user interface : test plugins. -# -# Created by Mathieu Desnoyers on May 6, 2003 -# - -libdir = ${lttvplugindir} - -lib_LTLIBRARIES = sampledep.la samplemodule.la samplemodule2.la -sampledep_la_LDFLAGS = -module -sampledep_la_SOURCES = sampledep.c -samplemodule_la_LDFLAGS = -module -samplemodule_la_SOURCES = samplemodule.c -samplemodule2_la_LDFLAGS = -module -samplemodule2_la_SOURCES = samplemodule2.c diff --git a/ltt/branches/poly/lttv/plugins/samples/sampledep.c b/ltt/branches/poly/lttv/plugins/samples/sampledep.c deleted file mode 100644 index 805c5283..00000000 --- a/ltt/branches/poly/lttv/plugins/samples/sampledep.c +++ /dev/null @@ -1,21 +0,0 @@ -/* Sample module for Linux Trace Toolkit new generation User Interface */ - -/* Created by Mathieu Desnoyers, may 2003 */ - -#include -#include - -/* Include module.h from lttv headers for module loading */ -#include - -G_MODULE_EXPORT void init() { - g_critical("Sample module dependant init()"); - - lttv_module_load("samplemodule",0,NULL,DEPENDANT); -} - -G_MODULE_EXPORT void destroy() { - g_critical("Sample module dependant destroy()"); - lttv_module_unload_name("samplemodule",DEPENDANT); -} - diff --git a/ltt/branches/poly/lttv/plugins/samples/samplemodule.c b/ltt/branches/poly/lttv/plugins/samples/samplemodule.c deleted file mode 100644 index e64ab2f4..00000000 --- a/ltt/branches/poly/lttv/plugins/samples/samplemodule.c +++ /dev/null @@ -1,15 +0,0 @@ -/* Sample module for Linux Trace Toolkit new generation User Interface */ - -/* Created by Mathieu Desnoyers, may 2003 */ - -#include -#include - -G_MODULE_EXPORT void init() { - g_critical("Sample module init()"); -} - -G_MODULE_EXPORT void destroy() { - g_critical("Sample module destroy()"); -} - diff --git a/ltt/branches/poly/lttv/plugins/samples/samplemodule2.c b/ltt/branches/poly/lttv/plugins/samples/samplemodule2.c deleted file mode 100644 index 3d7bb1c0..00000000 --- a/ltt/branches/poly/lttv/plugins/samples/samplemodule2.c +++ /dev/null @@ -1,15 +0,0 @@ -/* Sample module for Linux Trace Toolkit new generation User Interface */ - -/* Created by Mathieu Desnoyers, may 2003 */ - -#include -#include - -G_MODULE_EXPORT void init() { - g_critical("Sample module 2 init()"); -} - -G_MODULE_EXPORT void destroy() { - g_critical("Sample module 2 destroy()"); -} -