GitHub user lavacat opened a pull request:
https://github.com/apache/zookeeper/pull/607
WIP - ZOOKEEPER-2990: Implement probabilistic tracing
- stmk can be called with extra list of 10 short numbers to set the rate
for each mask bit. Max rate is 1000
example: perl -e "print 'stmk', pack('q>s>s>s>s>s>s>s>s>s>s>',
0b0011111010, 0, 100, 200, 300, 400, 500, 600, 7, 8, 9)"
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lavacat/zookeeper branch-3.4
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/607.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #607
----
commit 45e7f7933e42aa8f2a06d91cb53044c113ccc9ff
Author: Bogdan Kanivets <bkanivets@...>
Date: 2018-08-23T20:42:53Z
ZOOKEEPER-2990: Implement probabilistic tracing
- stmk can be called with extra list of 10 short numbers to set the rate
for each mask bit. Max rate is 1000
example: perl -e "print 'stmk', pack('q>s>s>s>s>s>s>s>s>s>s>',
0b0011111010, 0, 100, 200, 300, 400, 500, 600, 7, 8, 9)"
----
---