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

Proc_image: 学习并优化代码 #781

Closed
wants to merge 4 commits into from

Conversation

albertxu216
Copy link
Contributor

更改syscall_image内核态文件的逻辑

@helight
Copy link
Member

helight commented Apr 30, 2024

@zhangzihengya reviewer一下

Copy link
Contributor

@zhangzihengya zhangzihengya left a comment

Choose a reason for hiding this comment

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

这块没问题,syscall_seq->count ++放在条件语句的外面是为了同时统计非目标线程的系统调用次数,以便于计算出整个系统的系统调用信息
建议你可以先去完善下docs文件夹,在其中添加下每个功能采集数据的逻辑图,然后再对进程画像这个工具做进一步的完善和优化

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

@zhangzihengya
Copy link
Contributor

LGTM
师兄,这块不用改,我给师弟沟通了,我说的这块没问题是原代码没问题

@albertxu216 albertxu216 closed this May 6, 2024
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