https://github.com/sophiebits/valgrind-client-request
Control Valgrind at runtime from Node process
https://github.com/sophiebits/valgrind-client-request
Last synced: 3 months ago
JSON representation
Control Valgrind at runtime from Node process
- Host: GitHub
- URL: https://github.com/sophiebits/valgrind-client-request
- Owner: sophiebits
- Created: 2018-11-09T04:31:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-09T04:36:31.000Z (about 7 years ago)
- Last Synced: 2025-04-01T08:44:08.806Z (8 months ago)
- Language: C
- Size: 31.3 KB
- Stars: 5
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# valgrind-client-request
Allows making "client requests" when running Node under Valgrind.
Probably works best with Node 8.12+.
## Usage
```js
const ValgrindClientRequest = require('valgrind-client-request');
// https://sourceware.org/git/?p=valgrind.git;a=blob;f=callgrind/callgrind.h;hb=VALGRIND_3_14_0
ValgrindClientRequest.callgrindStartInstrumentation();
ValgrindClientRequest.callgrindStopInstrumentation();
```