diff options
author | Stefano Garzarella <[email protected]> | 2020-07-23 21:15:52 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2020-07-24 12:42:42 -0700 |
commit | 7359608a271ce81803de148befefd309baf88c76 (patch) | |
tree | a7f5708b8b30eaaa0ea7fc0306f239888dd52891 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bb9715379abfeddea86343b748b62410e20ef037 (diff) |
scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
Commit ed66f991bb19 ("module: Refactor section attr into bin attribute")
removed the 'name' field from 'struct module_sect_attr' triggering the
following error when invoking lx-symbols:
(gdb) lx-symbols
loading vmlinux
scanning for modules in linux/build
loading @0xffffffffc014f000: linux/build/drivers/net/tun.ko
Python Exception <class 'gdb.error'> There is no member named name.:
Error occurred in Python: There is no member named name.
This patch fixes the issue taking the module name from the 'struct
attribute'.
Fixes: ed66f991bb19 ("module: Refactor section attr into bin attribute")
Signed-off-by: Stefano Garzarella <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Reviewed-by: Jan Kiszka <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions