{"id":3151,"date":"2012-04-10T10:10:40","date_gmt":"2012-04-10T01:10:40","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=3151"},"modified":"2012-04-10T11:34:18","modified_gmt":"2012-04-10T02:34:18","slug":"oprofile-vm","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=3151","title":{"rendered":"OProfile + VM"},"content":{"rendered":"<p>VMware vSphere Hypervisor 5 (ESXi 5) \u4e0a\u306e Linux (CentOS 6) \u3067 OProfile \u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u5168\u7136\u30c7\u30fc\u30bf\u304c\u53d6\u308c\u306a\u304f\u3066\u982d\u3092\u3072\u306d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001VM \u4e0a\u3067\u306f\uff08VMware \u56fa\u6709\u304b\u3069\u3046\u304b\u306f\u4e0d\u660e\uff09\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u4f7f\u3063\u305f\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u304c\u3067\u304d\u306a\u3044\u3093\u3067\u3059\u306a <a href=\"http:\/\/oprofile.sourceforge.net\/faq\/\">(FAQ)<\/a>\u3002<\/p>\n<p>OProfile \u304c\u3069\u306e\u3088\u3046\u306b\u30ab\u30a6\u30f3\u30bf\u306e\u5b58\u5728\u3092\u691c\u51fa\u3057\u3066\u3044\u308b\u306e\u304b\u306f\u308f\u304b\u308a\u307e\u305b\u3093\u304c\uff08CPUID \u3060\u308d\u3046\u304b\uff1f\uff09\u3001CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u304c\u5b58\u5728\u3057\u3066\u3044\u308b\u3088\u3046\u306b\u898b\u3048\u308b\u306e\u306b\u5b9f\u969b\u306b\u306f\u4f7f\u3048\u306a\u3044\uff08\u30a4\u30d9\u30f3\u30c8\u304c\u6765\u306a\u3044\uff09\u305f\u3081\u3001\u3053\u3046\u3044\u3046\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002\u78ba\u304b\u306b CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u3092\u4eee\u60f3\u5316\u3059\u308b\u306e\u306f\u624b\u9593\u306e\u5272\u306b\u5f97\u308b\u3082\u306e\u304c\u5c11\u306a\u305d\u3046\u306a\u306e\u3067\u3001VM \u306e\u4e2d\u304b\u3089 CPU \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u30ab\u30a6\u30f3\u30bf\u304c\u4f7f\u3048\u306a\u3044\u3068\u3044\u3046\u306e\u306f\u3001\u8a00\u308f\u308c\u3066\u307f\u308c\u3070\u305d\u3046\u3060\u3088\u306d\u3047\u3001\u3068\u3044\u3046\u611f\u3058\u3067\u3059\u3002<\/p>\n<p><!--more--><\/p>\n<p>\u3067\u3001\u5bfe\u51e6\u6cd5\u3067\u3059\u304c\u3001kernel 2.6 \u3067\u306f <a href=\"http:\/\/oprofile.sourceforge.net\/doc\/detailed-parameters.html#timer\">timer interrupt mode<\/a> \u3092\u4f7f\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<blockquote>\n<pre># opcontrol --deinit\r\n# modprobe oprofile timer=1\r\n# opcontrol --start<\/pre>\n<\/blockquote>\n<p>\u8a08\u6e2c\u7cbe\u5ea6\u304c\uff08\u305f\u3076\u3093\uff09\u4f4e\u3044\u3068\u304b\u3001\u5272\u308a\u8fbc\u307f\u7981\u6b62\u306b\u306a\u3063\u3066\u3044\u308b\u90e8\u5206\u306e\u30b3\u30fc\u30c9\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\uff08\u30ab\u30fc\u30cd\u30eb\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u3092\u53d6\u308b\u3068\u304d\u306b\u5fc5\u8981\u306a\u3053\u3068\u304c\u3042\u308b\uff09\u304c\u3067\u304d\u306a\u3044\u3068\u304b\u3001\u4f4e\u30ec\u30a4\u30e4\u306e\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\uff08\u305f\u3068\u3048\u3070\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u30df\u30b9\u3068\u304b\u5206\u5c90\u4e88\u6e2c\u30df\u30b9\u3068\u304b\u306e\u56de\u6570\uff09\u304c\u3067\u304d\u306a\u3044\u3068\u304b\u3044\u308d\u3044\u308d\u554f\u984c\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u307b\u3068\u3093\u3069\u306e\u5834\u5408\u306f\u305d\u3053\u307e\u3067\u7d30\u304b\u3044\u30d7\u30ed\u30d5\u30a1\u30a4\u30eb\u306f\u3057\u306a\u3044\u3068\u601d\u3046\u306e\u3067\u3001\u3053\u308c\u3067\u884c\u3051\u305d\u3046\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware vSphere Hypervisor 5 (ESXi 5) \u4e0a\u306e Linux (CentOS 6) \u3067 OProfile \u3092\u4f7f\u304a\u3046\u3068\u3057\u3066\u5168\u7136\u30c7\u30fc\u30bf\u304c\u53d6\u308c\u306a\u304f\u3066\u982d\u3092\u3072\u306d\u3063\u3066\u3044\u305f\u3093\u3067\u3059\u304c\u3001VM \u4e0a\u3067\u306f\uff08VMwa [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3151","post","type-post","status-publish","format-standard","hentry","category-software"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3151"}],"version-history":[{"count":6,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3151\/revisions"}],"predecessor-version":[{"id":3158,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3151\/revisions\/3158"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3151"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}