Kieran Bingham
e127a73d41
scripts/gdb: add a Radix Tree Parser
...
Linux makes use of the Radix Tree data structure to store pointers
indexed by integer values. This structure is utilised across many
structures in the kernel including the IRQ descriptor tables, and
several filesystems.
This module provides a method to lookup values from a structure given
its head node.
Usage:
The function lx_radix_tree_lookup, must be given a symbol of type struct
radix_tree_root, and an index into that tree.
The object returned is a generic integer value, and must be cast
correctly to the type based on the storage in the data structure.
For example, to print the irq descriptor in the sparse irq_desc_tree at
index 18, try the following:
(gdb) print (struct irq_desc)$lx_radix_tree_lookup(irq_desc_tree, 18)
Link: http://lkml.kernel.org/r/d2028c55e50cf95a9b7f8ca0d11885174b0cc709.1462865983.git.jan.kiszka@siemens.com
Signed-off-by: Kieran Bingham <kieran.bingham@linaro.org>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2016-05-23 17:04:14 -07:00
..
basic
kbuild: fixdep: Check fstat(2) return value
2016-02-17 22:52:04 +01:00
coccinelle
debugfs, coccinelle: check for obsolete DEFINE_SIMPLE_ATTRIBUTE() usage
2016-04-12 14:14:21 -07:00
dtc
scripts/dtc: Update to upstream version 53bf130b1cdd
2016-03-29 13:29:22 -05:00
gdb
scripts/gdb: add a Radix Tree Parser
2016-05-23 17:04:14 -07:00
genksyms
genksyms: Handle string literals with spaces in reference files
2015-12-09 15:19:23 +01:00
kconfig
localmodconfig: Fix whitespace repeat count after "tristate"
2016-04-26 18:35:16 -04:00
ksymoops
mod
modpost: fix module autoloading for OF devices with generic compatible property
2016-05-05 17:38:53 -07:00
package
kbuild/mkspec: clean boot loader configuration on rpm removal
2016-03-04 22:59:09 +01:00
selinux
tracing
.gitignore
KEYS: Reserve an extra certificate symbol for inserting without recompiling
2016-02-26 15:30:20 +00:00
analyze_suspend.py
asn1_compiler.c
ASN.1: fix open failure check on headername
2016-04-06 14:06:48 +01:00
bloat-o-meter
scripts/bloat-o-meter: print percent change
2016-05-19 19:12:14 -07:00
bootgraph.pl
check-lc_ctype.c
DocBook: Use a fixed encoding for output
2015-09-28 01:31:48 -06:00
check_extable.sh
checkincludes.pl
checkkconfigsymbols.py
checkkconfigsymbols.py: Fix typo in help message
2016-05-01 14:11:12 -07:00
checkpatch.pl
checkpatch: improve --git <commit-count> shortcut
2016-05-20 17:58:30 -07:00
checkstack.pl
checksyscalls.sh
checkversion.pl
cleanfile
cleanpatch
coccicheck
Coccinelle: fix incorrect -include option transformation
2015-10-26 21:32:09 +01:00
config
conmakehash.c
decode_stacktrace.sh
scripts/decode_stacktrace.sh: handle symbols in modules
2016-05-19 19:12:14 -07:00
decodecode
depmod.sh
diffconfig
docproc.c
docproc: print a comment about autogeneration for rst output
2016-05-14 09:56:56 -06:00
export_report.pl
extract-cert.c
KEYS: Remove unnecessary header #inclusions from extract-cert.c
2015-09-25 16:31:45 +01:00
extract-ikconfig
extract-module-sig.pl
KEYS: Provide a script to extract a module signature
2015-10-21 15:18:36 +01:00
extract-sys-certs.pl
KEYS: Use the symbol value for list size, updated by scripts/insert-sys-cert
2016-02-26 15:32:05 +00:00
extract-vmlinux
gcc-goto.sh
gcc-ld
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_initramfs_list.sh
get_maintainer.pl
scripts/get_maintainer.pl: handle file names beginning with ./
2016-01-20 17:09:18 -08:00
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.sh
insert-sys-cert.c
KEYS: Reserve an extra certificate symbol for inserting without recompiling
2016-02-26 15:30:20 +00:00
kallsyms.c
ARM: 8553/1: kallsyms: remove --page-offset command line option
2016-04-07 21:57:16 +01:00
Kbuild.include
kbuild: suppress annoying "... is up to date." message
2016-03-04 23:19:19 +01:00
kernel-doc
kernel-doc: use rst C domain directives and references for types
2016-05-14 09:56:34 -06:00
kernel-doc-xml-ref
ld-version.sh
ld-version: Drop the 4th and 5th version components
2016-05-13 14:02:05 +02:00
Lindent
scripts/Lindent: handle missing indent gracefully
2015-09-04 16:54:41 -07:00
link-vmlinux.sh
ARM: 8552/1: kallsyms: remove special lower address limit for CONFIG_ARM
2016-04-07 21:57:15 +01:00
Makefile
KEYS: Reserve an extra certificate symbol for inserting without recompiling
2016-02-26 15:30:20 +00:00
Makefile.asm-generic
Makefile.build
objtool: Detect and warn if libelf is missing and don't break the build
2016-03-05 09:20:44 +01:00
Makefile.clean
Makefile.dtbinst
dtbsinstall: don't move target directory out of the way
2016-01-28 11:40:32 +01:00
Makefile.extrawarn
kbuild: Demote 'sign-compare' warning to W=2
2016-01-12 16:07:03 +01:00
Makefile.fwinst
Makefile.headersinst
Makefile.help
Makefile.host
Makefile.kasan
arm64: add KASAN support
2015-10-12 17:46:36 +01:00
Makefile.lib
dtc: turn off dtc unit address warnings by default
2016-03-31 11:44:16 -05:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
modpost: Add flag -E for making section mismatches fatal
2015-10-06 10:46:21 +10:30
Makefile.modsign
Makefile.ubsan
ubsan: fix tree-wide -Wmaybe-uninitialized false positives
2016-03-22 15:36:02 -07:00
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
namespace.pl
kallsyms: add support for relative offsets in kallsyms address table
2016-03-15 16:55:16 -07:00
objdiff
patch-kernel
pnmtologo.c
profile2linkerlist.pl
prune-kernel
scripts: add "prune-kernel" script to clean up old kernel images
2016-02-09 10:09:52 -08:00
recordmcount.c
ftrace/scripts: Fix incorrect use of sprintf in recordmcount
2016-01-04 11:13:16 -05:00
recordmcount.h
recordmcount: Fix endianness handling bug for nop_mcount
2015-11-03 10:45:26 -05:00
recordmcount.pl
scripts/recordmcount.pl: support data in text section on powerpc
2016-01-13 12:35:41 +11:00
setlocalversion
show_delta
sign-file.c
sign-file: fix build with CMS support disabled
2016-03-03 10:50:46 +00:00
sortextable.c
parisc: Use generic extable search and sort routines
2016-03-23 16:00:46 +01:00
sortextable.h
spelling.txt
scripts/spelling.txt: add "fimware" misspelling
2016-05-19 19:12:14 -07:00
stackdelta
scripts: add stackdelta script
2015-08-28 17:04:40 +02:00
stackusage
scripts: add stackusage script
2015-08-28 17:04:40 +02:00
tags.sh
scripts/tags.sh: add regex to map kprobe helpers
2016-02-18 20:56:37 +01:00
unifdef.c
ver_linux
scripts: fix typo in ver_linux
2016-02-07 23:01:45 -08:00
xen-hypercalls.sh
xz_wrap.sh