18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * iommu trace points
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Copyright (C) 2013 Shuah Khan <shuah.kh@samsung.com>
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci */
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci#include <linux/string.h>
108c2ecf20Sopenharmony_ci#include <linux/types.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#define CREATE_TRACE_POINTS
138c2ecf20Sopenharmony_ci#include <trace/events/iommu.h>
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci/* iommu_group_event */
168c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(add_device_to_group);
178c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(remove_device_from_group);
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci/* iommu_device_event */
208c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(attach_device_to_domain);
218c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(detach_device_from_domain);
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci/* iommu_map_unmap */
248c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(map);
258c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(unmap);
268c2ecf20Sopenharmony_ci
278c2ecf20Sopenharmony_ci/* iommu_error */
288c2ecf20Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(io_page_fault);
29