summaryrefslogtreecommitdiff
path: root/tools/code_cache
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2019-04-19 17:15:04 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2019-04-23 01:48:46 +0800
commit49d3d11ba7975b2c6df4ecab55b4619da46fcb95 (patch)
tree90a6011d693065805b725fed7a475b1bf1e2f7ef /tools/code_cache
parenta3d1922958a18851afaae7238cfbd8079070f272 (diff)
downloadandroid-node-v8-49d3d11ba7975b2c6df4ecab55b4619da46fcb95.tar.gz
android-node-v8-49d3d11ba7975b2c6df4ecab55b4619da46fcb95.tar.bz2
android-node-v8-49d3d11ba7975b2c6df4ecab55b4619da46fcb95.zip
inspector: split --cpu-prof-path to --cpu-prof-dir and --cpu-prof-name
To improve the integration of `--cpu-prof` with workers, this patch splits `--cpu-prof-path` into `--cpu-prof-dir` and `--cpu-prof-name`, so when a worker is launched from a thread that enables `--cpu-prof`, if the parent thread sets `--cpu-prof-dir`, then the profile of both thread would be generated to the specified directory. If they end up specifying the same `--cpu-prof-name` the behavior is undefined the last profile will overwritten the first one. PR-URL: https://github.com/nodejs/node/pull/27306 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'tools/code_cache')
0 files changed, 0 insertions, 0 deletions