Skip to content
Snippets Groups Projects
Commit b5b9a029 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "linux-ramdump-parser-v2: Print irq_desc structure address in IRQ logs"

parents 11dfd648 3f3816d8
No related branches found
No related tags found
No related merge requests found
......@@ -129,7 +129,7 @@ class IrqParse(RamParser):
cpu_str = cpu_str + '{0:10} '.format('CPU{0}'.format(i))
print_out_str(
'{0:4} {1} {2:30} {3:10}'.format('IRQ', cpu_str, 'Name', 'Chip'))
'{0:4} {1} {2:30} {3:15} {4:20}'.format('IRQ', cpu_str, 'Name', 'Chip', 'IRQ Structure'))
if nr_irqs > 50000:
return
......@@ -162,7 +162,7 @@ class IrqParse(RamParser):
name_addr = ram_dump.read_word(action + action_name_offset)
name = ram_dump.read_cstring(name_addr, 48)
print_out_str(
'{0:4} {1} {2:30} {3:10}'.format(irqnum, irq_stats_str, name, chip_name))
'{0:4} {1} {2:30} {3:15} v.v (struct irq_desc *)0x{4:<20x}'.format(irqnum, irq_stats_str, name, chip_name, irq_desc))
def parse(self):
irq_desc = self.ramdump.addr_lookup('irq_desc')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment