Skip to content

fix: make power-snoop internal symbols static for test linking#103

Open
yuKing123-king wants to merge 1 commit into
DKapture:mainfrom
yuKing123-king:fix/power-snoop-static-linkage
Open

fix: make power-snoop internal symbols static for test linking#103
yuKing123-king wants to merge 1 commit into
DKapture:mainfrom
yuKing123-king:fix/power-snoop-static-linkage

Conversation

@yuKing123-king

Copy link
Copy Markdown
Contributor

为避免 power-snoop 在单测聚合链接时与其他 observe 工具发生同名全局符号冲突,将仅在本文件使用的运行时状态和辅助函数收敛为内部链接,不改变工具功能,只修复 make test 阶段的 multiple definition 问题。

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.

1 participant