diff options
author | Sujith Pandel <[email protected]> | 2017-05-02 06:55:40 -0400 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2017-06-13 11:44:23 -0500 |
commit | 6c51c82c60991bdbfb937f3bf0cdbe68d042073d (patch) | |
tree | 346437b150663647f4708e400a5c5b4daf7953a4 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 2b2154f9391f3ca03b4f5ba599b2ee7a3a80f781 (diff) |
PCI: Add domain number check to find_smbios_instance_string()
The function find_smbios_instance_string() does not consider the
PCI domain number. As a result, SMBIOS type 41 device type instance
would be exported to sysfs for all the PCI domains which have a
PCI device with same bus/device/function, though PCI bus/device/func
from a specific PCI domain has SMBIOS type 41 device type instance
defined.
Address the issue by making find_smbios_instance_string() check PCI domain
number as well.
Reported-by: Shai Fultheim <[email protected]>
Suggested-by: Shai Fultheim <[email protected]>
Tested-by: Shai Fultheim <[email protected]>
Signed-off-by: Sujith Pandel <[email protected]>
Signed-off-by: Narendra K <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions