aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorJan Kiszka <[email protected]>2015-02-17 13:46:41 -0800
committerLinus Torvalds <[email protected]>2015-02-17 14:34:53 -0800
commitb0fecd8c570310c5041035a94eda7a4610402ace (patch)
tree12b69ee5e9d3aa56d72491a212aff3aa47dd7aa6 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent2b514827ef06fd69e1739e7f367712619dee7784 (diff)
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 <[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 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions