Commit | Line | Data |
---|---|---|
1 | /* Sample module for Linux Trace Toolkit new generation User Interface */ | |
2 | ||
3 | /* Created by Mathieu Desnoyers, may 2003 */ | |
4 | ||
5 | #ifdef HAVE_CONFIG_H | |
6 | #include <config.h> | |
7 | #endif | |
8 | ||
9 | #include <glib.h> | |
10 | #include <lttv/module.h> | |
11 | ||
12 | static void init() { | |
13 | g_critical("Sample module 2 init()"); | |
14 | } | |
15 | ||
16 | static void destroy() { | |
17 | g_critical("Sample module 2 destroy()"); | |
18 | } | |
19 | ||
20 | ||
21 | LTTV_MODULE("samplemodule2", "Medium...", "Long...", init, destroy, {}) | |
22 |