1#!/usr/bin/env python3 2# Copyright(c) 2025: Mauro Carvalho Chehab <mchehab@kernel.org>. 3# pylint: disable=R0903 4# SPDX-License-Identifier: GPL-2.0 5 6""" 7Helper classes for ABI parser 8""" 9 10ABI_DIR = "Documentation/ABI/" 11 12 13class AbiDebug: 14 """Debug levels""" 15 16 WHAT_PARSING = 1 17 WHAT_OPEN = 2 18 DUMP_ABI_STRUCTS = 4 19 20 21DEBUG_HELP = """ 22Print debug information according with the level(s), 23which is given by the following bitmask: 24 251 - enable debug parsing logic 262 - enable debug messages on file open 274 - enable debug for ABI parse data 28""" 29