43.6. /dev/profile/ ÀÌÇØÇϱâ

/dev/oprofile/ µð·ºÅ丮¿¡´Â OProfile¿¡ »ç¿ëµÇ´Â ÆÄÀÏ ½Ã½ºÅÛÀÌ Æ÷ÇԵǾî ÀÖ½À´Ï´Ù. cat ¸í·ÉÀ» »ç¿ëÇÏ¿© ÀÌ ÆÄÀÏ ½Ã½ºÅÛ¿¡¼­ °¡»ó ÆÄÀÏÀÇ °ªÀ» º¼ ¼ö ÀÖ½À´Ï´Ù. ¿¹¸¦ µé¾î ´ÙÀ½ ¸í·ÉÀ» ÀÔ·ÂÇϽøé OProfileÀÌ °Ë»öÇÑ ÇÁ·Î¼¼¼­ÀÇ À¯ÇüÀ» º¸¿©ÁÝ´Ï´Ù:

cat /dev/oprofile/cpu_type

°¢ Ä«¿îÅÍ¿¡ ´ëÇÑ µð·ºÅ丮°¡ /dev/oprofile/¿¡ À§Ä¡ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î 2 Ä«¿îÅͰ¡ Á¸ÀçÇÑ´Ù¸é /dev/oprofile/0/ ¹× dev/oprofile/1/ µð·ºÅ丮°¡ Á¸ÀçÇÕ´Ï´Ù.

Ä«¿îÅÍ¿¡ »ç¿ëµÇ´Â °¢ µð·ºÅ丮´Â ´ÙÀ½ ÆÄÀϵéÀ» Æ÷ÇÔÇÕ´Ï´Ù:

ÀÌ ÆÄÀÏÀÇ °ªÀ» º¸½Ã·Á¸é ´ÙÀ½°ú °°ÀÌ cat ¸í·ÉÀ» »ç¿ëÇÏ½Ã¸é µË´Ï´Ù:

cat /dev/oprofile/0/count