OSDN Git Service

lockdep: Refactor IRQ trace events fields into struct
authorMarco Elver <elver@google.com>
Wed, 29 Jul 2020 11:09:15 +0000 (13:09 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 31 Jul 2020 10:11:58 +0000 (12:11 +0200)
commit0584df9c12f449124d0bfef9899e5365604ee7a9
treeb3fb4d938074e968bdbcc49f96a7fcb2353fdac1
parent859247d39fb008ea812e8f0c398a58a20c12899e
lockdep: Refactor IRQ trace events fields into struct

Refactor the IRQ trace events fields, used for printing information
about the IRQ trace events, into a separate struct 'irqtrace_events'.

This improves readability by separating the information only used in
reporting, as well as enables (simplified) storing/restoring of
irqtrace_events snapshots.

No functional change intended.

Signed-off-by: Marco Elver <elver@google.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20200729110916.3920464-1-elver@google.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/irqflags.h
include/linux/sched.h
kernel/fork.c
kernel/locking/lockdep.c