summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2015-02-17 13:46:38 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2015-02-17 14:34:53 -0800
commit2b514827ef06fd69e1739e7f367712619dee7784 (patch)
treec222ab179c1a2af790106882f1b560d417281891 /Makefile
parent3ee7b3fa2cd0182628cca8d9bb5ce2d4722e8dc5 (diff)
downloadop-kernel-dev-2b514827ef06fd69e1739e7f367712619dee7784.zip
op-kernel-dev-2b514827ef06fd69e1739e7f367712619dee7784.tar.gz
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 <jan.kiszka@siemens.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Wessel <jason.wessel@windriver.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: Ben Widawsky <ben@bwidawsk.net> Cc: Borislav Petkov <bp@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud