blob: 1e9ca7789de105e0a0ddbaf2971ff7376e5aedba [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001// SPDX-License-Identifier: GPL-2.0
Shuah Khan7f6db172013-08-15 11:59:23 -06002/*
3 * iommu trace points
4 *
5 * Copyright (C) 2013 Shuah Khan <shuah.kh@samsung.com>
6 *
7 */
8
9#include <linux/string.h>
10#include <linux/types.h>
11
12#define CREATE_TRACE_POINTS
13#include <trace/events/iommu.h>
14
15/* iommu_group_event */
16EXPORT_TRACEPOINT_SYMBOL_GPL(add_device_to_group);
17EXPORT_TRACEPOINT_SYMBOL_GPL(remove_device_from_group);
18
19/* iommu_device_event */
20EXPORT_TRACEPOINT_SYMBOL_GPL(attach_device_to_domain);
21EXPORT_TRACEPOINT_SYMBOL_GPL(detach_device_from_domain);
22
23/* iommu_map_unmap */
24EXPORT_TRACEPOINT_SYMBOL_GPL(map);
25EXPORT_TRACEPOINT_SYMBOL_GPL(unmap);
Shuah Khan04fa2f72013-09-24 15:21:19 -060026
27/* iommu_error */
28EXPORT_TRACEPOINT_SYMBOL_GPL(io_page_fault);