Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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();
```