diff options
| author | Jan Kiszka <[email protected]> | 2015-02-17 21:46:38 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-17 22:34:53 +0000 |
| commit | 2b514827ef06fd69e1739e7f367712619dee7784 (patch) | |
| tree | c222ab179c1a2af790106882f1b560d417281891 /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/gdb: add infrastructure (diff) | |
| download | kernel-2b514827ef06fd69e1739e7f367712619dee7784.tar.gz kernel-2b514827ef06fd69e1739e7f367712619dee7784.zip | |
scripts/gdb: add cache for type objects
Type lookups are very slow in gdb-python which is often noticeable when
iterating over a number of objects. Introduce the helper class CachedType
that keeps a reference to a gdb.Type object but also refreshes it after an
object file has been loaded.
Signed-off-by: Jan Kiszka <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Jason Wessel <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Borislav Petkov <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions
