Skip to content

Commit d868a21

Browse files
Add showcase image
1 parent 7af4966 commit d868a21

2 files changed

Lines changed: 12 additions & 6 deletions

File tree

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,32 @@
11
# Alloc stat
22

3-
## nix
3+
![demo](showcase.png)
44

5-
> Run
5+
## Usage
6+
7+
set the `AS_VERBOSE` environment variable to `1` to print every allocation call.
8+
9+
### using Nix
10+
11+
> Run directly
612
```sh
713
nix run github:Sigmapitech/alloc_stats -- ls
814
```
915

10-
## Non-nix
16+
### without Nix
1117

12-
> Clone
18+
> Clone the repository
1319
```sh
1420
git clone Sigmapitech/alloc_stats
1521
cd alloc_stats
1622
```
1723

18-
> Build
24+
> Build the library
1925
```sh
2026
make
2127
```
2228

23-
> Run
29+
> Run by using preloading
2430
```sh
2531
LD_PRELOAD=liballoc_stats.so ls
2632
```

showcase.png

113 KB
Loading

0 commit comments

Comments
 (0)