tests: skip the non-functioning tracepoint test
[lttng-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
9dec086e 21DECLARE_TRACE(ust_dummytp, TP_PROTO(int anint), TP_ARGS(anint));
d57c0d75
PMF
22DEFINE_TRACE(ust_dummytp);
23
3c6eae02
NC
24#define CREATE_TRACE_POINTS
25#include "libust-initializer.h"
26
d57c0d75
PMF
27void dummy_libust_initializer_func(void)
28{
29 trace_mark(ust, dummymark, MARK_NOARGS);
fbae86d6
MD
30 trace_ust_dummytp(0);
31 trace_ust_dummy_event(0);
d57c0d75
PMF
32}
33
25123621
JB
34MARKER_LIB;
35TRACEPOINT_LIB;
3c6eae02 36TRACE_EVENT_LIB;
This page took 0.024731 seconds and 4 git commands to generate.