aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2021-04-06 16:40:38 -0300
committerAlex Williamson <[email protected]>2021-04-12 10:35:38 -0600
commit07e543f4f9d116d6b4240644191dee6388ef4a85 (patch)
treeb8ab3fe3686c952a55c06d87037deb488bf9e372 /tools/perf/util/trace-event-scripting.c
parent3d3a360e5706169a60fd4f26a9cec7da196a41c9 (diff)
vfio/gvt: Make DRM_I915_GVT depend on VFIO_MDEV
At some point there may have been some reason for this weird split in this driver, but today only the VFIO side is actually implemented. However, it got messed up at some point and mdev code was put in gvt.c and is pretending to be "generic" by masquerading as some generic attribute list: static MDEV_TYPE_ATTR_RO(description); But MDEV_TYPE attributes are only usable with mdev_device, nothing else. Ideally all of this would be moved to kvmgt.c, but it is entangled with the rest of the "generic" code in an odd way. Thus put in a kconfig dependency so we don't get randconfig failures when the next patch creates a link time dependency related to the use of MDEV_TYPE. Reviewed-by: Kevin Tian <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Message-Id: <[email protected]> Acked-by: Zhenyu Wang <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions