sophiebits / valgrind-client-request

Control Valgrind at runtime from Node process

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

valgrind-client-request

Allows making "client requests" when running Node under Valgrind.

Probably works best with Node 8.12+.

Usage

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

About

Control Valgrind at runtime from Node process


Languages

Language:C 99.7%Language:C++ 0.2%Language:Python 0.1%Language:JavaScript 0.0%