switch from kcompat lists to urcu lists
[ust.git] / libust-initializer.c
1 /*
2 * Copyright (C) 2009 Novell Inc.
3 *
4 * Author: Jan Blunck <jblunck@suse.de>
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU Lesser General Public License version 2.1 as
8 * published by the Free Software Foundation.
9 */
10
11 #include <ust/marker.h>
12 #include <ust/tracepoint.h>
13
14 /* FIXME: We have to define at least one trace_mark and
15 * one tracepoint here. If we don't, the __start... and
16 * __stop... symbols won't be defined and the constructors
17 * won't be compilable. We should find a linker trick to
18 * avoid this.
19 */
20
21 DECLARE_TRACE(ust_dummytp, TPPROTO(void), TPARGS());
22 DEFINE_TRACE(ust_dummytp);
23
24 void dummy_libust_initializer_func(void)
25 {
26 trace_mark(ust, dummymark, MARK_NOARGS);
27 trace_ust_dummytp();
28 }
29
30 MARKER_LIB;
31 TRACEPOINT_LIB;
This page took 0.034305 seconds and 4 git commands to generate.