[Request] monitor for git #11
adlternative
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hacker Request
ebpf 的 bcc 工具里面有:
execnoop 可以用来监控系统的所有新进程,拿到运行的命令行参数,并能按照可执行文件的 basename 进行过滤。
exitsnoop 可以用来监控系统的所有进程结束时的运行时间。
现在我希望能有一个类似 exitnoop 的 Linux 监控工具,能够在其运行结束后,统计出运行期间系统上所有 basename 为的 "git" 进程的子命令 “分布” 和每种子命令的平均执行时间。(我不想直接修改 git 源码,因为这侵入性太强,并且在其他人的电脑上的 git 没有作用。我不想用 GIT_TRACE2=1 因为它里面有非常多的干扰数据,不易于统计。 )
Maybe Technology Stack
Beta Was this translation helpful? Give feedback.
All reactions