summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/modules.py
diff options
context:
space:
mode:
authorLongfang Liu <liulongfang@huawei.com>2024-11-12 10:33:20 +0300
committerAlex Williamson <alex.williamson@redhat.com>2024-11-13 00:23:10 +0300
commit19629206894f1265d9148be475d8665c58596ab3 (patch)
tree9dd3b186571d8c7512c5837ca725264c54a4a95b /scripts/gdb/linux/modules.py
parentece8a2c77b881a379d24fee4656195d809161867 (diff)
downloadlinux-19629206894f1265d9148be475d8665c58596ab3.tar.xz
hisi_acc_vfio_pci: create subfunction for data reading
This patch generates the code for the operation of reading data from the device into a sub-function. Then, it can be called during the device status data saving phase of the live migration process and the device status data reading function in debugfs. Thereby reducing the redundant code of the driver. Signed-off-by: Longfang Liu <liulongfang@huawei.com> Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com> Link: https://lore.kernel.org/r/20241112073322.54550-3-liulongfang@huawei.com Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions