16 Star 40 Fork 387

OpenHarmony/developtools_profiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

small tools to parse smaps information

build

native build:

# build with debug:
cargo build
# or release:
cargo build --release

static-linking Cross-Build for arm32:

#add toolchains:
rustup target add armv7-unknown-linux-musleabihf
rustup target add arm-unknown-linux-musleabihf
#add right linker to ~/.cargo/config:
[target.armv7-unknown-linux-musleabihf]
linker = "arm-linux-gnueabihf-ld"

[target.arm-unknown-linux-musleabihf]
linker = "arm-linux-gnueabihf-ld"

build:

cargo build --target=armv7-unknown-linux-musleabihf
#add --release for release

run

smaps-show -p PID [-v]

or

smaps-show -f FILE_PATH [-v]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openharmony/developtools_profiler.git
git@gitee.com:openharmony/developtools_profiler.git
openharmony
developtools_profiler
developtools_profiler
master

搜索帮助