uflow: Trace method execution flow
authorSasha Goldshtein <goldshtn@gmail.com>
Wed, 26 Oct 2016 19:52:06 +0000 (12:52 -0700)
committerSasha Goldshtein <goldshtn@gmail.com>
Mon, 19 Dec 2016 09:46:05 +0000 (09:46 +0000)
commite725b14cedef35b37904d434c21ee8f986db5448
tree7c689a649da81002f9c2103aff37578e68a54428
parent087dd73e65a7f1c5408a65f38b63b3d08c017cea
uflow: Trace method execution flow

This tool traces method executions and prints out messages
with a nesting depth indicator that allows relatively easy
visualization of program flow. To reduce overhead, `-C` and
`-M` switches take class and method prefixes to filter the
output by. The filtering takes place in the BPF program, so
the unnecessary data never ends up in user space.

Usage examples:

```
uflow java 185
uflow -M index python 180
uflow -C 'IRB::Irb' ruby 10041
```
tools/uflow.py [changed mode: 0644->0755]