aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-18 18:56:24 +0200
committerBjorn Helgaas <bhelgaas@google.com>2018-05-25 17:28:02 -0500
commit6f5cdfa802733dcb561bf664cc89d203f2fd958f (patch)
treebd0ece32aabf1720cfccbf8197166dd8950c5bf1 /tools/perf/scripts/python/intel-pt-events.py
parent17e8f0d4cee2bf50c2764bb4318284ce16152c5f (diff)
PCI: Prevent sysfs disable of device while driver is attached
Manipulating the enable_cnt behind the back of the driver will wreak complete havoc with the kernel state, so disallow it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de> Acked-by: Keith Busch <keith.busch@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions