what is the significance of /usr/local/lib/dtrace directory in macOS?

923 Views Asked by At

When trying to remove node modules while uninstalling nodejs, I deleted the whole /usr/local/lib/dtrace directory. How do I recover contents of dtrace directory?

1

There are 1 best solutions below

0
ma11hew28 On

I don't know the significance of the /usr/local/lib/dtrace directory, but mine has the permissions 755 (rwxr-xr-x) and only contains one text file named node.d with the permissions 644 (-rw-r--r--).

The comments at the top of that file say:

* This is the DTrace library file for the node provider, which includes
* the necessary translators to get from the args[] to something useful.

You can download a copy of the node.d file here.