diff options
author | Jan Kiszka <jan.kiszka@siemens.com> | 2015-02-17 21:46:41 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-17 22:34:53 (GMT) |
commit | b0fecd8c570310c5041035a94eda7a4610402ace (patch) | |
tree | 12b69ee5e9d3aa56d72491a212aff3aa47dd7aa6 /lib/md5.c | |
parent | 2b514827ef06fd69e1739e7f367712619dee7784 (diff) | |
download | linux-b0fecd8c570310c5041035a94eda7a4610402ace.tar.xz |
scripts/gdb: add container_of helper and convenience function
Provide an internal helper with container_of semantics. As type lookups
are very slow in gdb-python and we need a type "long" for this, cache the
reference to this type object. Then export the helper also as a
convenience function form use at the gdb command line.
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 'lib/md5.c')
0 files changed, 0 insertions, 0 deletions