aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2023-04-03 14:40:39 +0300
committerMichael S. Tsirkin <[email protected]>2023-04-04 11:08:30 -0400
commitf0417e72add5aed5997092b6eb76298290d866c9 (patch)
tree2b01108cc20cff2b0c4b9338f30a8b973135608a /tools/perf/scripts/python/exported-sql-viewer.py
parent9513c55ce3e8f0f118c47423452c4a4bdaa80222 (diff)
vdpa/mlx5: Add and remove debugfs in setup/teardown driver
The right place to add the debugfs create is in setup_driver() and remove it in teardown_driver(). Current code adds the debugfs when creating the device but resetting a device will remove the debugfs subtree and subsequent set_driver will not be able to create the files since the debugfs pointer is NULL. Fixes: 294221004322 ("vdpa/mlx5: Add debugfs subtree") Signed-off-by: Eli Cohen <[email protected]> v3 -> v4: Fix error flow in setup_driver() Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Acked-by: Jason Wang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions