scripts: logging: include pinned rodata in database

This adds "pinned.rodata" into the string database so
this will work with pinned rodata section.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2022-01-14 14:35:11 -08:00 committed by Anas Nashif
commit 0c32256b00

View file

@ -32,7 +32,12 @@ logger = logging.getLogger(os.path.basename(sys.argv[0]))
# Sections that contains static strings
STATIC_STRING_SECTIONS = ['rodata', '.rodata', 'log_strings_sections']
STATIC_STRING_SECTIONS = [
'rodata',
'.rodata',
'pinned.rodata',
'log_strings_sections'
]
def parse_args():