blob: 86bde96909b0187af9684523404865925aa618ba [file] [log] [blame]
Zhi Wang3f728232015-09-17 07:26:44 +08001/*
2 * Copyright © 2011-2016 Intel Corporation
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 * IN THE SOFTWARE.
22 *
23 * Authors:
24 * Jike Song <jike.song@intel.com>
25 *
26 * Contributors:
27 * Zhi Wang <zhi.a.wang@intel.com>
28 *
29 */
30
31#if !defined(_GVT_TRACE_H_) || defined(TRACE_HEADER_MULTI_READ)
32#define _GVT_TRACE_H_
33
34#include <linux/types.h>
35#include <linux/stringify.h>
36#include <linux/tracepoint.h>
37#include <asm/tsc.h>
38
39#undef TRACE_SYSTEM
40#define TRACE_SYSTEM gvt
41
42#endif /* _GVT_TRACE_H_ */
43
44/* This part must be out of protection */
45#undef TRACE_INCLUDE_PATH
46#define TRACE_INCLUDE_PATH .
47#undef TRACE_INCLUDE_FILE
48#define TRACE_INCLUDE_FILE trace
49#include <trace/define_trace.h>