Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 605
hariharan kumar Avatar asked Nov 08 '22 11:11

hariharan kumar


1 Answers

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.

like image 177
ma11hew28 Avatar answered Nov 15 '22 05:11

ma11hew28