| 3 | | <head> |
| 4 | | <title> |
| 5 | | linux/profiling – Gateworks |
| 6 | | </title> |
| 7 | | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |
| 8 | | <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |
| 9 | | <!--[if IE]><script type="text/javascript"> |
| 10 | | if (/^#__msie303:/.test(window.location.hash)) |
| 11 | | window.location.replace(window.location.hash.replace(/^#__msie303:/, '#')); |
| 12 | | </script><![endif]--> |
| 13 | | <link rel="search" href="/search" /> |
| 14 | | <link rel="help" href="/wiki/TracGuide" /> |
| 15 | | <link rel="alternate" href="/wiki/linux/profiling?format=txt" type="text/x-trac-wiki" title="Plain Text" /> |
| 16 | | <link rel="up" href="/wiki/linux" title="View parent page" /> |
| 17 | | <link rel="start" href="/wiki" /> |
| 18 | | <link rel="stylesheet" href="/chrome/common/css/trac.css" type="text/css" /><link rel="stylesheet" href="/chrome/common/css/wiki.css" type="text/css" /> |
| 19 | | <link rel="shortcut icon" href="/chrome/common/trac.ico" type="image/x-icon" /> |
| 20 | | <link rel="icon" href="/chrome/common/trac.ico" type="image/x-icon" /> |
| 21 | | <link type="application/opensearchdescription+xml" rel="search" href="/search/opensearch" title="Search Gateworks" /> |
| 22 | | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/jquery.js"></script> |
| 23 | | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/babel.js"></script> |
| 24 | | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/trac.js"></script> |
| 25 | | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/search.js"></script> |
| 26 | | <script type="text/javascript" charset="utf-8" src="/chrome/common/js/folding.js"></script> |
| 27 | | <script type="text/javascript"> |
| 28 | | jQuery(document).ready(function($) { |
| 29 | | $("#content").find("h1,h2,h3,h4,h5,h6").addAnchor(_("Link to this section")); |
| 30 | | $("#content").find(".wikianchor").each(function() { |
| 31 | | $(this).addAnchor(babel.format(_("Link to #%(id)s"), {id: $(this).attr('id')})); |
| 32 | | }); |
| 33 | | $(".foldable").enableFolding(true, true); |
| 34 | | }); |
| 35 | | </script> |
| 36 | | </head> |
| 37 | | <body> |
| 38 | | <div id="banner"> |
| 39 | | <div id="header"> |
| 40 | | <a id="logo" href="http://trac.gateworks.com"><img src="/chrome/site/g2998.png" alt="" /></a> |
| 41 | | </div> |
| 42 | | <form id="search" action="/search" method="get"> |
| 43 | | <div> |
| 44 | | <label for="proj-search">Search:</label> |
| 45 | | <input type="text" id="proj-search" name="q" size="18" value="" /> |
| 46 | | <input type="submit" value="Search" /> |
| 47 | | </div> |
| 48 | | </form> |
| 49 | | <div id="metanav" class="nav"> |
| 50 | | <ul> |
| 51 | | <li class="first"><a href="/login">Login</a></li><li><a href="/wiki/TracGuide">Help/Guide</a></li><li><a href="/about">About Trac</a></li><li><a href="/prefs">Preferences</a></li><li class="last"><a href="/register">Register</a></li> |
| 52 | | </ul> |
| 53 | | </div> |
| 54 | | </div> |
| 55 | | <div id="mainnav" class="nav"> |
| 56 | | <ul> |
| 57 | | <li class="first active"><a href="/wiki">Wiki</a></li><li><a href="/timeline">Timeline</a></li><li><a href="/browser">Browse Source</a></li><li class="last"><a href="/search">Search</a></li> |
| 58 | | </ul> |
| 59 | | </div> |
| 60 | | <div id="main"> |
| 61 | | <div id="pagepath" class="noprint"> |
| 62 | | <a class="pathentry first" title="View WikiStart" href="/wiki">wiki:</a><a class="pathentry" href="/wiki/linux" title="View linux"><b style="color:#000;background:#ffff66">linux</b></a><span class="pathentry sep">/</span><a class="pathentry" href="/wiki/linux/profiling" title="View linux/profiling"><b style="color:#000;background:#66ffff">profiling</b></a> |
| 63 | | </div> |
| 64 | | <div id="ctxtnav" class="nav"> |
| 65 | | <h2>Context Navigation</h2> |
| 66 | | <ul> |
| 67 | | <li class="first"><a href="/wiki/linux">Up</a></li><li><a href="/wiki/WikiStart">Start Page</a></li><li><a href="/wiki/TitleIndex">Index</a></li><li class="last"><a href="/wiki/linux/profiling?action=history">History</a></li> |
| 68 | | </ul> |
| 69 | | <hr /> |
| 70 | | </div> |
| 71 | | <div id="content" class="wiki"> |
| 72 | | <div class="wikipage searchable"> |
| 73 | | |
| 74 | | <div id="wikipage" class="trac-content"><p> |
| 75 | | </p><div class="wiki-toc"> |
| 76 | | <ol> |
| 77 | | <li> |
| 78 | | <a href="#LinuxOSCodeProfiling"><b style="color:#000;background:#ffcc99">Linux OS Code Profiling</b></a> |
| 79 | | <ol> |
| 80 | | <li> |
| 81 | | <a href="#BasicKernelProfilingCONFIG_PROFILINGandreadprofile">Basic Kernel <b style="color:#000;background:#66ffff">Profiling</b> (CONFIG_<b style="color:#000;background:#66ffff">PROFILING</b> and readprofile)</a> |
| 82 | | </li> |
| 83 | | <li> |
| 84 | | <a href="#OProfile">OProfile</a> |
| 85 | | <ol> |
| 86 | | <li> |
| 87 | | <a href="#OProfileStandardModeimx6">OProfile Standard Mode (imx6)</a> |
| 88 | | </li> |
| 89 | | <li> |
| 90 | | <a href="#OProfileLegacyModecns3xxx">OProfile Legacy Mode (cns3xxx)</a> |
| 91 | | </li> |
| 92 | | </ol> |
| 93 | | </li> |
| 94 | | <li> |
| 95 | | <a href="#Perf">Perf</a> |
| 96 | | </li> |
| 97 | | <li> |
| 98 | | <a href="#OpenWrt">OpenWrt</a> |
| 99 | | </li> |
| 100 | | </ol> |
| 101 | | </li> |
| 102 | | </ol> |
| 103 | | </div><p> |
| 104 | | </p> |