summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKarolina Stolarek <karolina.stolarek@oracle.com>2025-05-22 18:21:18 -0500
committerBjorn Helgaas <bhelgaas@google.com>2025-05-23 11:01:52 -0500
commitc8f6791e33a7757025285db26f3b382cdcb7f7cd (patch)
tree4eab29a41803b804992f40097d6e28377205b549 /tools/perf/scripts/python/exported-sql-viewer.py
parent6bb4befbd65fa7f99688fb707e376637e5acfe36 (diff)
PCI/AER: Check log level once and remember it
When reporting an AER error, we check its type multiple times to determine the log level for each message. Do this check only in the top-level functions (aer_isr_one_error(), pci_print_aer()) and save the level in struct aer_err_info. [bhelgaas: save log level in struct aer_err_info instead of passing it as a parameter] Signed-off-by: Karolina Stolarek <karolina.stolarek@oracle.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://patch.msgid.link/20250522232339.1525671-13-helgaas@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions