ä¸å®æéæ´æ°ããªãããåºåã表示ãã¦ãã¾ã
valgrind ã¨ã¯ï¼ linux ç°å¢ã§åãè¶ å¼·åãªã¡ã¢ãªãããã¬ã¼ã ã¡ã¢ãªãªã¼ã¯ããã»ã°ã¡ã³ãã¼ã·ã§ã³éåãèµ·ããã¦ããæ£ç¢ºãªä½ç½®ãæãã¦ãããã 以ä¸ã使ãæ¹ã¡ã¢ã 使ç¨ãã¼ã¸ã§ã³ã¯ãvalgrind-3.2.1 ã¡ã¢ãªãªã¼ã¯æ¤åºãªã© $ valgrind --leak-check=full ./program arg1 arg2 ãã¼ããããã¡ã¤ã© $ valgrind --tool=massif ./program arg1 arg2 ã¡ã¢ãªããããã°ãã¦ã¿ã ï¼. ãããã¡ãªã¼ãã¼ã©ã³ã¨ã¡ã¢ãªãªã¼ã¯ãè¡ãã½ã¼ã¹ã³ã¼ããè¨è¿° $ vi main.cpp #include <stdio.h> int main() { int *a = new int[2]; a[2] = 0; // ãããã¡ãªã¼ãã¼ã©ã³ return 0; // ã¡ã¢ãªãªã¼ã¯ } ï¼. ã³ã³ãã¤ã«ãã $ g
Linuxã·ã¹ãã 追跡ã»ãããã°æ©è½ãSystemTapãã®éçºãã¼ã ã¯9æ22æ¥ããSystemTap 1.0ããçºè¡¨ãããGNU GPLã®ä¸ã§å ¬éãããã¸ã§ã¯ãã®Webãµã¤ãããåLinuxãã£ã¹ããªãã¥ã¼ã·ã§ã³åãã®ã¤ã³ã¹ãã¼ã«æ å ±ãå ¬éãã¦ããã SystemTapã¯ããSolaris OSãã®ãDTraceãã«ç¸å½ãããã®ã§ã2005å¹´ã«ããã¸ã§ã¯ããã¹ã¿ã¼ããããã¹ã¯ãªãããå©ç¨ãã¦Linuxã«ã¼ãã«ã¨ã¢ããªã±ã¼ã·ã§ã³ã®å®è¡ç¶æ³ã詳細ã«åæãããã¬ã¼ã ã¯ã¼ã¯ã§ãéçºè ã¯ãªã³ã³ãã¤ã«ãã¤ã³ã¹ãã¼ã«ããªãã¼ããªãã«ãã¼ã¿ãåéã§ããã¨ãããããã¸ã§ã¯ãã¯ç±³Red Hatãç±³IBMãç±³Intelãç±³Oracleãæ¥ç«è£½ä½æãã®æ¯æ´ãåãã¦ããããRed Hat Enterprise Linuxãã«å梱ããã¦ããã ãã¼ã¸ã§ã³1.0ã§ã¯ãå®é¨æ©è½ã¨ãã¦ç¹æ¨©ã®ãªãã¦ã¼ã¶ã¼ã¸ã®ãµãã¼ããå
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}