diff options
author | Felix Lange <fjl@users.noreply.github.com> | 2018-03-03 07:52:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-03 07:52:21 +0800 |
commit | 12f4d284114a719e9a0779933e8770c352ed1767 (patch) | |
tree | c49924faee63349c5a5abda0b7bdc79408d39447 /internal/web3ext | |
parent | 49bcb5fbd55e3e15c534fac13d2d65829319298a (diff) | |
download | dexon-12f4d284114a719e9a0779933e8770c352ed1767.tar.gz dexon-12f4d284114a719e9a0779933e8770c352ed1767.tar.zst dexon-12f4d284114a719e9a0779933e8770c352ed1767.zip |
internal/debug: add support for mutex profiles (#16230)
Diffstat (limited to 'internal/web3ext')
-rw-r--r-- | internal/web3ext/web3ext.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index a6b81b4c2..9d6ce8c6c 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -308,6 +308,21 @@ web3._extend({ 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', params: 1 |