Skip to content

Commit

Permalink
README.md: Mention how to use flamegraph script
Browse files Browse the repository at this point in the history
Signed-off-by: Daiki Ueno <[email protected]>
  • Loading branch information
ueno committed Jun 30, 2023
1 parent 7446799 commit 1d7a2bc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@ To simply deserialize it, you can use the `cborseq2json.rb` script
from [cbor-diag](https://github.com/cabo/cbor-diag) package, which can
be installed with `gem install --user cbor-diag`.

From the tree output, a flamegraph can be produced with the
`scripts/flamegraph.py`:

```console
$ crypto-auditing-log-parser audit.cborseq | python scripts/flamegraph.py -
dumping data to flamegraph.html
```

You can open the generated `flamegraph.html` with your browser.

## License

- `agent/src/bpf/audit.bpf.c`: GPL-2.0-or-later
Expand Down

0 comments on commit 1d7a2bc

Please sign in to comment.