summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu-traces.c
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2013-09-24 15:21:19 -0600
committerJoerg Roedel <joro@8bytes.org>2013-09-25 11:07:04 +0200
commit04fa2f7f837601903e5fe0f93bc2af8559d8c035 (patch)
treed401bc1773dfc345242ab258294c36596c51a70a /drivers/iommu/iommu-traces.c
parent3a50639ca4684476a69314811d89622d78c09448 (diff)
iommu: Add iommu_error class event to iommu trace
iommu_error class event can be enabled to trigger when an iommu error occurs. This trace event is intended to be called to report the error information. Trace information includes driver name, device name, iova, and flags. iommu_error:io_page_fault Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Joerg Roedel <joro@8bytes.org>
Diffstat (limited to 'drivers/iommu/iommu-traces.c')
-rw-r--r--drivers/iommu/iommu-traces.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/iommu-traces.c b/drivers/iommu/iommu-traces.c
index a2af60f31810..bf3b317ff0c1 100644
--- a/drivers/iommu/iommu-traces.c
+++ b/drivers/iommu/iommu-traces.c
@@ -22,3 +22,6 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(detach_device_from_domain);
/* iommu_map_unmap */
EXPORT_TRACEPOINT_SYMBOL_GPL(map);
EXPORT_TRACEPOINT_SYMBOL_GPL(unmap);
+
+/* iommu_error */
+EXPORT_TRACEPOINT_SYMBOL_GPL(io_page_fault);