Skip to content

python: Use HDRSZ macro in symtab header size warning#2053

Merged
namhyung merged 1 commit into
namhyung:masterfrom
junyeong0619:fix-python-symtab-warn
Jun 4, 2026
Merged

python: Use HDRSZ macro in symtab header size warning#2053
namhyung merged 1 commit into
namhyung:masterfrom
junyeong0619:fix-python-symtab-warn

Conversation

@junyeong0619

Copy link
Copy Markdown
Contributor

The warning hardcoded "64" but UFTRACE_PYTHON_SYMTAB_HDRSZ is (48). Use the macro to keep them in sync, matching write_dbginfo().

I found it while i'm look around the python tracing codes.

The warning hardcoded "64" but UFTRACE_PYTHON_SYMTAB_HDRSZ is (48).
Use the macro to keep them in sync, matching write_dbginfo().

Signed-off-by: Jun Yeong Kim <junyeonggim5@gmail.com>

@namhyung namhyung left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@namhyung namhyung merged commit 903277e into namhyung:master Jun 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants