Browse Source

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>
pull/41917/head
Daniel Leung 4 years ago committed by Anas Nashif
parent
commit
0c32256b00
  1. 7
      scripts/logging/dictionary/database_gen.py

7
scripts/logging/dictionary/database_gen.py

@ -32,7 +32,12 @@ logger = logging.getLogger(os.path.basename(sys.argv[0])) @@ -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():

Loading…
Cancel
Save