don't install libustcomm and libustsnprintf
[ust.git] / libust-initializer.c
CommitLineData
25123621
JB
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
d57c0d75
PMF
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
12e81b07 21DECLARE_TRACE(ust_dummytp, TP_PROTO(void), TP_ARGS());
d57c0d75
PMF
22DEFINE_TRACE(ust_dummytp);
23
24void dummy_libust_initializer_func(void)
25{
26 trace_mark(ust, dummymark, MARK_NOARGS);
27 trace_ust_dummytp();
28}
29
25123621
JB
30MARKER_LIB;
31TRACEPOINT_LIB;
This page took 0.027245 seconds and 4 git commands to generate.