internal/debug: add support for mutex profiles (#16230)

This commit is contained in:
Felix Lange
2018-03-03 00:52:21 +01:00
committed by GitHub
parent 49bcb5fbd5
commit 12f4d28411
2 changed files with 38 additions and 4 deletions

View File

@ -307,6 +307,21 @@ web3._extend({
call: 'debug_writeBlockProfile',
params: 1
}),
new web3._extend.Method({
name: 'mutexProfile',
call: 'debug_mutexProfile',
params: 2
}),
new web3._extend.Method({
name: 'setMutexProfileRate',
call: 'debug_setMutexProfileRate',
params: 1
}),
new web3._extend.Method({
name: 'writeMutexProfile',
call: 'debug_writeMutexProfile',
params: 1
}),
new web3._extend.Method({
name: 'writeMemProfile',
call: 'debug_writeMemProfile',