commit | 76d346ca14d412560c464310cdb23931ffed0eed | [log] [tgz] |
---|---|---|
author | Vladislav Khmelevsky <[email protected]> | Wed Mar 10 00:18:11 2021 |
committer | Maksim Panchenko <[email protected]> | Wed Mar 10 00:18:11 2021 |
tree | 8475002077dd8bc9278872c70cc40348f6378688 | |
parent | 225a8d7f2c013aa2b1cb00a96878c671a19d512b [diff] |
[BOLT][PR] Instrumentation: Introduce -no-counters-clear and -wait-forks options Summary: This PR introduces 2 new instrumentation options: 1. instrumentation-no-counters-clear: Discussed at https://github.com/facebookincubator/BOLT/issues/121 2. instrumentation-wait-forks: Since the instrumentation counters are mapped as MAP_SHARED it will be nice to add ability to wait until all forks of the parent process will die using tracking of process group. The last patch is just emitBinary code refactor. Vladislav Khmelevsky, Advanced Software Technology Lab, Huawei Pull Request resolved: https://github.com/facebookincubator/BOLT/pull/125 GitHub Author: Vladislav Khmelevskyi <[email protected]> (cherry picked from FBD26919011)