Skip to content

qingzhixing/sperf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎃 M3: 系统调用 Profiler (sperf)

▶️ 介绍

  • 一个 Linux 命令行工具,它能启动另一个程序,并统计该程序中各个系统调用的占用时间。
  • 基于 strace 命令实现,请确保你已安装。

更详细的要求: https://jyywiki.cn/OS/2025/labs/M3.md

Cover

💖 展示

  • sperf -h sperf_help

  • sperf -v sperf_version

  • sperf ls / sperf_ls

🥞 编译运行

  • 本项目基于xmake构建
  • 请确保你的环境中有 strace命令
  • 请确保在项目根目录下执行命令
xmake
./build/sperf -h

🔧 运行测试

  • 请确保你的环境中有 python3 以及相关的库
  • 请确保在项目根目录下执行命令
./run_test.py

About

🎃 M3: 系统调用 Profiler (sperf) - 2025 南京大学操作系统原理

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors