summaryrefslogtreecommitdiff
path: root/include/uapi/linux/ppdev.h
diff options
context:
space:
mode:
authorShuah Khan <shuahkh@osg.samsung.com>2015-01-16 20:53:17 -0700
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:14:45 -0700
commitb5adea36a6c97070a89d9bd4c9bc1d34d015c000 (patch)
tree727c2a6843d9cd232a3c96d6e91f94ef8400dfdd /include/uapi/linux/ppdev.h
parent6972ed089951a2af24d8563105c6a32f9e3c1e83 (diff)
iommu: Change trace unmap api to report unmapped size
Currently map and unmap are implemented as events under a common trace class declaration. The common class forces trace_unmap() to require a bogus physical address argument that it doesn't use. Changing unmap to report unmapped size will provide useful information for debugging. Remove common map_unmap trace class and change map and unmap into separate events as opposed to events under the same class to allow for differences in the reporting information. In addition, map and unmap are changed to handle size value as size_t instead of int to match the passed size value and avoid overflow. Change-Id: Ic231e28c2784fbfe41a6749175cc390920165e81 Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com> Suggested-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Joerg Roedel <jroedel@suse.de> [pdaly@codeaurora.org Keep map_unmap class]
Diffstat (limited to 'include/uapi/linux/ppdev.h')
0 files changed, 0 insertions, 0 deletions