System ABI documentation validation class¶

Parse ABI documentation and produce results from it.

class lib.python.abi.system_symbols.SystemSymbols(abi, sysfs='/sys', hints=False)¶

Bases: object

Stores arguments for the class and initialize class vars.

check_file(refs, found)¶

Check missing ABI symbols for a given sysfs file.

check_undefined_symbols(max_workers=None, chunk_size=50, found=None, dry_run=None)¶

Seach ABI for sysfs symbols missing documentation.

get_fileref(all_refs, chunk_size)¶

Interactor to group refs into chunks.

graph_add_file(path, link=None)¶

add a file path to the sysfs graph stored at self.root.

print_graph(root_prefix='', root=None, level=0)¶

Prints a reference tree graph using UTF-8 characters.