X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttv%2Fmodules%2Fexamples%2Fsamplemodule.c;fp=lttv%2Fmodules%2Fexamples%2Fsamplemodule.c;h=6e676d5ce10991e5e1259b19661a60ef316822e2;hb=f61f4dca50e13aa52b1ca3941c8f420848f4353f;hp=0000000000000000000000000000000000000000;hpb=a219d12930979a81f43a3a3f5499b2bd00141a84;p=lttv.git diff --git a/lttv/modules/examples/samplemodule.c b/lttv/modules/examples/samplemodule.c new file mode 100644 index 00000000..6e676d5c --- /dev/null +++ b/lttv/modules/examples/samplemodule.c @@ -0,0 +1,22 @@ +/* Sample module for Linux Trace Toolkit new generation User Interface */ + +/* Created by Mathieu Desnoyers, may 2003 */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +#include +#include + +static void init() { + g_critical("Sample module init()"); +} + +static void destroy() { + g_critical("Sample module destroy()"); +} + + +LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {}) +