iommu/vt-d: Add trace events for device dma map/unmap
authorLu Baolu <baolu.lu@linux.intel.com>
Fri, 6 Sep 2019 06:14:51 +0000 (14:14 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 11 Sep 2019 10:34:30 +0000 (12:34 +0200)
commit3b53034c268d550d9e8522e613a14ab53b8840d8
treea911b80bfe356337d238226ee5641723d60ff567
parentc5a5dc4cbbf4540c1891cdb2b70cf469405ea61f
iommu/vt-d: Add trace events for device dma map/unmap

This adds trace support for the Intel IOMMU driver. It
also declares some events which could be used to trace
the events when an IOVA is being mapped or unmapped in
a domain.

Cc: Ashok Raj <ashok.raj@intel.com>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Cc: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Makefile
drivers/iommu/intel-iommu.c
drivers/iommu/intel-trace.c [new file with mode: 0644]
include/trace/events/intel_iommu.h [new file with mode: 0644]