~ubuntu-branches/ubuntu/wily/ust/wily-proposed

« back to all changes in this revision

Viewing changes to tests/tracepoint/benchmark/tracepoint_benchmark.h

  • Committer: Package Import Robot
  • Author(s): Jon Bernard
  • Date: 2012-06-29 16:47:49 UTC
  • mto: (11.2.1 sid) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20120629164749-mcca8f7w9ovcktj2
Tags: upstream-2.0.4
ImportĀ upstreamĀ versionĀ 2.0.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#undef TRACE_SYSTEM
2
 
#define TRACE_SYSTEM tracepoint_benchmark
3
 
 
4
 
#if !defined(_TRACE_TRACEPOINT_BENCHMARK_H) || defined(TRACE_HEADER_MULTI_READ)
5
 
#define _TRACE_TRACEPOINT_BENCHMARK_H
6
 
 
7
 
/*
8
 
 * Copyright (C) 2011  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
9
 
 *
10
 
 * This library is free software; you can redistribute it and/or
11
 
 * modify it under the terms of the GNU Lesser General Public
12
 
 * License as published by the Free Software Foundation; either
13
 
 * version 2.1 of the License, or (at your option) any later version.
14
 
 *
15
 
 * This library is distributed in the hope that it will be useful,
16
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18
 
 * Lesser General Public License for more details.
19
 
 *
20
 
 * You should have received a copy of the GNU Lesser General Public
21
 
 * License along with this library; if not, write to the Free Software
22
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
23
 
 */
24
 
 
25
 
#include <ust/tracepoint.h>
26
 
 
27
 
TRACEPOINT_EVENT(ust_event,
28
 
                 TP_PROTO(unsigned int v),
29
 
                 TP_ARGS(v),
30
 
                 TP_FIELDS());
31
 
 
32
 
#endif /* _TRACE_TRACEPOINT_BENCHMARK_H */
33
 
 
34
 
#undef TRACE_INCLUDE_PATH
35
 
#define TRACE_INCLUDE_PATH .
36
 
#undef TRACE_INCLUDE_FILE
37
 
#define TRACE_INCLUDE_FILE tracepoint_benchmark
38
 
 
39
 
/* This part must be outside protection */
40
 
#include <ust/tracepoint_event.h>