The current verison of NodeJS hardcodes the path where perf data is written when the
--perf-basic-prof flag is used.
How to patch
/tmp has limited capacity and so we weren't able to utilize perf data to troubleshoot NodeJS without filling the disk and crashing the running system.
First I'll copy the system node binary to my local directory so this set of actions isn't destructive to the running system: