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

cpu_watcher:增加用户态互斥锁详细信息 #869

Merged
merged 23 commits into from
Jul 30, 2024

Conversation

vvzxy
Copy link
Contributor

@vvzxy vvzxy commented Jul 26, 2024

通过uprobe,uretprobe完成如下数据采集,包括锁的锁被持有的总时间、锁被持有的最长时间、锁发生竞争的总时间、最后一次持有该锁的线程 ID,锁被争用的次数,每秒更新一次,过滤输出被大量争用的锁:
6

Copy link
Member

@helight helight left a comment

Choose a reason for hiding this comment

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

LGTM

@helight helight merged commit 4f953cb into linuxkerneltravel:develop Jul 30, 2024
4 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.

3 participants