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

fs_watcher:给open系统调用添加提取路径参数信息还有文件描述符 #826

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

sf1999817
Copy link
Contributor

Pull Request Template

Description/描述

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
此 pr 解决了什么问题

Fixes # (issue)

Type of change /PR 类型

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?/ 测试方式

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist/检查列表

  • My code follows the style guidelines of this project /代码规范检查
  • I have performed a self-review of my own code / 自己已经检查代码
  • I have commented my code, particularly in hard-to-understand areas / 有代码注释,尤其是关键代码
  • I have made corresponding changes to the documentation /变更内容同步到了文档中
  • My changes generate no new warnings / 变更没有新产生告警
  • I have added tests that prove my fix is effective or that my feature works /对修改代码添加了测试用例
  • New and existing unit tests pass locally with my changes / 对单元测试也同步更新了
    open

@chenamy2017
Copy link
Contributor

增加进程ID,进程名等信息。

@13186379707
Copy link
Contributor

13186379707 commented Jun 14, 2024

1、你的信息越提越少了,再增加一些用户需要了解的信息,例如pid、command以及文件打开时延的分布情况等。
2、提交pr的时候按照规定的格式给pr起名,例如:fs_watcher:xxxxxx。

@sf1999817 sf1999817 changed the title 给open系统调用添加提取路径参数信息还有文件描述符 fs_watcher:给open系统调用添加提取路径参数信息还有文件描述符 Jun 14, 2024
@sf1999817
Copy link
Contributor Author

sf1999817 commented Jun 14, 2024

pr2
已经将将师兄说的几个指标点加上了,新添加了comm、pid

@chenamy2017
Copy link
Contributor

下一步要将这些整合成为一个程序fs_watcher

@13186379707 13186379707 merged commit d7c342b into linuxkerneltravel:develop Jun 18, 2024
2 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