move lttv to root
[lttv.git] / lttv / modules / examples / samplemodule.c
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 init()");
14 }
15
16 static void destroy() {
17 g_critical("Sample module destroy()");
18 }
19
20
21 LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {})
22
This page took 0.03263 seconds and 5 git commands to generate.