drgn/tests
Omar Sandoval 0315ade709 tests: handle CONFIG_KALLSYMS=n and CONFIG_KALLSYMS_ALL=n
If CONFIG_KALLSYMS_ALL=n, then /proc/kallsyms won't include lo_fops,
which is a data symbol. Use a function symbol, lo_open, instead. Also
check whether /proc/kallsyms exists in the first place.

Signed-off-by: Omar Sandoval <osandov@osandov.com>
2021-12-02 03:46:06 -08:00
..
helpers tests: handle CONFIG_KALLSYMS=n and CONFIG_KALLSYMS_ALL=n 2021-12-02 03:46:06 -08:00
__init__.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
assembler.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
dwarf.py Track byte order in scalar types instead of objects 2021-02-19 21:41:29 -08:00
dwarfwriter.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
elf.py tests: add tests for ELF symbols 2021-11-19 17:04:20 -08:00
elfwriter.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
libdrgn.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_docs.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_dwarf.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_language_c.py libdrgn: fix type names referring to anonymous types 2021-11-23 00:57:42 -08:00
test_lexer.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_object.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_path.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_platform.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_program.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_python.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_serialize.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_symbol.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_type.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00
test_util.py Update copyright headers to Meta 2021-11-21 15:59:44 -08:00