Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复日志打印调用栈问题 #482

Merged
merged 9 commits into from
Nov 15, 2024
Merged

Conversation

hnwyllmm
Copy link
Collaborator

What problem were solved in this pull request?

Issue Number: close #381

Problem:
当前lbt输出的信息无法直接使用addr2line获取栈信息。

What is changed and how it works?

使用backtrace调用获取到栈信息偏移量时,通过/proc/self/maps减去当前区间的起始地址,然后输出。

@hnwyllmm
Copy link
Collaborator Author

@nautaa Please take a look

@hnwyllmm hnwyllmm merged commit 7c0137f into oceanbase:main Nov 15, 2024
14 checks passed
@hnwyllmm hnwyllmm deleted the backtrace branch November 15, 2024 03:25
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.

[BUG]日志文件中打印出来的栈信息不能使用addr2line识别
2 participants