Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Extend binary operators support, required for more filter features. | 2021-02-08 | 1 | -1/+2 | |
| | | | | Improve debugging of filters and print operator names in debug output. | ||||
* | Improve documentation. | 2020-08-13 | 1 | -2/+2 | |
| | |||||
* | Do not hardcode the key length. | 2020-08-07 | 1 | -1/+3 | |
| | |||||
* | Implement linear and power-of-two histograms: hist() and lhist() keywords. | 2020-07-11 | 1 | -2/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is built on top of maps which are currently built on top of RB-trees. Improvements are welcome! For example the use of a hashing table as pointed by espie@. The following one-liner produce an histogram of power-of-two values returned by the read(2) syscall: btrace 'syscall:read:return { @bytes = hist(retval); }' ^C @bytes: [0] 19 |@@@@@@@@@@@@@@@@@@@@@@@@@@ | [1] 26 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ | [1, 2) 1 |@ | [2, 4) 13 |@@@@@@@@@@@@@@@@@@ | [4, 8) 4 |@@@@@ | [8, 16) 3 |@@@@ | [16, 32) 1 |@ | [32, 64) 8 |@@@@@@@@@@@ | [64, 128) 14 |@@@@@@@@@@@@@@@@@@@ | [128, 256) 7 |@@@@@@@@@ | [256, 512) 37 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@| [512, 1K) 1 |@ | [1K, 2K) 10 |@@@@@@@@@@@@@@ | [2K, 4K) 11 |@@@@@@@@@@@@@@@ | [8K, 16K) 1 |@ | | ||||
* | Print the correct register for syscall return value. | 2020-07-04 | 1 | -3/+3 | |
| | | | | While here make it possible to store syscall return values in maps. | ||||
* | Make map functions accept a "struct map *" instead of a "struct bt_var *". | 2020-04-15 | 1 | -7/+8 | |
| | | | | This is a step towards reducing the type casting crazyness. | ||||
* | Implement map functions min(), max() and sum(). | 2020-01-28 | 1 | -1/+2 | |
| | | | | For the moment map values are currently limited to integers. | ||||
* | Implement delete() and @map[key] access. | 2020-01-28 | 1 | -1/+2 | |
| | |||||
* | Import a bug tracer, companion of dt(4), that speaks the bt(5) language. | 2020-01-21 | 1 | -0/+54 | |
ok kettenis@, visa@, jasper@, deraadt@ |