{"id":91433,"date":"2024-03-14T13:34:12","date_gmt":"2024-03-14T05:34:12","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=91433"},"modified":"2024-03-14T13:34:12","modified_gmt":"2024-03-14T05:34:12","slug":"linux-dtrace4linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linux-dtrace4linux.html","title":{"rendered":"\u5927\u795e\u6559\u4f60\u600e\u4e48\u4f7f\u7528Linux \u5185\u6838\u8bca\u65ad\u5de5\u5177 dtrace4linux"},"content":{"rendered":"
dtrace4linux\u662f Sun DTrace \u7684\u4e00\u4e2a\u7528\u6237\u7aef\u53e3\u548c Linux \u7684\u6838\u5fc3\u4ee3\u7801\u3002\u5728\u8fd9\u4e2a\u6784\u5efa\u4e2d\u6ca1\u6709\u89e6\u53ca\u5230 linux \u6838\u5fc3\u4ee3\u7801\uff0c\u4f46\u5b83\u521b\u5efa\u4e86\u4e00\u4e2a\u52a8\u6001\u7684\u53ef\u52a0\u8f7d\u7684\u5185\u6838\u6a21\u5757\u3002\u8fd9\u907f\u514d\u4e86\u534f\u8bae\u95ee\u9898\u548c\u5141\u8bb8\u4eba\u4eec\u6309\u7167\u4ed6\u4eec\u7684\u610f\u613f\u52a0\u8f7d\u548c\u66f4\u65b0 dtrace\u3002<\/p>\n
\u8fd9\u4e2a\u9879\u76ee\u7684\u76ee\u6807\u662f\u4f7f DTrack \u5bf9 Linux \u5e73\u53f0\u53ef\u7528\uff0c\u901a\u8fc7\u5f00\u653e\u7ed9\u6240\u6709\u4eba\uff0c\u4ed6\u4eec\u53ef\u4ee5\u7528\u5b83\u6765\u4f18\u5316\u4ed6\u4eec\u7684\u7cfb\u7edf\u548c\u5de5\u5177\uff0c\u800c\u4f5c\u4e3a\u56de\u62a5\uff0c\u6211\u53ef\u4ee5\u4ece\u4ed6\u4eec\u7684\u5de5\u4f5c\u4e2d\u53d7\u76ca\u3002<\/p>\n
\u5b89\u88c5\uff1a<\/p>\n
\r\n$ tools\/get-deps-arch.sh # if using ArchLinux\r\n$ tools\/get-deps.pl # if using Ubuntu\r\n$ tools\/get-deps-fedora.sh # RedHat\/Fedora\r\n\r\n$ make all\r\n$ make install\r\n$ make load (need to be root or have sudo access)\r\n<\/pre>\n\n\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.oschina.net\/p\/dtrace4linux<\/a><\/p>\n