• Home
Name Date Size #Lines LOC

..--

src/12-May-2024-300245

.gitignoreD12-May-2024326 129

Cargo.tomlD12-May-2024889 3025

README.mdD12-May-2024704 4733

README.md

1small tools to parse smaps information
2
3## build
4
5### native build:
6
7```shell
8# build with debug:
9cargo build
10# or release:
11cargo build --release
12```
13
14#### static-linking Cross-Build for arm32:
15
16```shell
17#add toolchains:
18rustup target add armv7-unknown-linux-musleabihf
19rustup target add arm-unknown-linux-musleabihf
20```
21
22```shell
23#add right linker to ~/.cargo/config:
24[target.armv7-unknown-linux-musleabihf]
25linker = "arm-linux-gnueabihf-ld"
26
27[target.arm-unknown-linux-musleabihf]
28linker = "arm-linux-gnueabihf-ld"
29```
30
31build:
32
33```shell
34cargo build --target=armv7-unknown-linux-musleabihf
35#add --release for release
36```
37
38## run
39
40    smaps-show -p PID [-v]
41
42or
43```shell
44smaps-show -f FILE_PATH [-v]
45```
46
47