Skip to content

Commit

Permalink
examples/callgraph: update usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Jun 8, 2024
1 parent 23e3244 commit 3dd5f33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/callgraph/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ main(int argc, char **argv)
```shell
% /opt/wasi-sdk-22.0/bin/clang a.c
% callgraph a.out > a.gv
% dot -Tsvg -o hello.svg a.gv
% callgraph a.out | python3 cg_json2dot.py | dot -Tsvg -o hello.svg
```

![hello world call graph](./hello.svg)

0 comments on commit 3dd5f33

Please sign in to comment.