diff options
| author | Jan Kiszka <[email protected]> | 2015-02-17 21:47:21 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2015-02-17 22:34:54 +0000 |
| commit | fe7f9ed98dad611ceaf17403f1c5bfd016eadcaa (patch) | |
| tree | 469d69f6e6ede329e2e09e513117915aebc7447d /scripts/gdb/vmlinux-gdb.py | |
| parent | scripts/gdb: add get_gdbserver_type helper (diff) | |
| download | kernel-fe7f9ed98dad611ceaf17403f1c5bfd016eadcaa.tar.gz kernel-fe7f9ed98dad611ceaf17403f1c5bfd016eadcaa.zip | |
scripts/gdb: add internal helper and convenience function for per-cpu lookup
This function allows to obtain a per-cpu variable, either of the current
or an explicitly specified CPU.
Note: sparc64 version is untested.
Signed-off-by: Jan Kiszka <[email protected]>
Cc: "David S. Miller" <[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')
| -rw-r--r-- | scripts/gdb/vmlinux-gdb.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/gdb/vmlinux-gdb.py b/scripts/gdb/vmlinux-gdb.py index 4d7eb2c409aa..48489285f119 100644 --- a/scripts/gdb/vmlinux-gdb.py +++ b/scripts/gdb/vmlinux-gdb.py @@ -27,3 +27,4 @@ else: import linux.modules import linux.dmesg import linux.tasks + import linux.cpus |
