Shuah Khan | 7f6db17 | 2013-08-15 11:59:23 -0600 | [diff] [blame] | 1 | /* |
| 2 | * iommu trace points |
| 3 | * |
| 4 | * Copyright (C) 2013 Shuah Khan <shuah.kh@samsung.com> |
| 5 | * |
| 6 | */ |
| 7 | |
| 8 | #include <linux/string.h> |
| 9 | #include <linux/types.h> |
| 10 | |
| 11 | #define CREATE_TRACE_POINTS |
| 12 | #include <trace/events/iommu.h> |
| 13 | |
| 14 | /* iommu_group_event */ |
| 15 | EXPORT_TRACEPOINT_SYMBOL_GPL(add_device_to_group); |
| 16 | EXPORT_TRACEPOINT_SYMBOL_GPL(remove_device_from_group); |
| 17 | |
| 18 | /* iommu_device_event */ |
| 19 | EXPORT_TRACEPOINT_SYMBOL_GPL(attach_device_to_domain); |
| 20 | EXPORT_TRACEPOINT_SYMBOL_GPL(detach_device_from_domain); |
| 21 | |
| 22 | /* iommu_map_unmap */ |
| 23 | EXPORT_TRACEPOINT_SYMBOL_GPL(map); |
| 24 | EXPORT_TRACEPOINT_SYMBOL_GPL(unmap); |
Shuah Khan | 04fa2f7 | 2013-09-24 15:21:19 -0600 | [diff] [blame] | 25 | |
| 26 | /* iommu_error */ |
| 27 | EXPORT_TRACEPOINT_SYMBOL_GPL(io_page_fault); |