Knowledge

perf (Linux)

Source đź“ť

2498: 2022: 2510: 2034: 2484: 2008: 358:
The documentation of perf is not very detailed (as of 2014); for example, it does not document most events or explain their aliases (often external tools are used to get names and codes of events). Perf tools also cannot profile based on true wall-clock time.
208:
are needed, as most functionality is integrated into the kernel. The perf utility dumps raw data from the mapped buffer to disk when the buffer becomes filled up. According to R. Vitillo (
375:), which was exploited to gain root privileges by a local user. The problem was due to an incorrect type being used (32-bit int instead of 64-bit) in the event_id verification code path. 630: 1584: 2193: 570: 764: 493: 873: 590: 2198: 394: 2223: 1673: 627: 1668: 429: 726: 2444: 798: 2502: 2457: 2208: 2026: 367:
The perf subsystem of Linux kernels from 2.6.37 up to 3.8.8 and RHEL6 kernel 2.6.32 contained a security vulnerability (
384: 2467: 2183: 1405: 1173: 445:, LWN July 1, 2009, "perfcounters being included into the mainline during the recently completed 2.6.31 merge window" 1120: 291: 2541: 399: 126: 57: 2203: 2072: 903: 863: 1165: 2536: 1515: 2462: 2160: 1949: 843: 2155: 1830: 878: 177: 157: 25: 2420: 471: 2251: 2188: 1232: 507:
Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 3B: System Programming Guide, Part 2
2289: 2150: 1931: 1745: 791: 2294: 1936: 1578: 1567: 1070: 914: 2304: 2112: 1499: 1484: 1400: 1188: 993: 279: 696: 275:(RAPL) for power consumption measurements, which is available as a feature of certain Intel CPUs. 1842: 1641: 1277: 1054: 1031: 752: 458: 2343: 2336: 2284: 2165: 1987: 1964: 1959: 1794: 1760: 1750: 1622: 1444: 983: 853: 153:; it is capable of statistical profiling of the entire system (both kernel and userland code). 146: 2128: 2038: 1941: 784: 268: 682: 2432: 2261: 1971: 1573: 1135: 833: 418: 30: 8: 2065: 1767: 1246: 1105: 1039: 603: 2546: 2309: 2175: 2145: 1921: 1755: 1341: 1241: 1178: 1100: 1095: 883: 666: 655:'perf sched': Utility to capture, measure and analyze scheduler latencies and behavior 2117: 1892: 1540: 1510: 1505: 1356: 1011: 973: 2266: 2256: 2097: 1646: 1208: 929: 919: 828: 742: 496:, 16 June 2011, presentation from "Future computing in particle physics" conference 368: 236: 83: 67: 45: 758: 2452: 2213: 1882: 1550: 1331: 634: 372: 193: 164:, software performance counters (e.g. hrtimer), and dynamic probes (for example, 2514: 2376: 2276: 2218: 2102: 2058: 1912: 1817: 1728: 1605: 1600: 1595: 1590: 1373: 1198: 1193: 838: 228: 472:
Evaluate performance for Linux on POWER. Analyze performance using Linux tools
2530: 2426: 2398: 2369: 2362: 2314: 2246: 1847: 1663: 1469: 1459: 1218: 1090: 968: 727:"A closer look at a recent privilege escalation bug in Linux (CVE-2013-2094)" 331:: analyze file generated by perf record; can generate flat, or graph profile. 232: 215:
As of 2010, architectures that provide support for hardware counters include
205: 2488: 2355: 2299: 2122: 2089: 2012: 1733: 1651: 1489: 848: 807: 638: 256: 188:
The interface between the perf utility and the kernel consists of only one
134: 50: 309:: measure total event count for single program or for system for some time 278:
Perf is natively supported in many popular Linux distributions, including
2404: 2390: 2330: 2107: 1738: 1631: 1213: 1110: 650: 770: 1825: 1787: 1692: 1680: 1610: 1520: 1006: 909: 868: 746: 316: 224: 161: 1800: 2383: 2349: 2241: 1687: 1656: 1525: 1361: 1150: 1021: 978: 264: 248: 244: 240: 138: 2410: 1805: 1626: 1615: 1535: 1479: 1474: 1420: 1368: 1257: 1183: 711: 654: 546: 521: 442: 389: 201: 173: 2415: 1887: 1872: 1782: 1772: 1712: 1636: 1530: 1454: 1395: 1309: 1272: 1203: 1145: 1140: 1044: 1001: 550: 525: 220: 189: 165: 72: 1877: 1862: 1852: 1707: 1702: 1464: 1415: 1388: 1351: 1321: 1288: 1267: 1016: 963: 858: 776: 283: 252: 2081: 1697: 1560: 1494: 1449: 1410: 1378: 1346: 1304: 1299: 1262: 1130: 1125: 1085: 1080: 260: 212:), profiling performed by perf involves a very low overhead. 197: 130: 1777: 1555: 1383: 1314: 958: 604:"Debian - Details of package linux-tools-2.6.32 in squeeze" 489: 209: 571:"kernel/git/torvalds/linux.git - Linux kernel source tree" 2483: 2007: 1857: 1835: 216: 169: 2050: 591:
6.4. Performance Counters for Linux (PCL) Tools and perf
31:
https://github.com/torvalds/linux/tree/master/tools/perf
667:
How to monitor the full range of CPU performance events
474:, 12 Jun 2012 // IBM DeveloperWorks Technical library 453: 451: 343:: tracing/measuring of scheduler actions and latencies 267:, is available as a patch. Since version 3.14 of the 755:, presentation from Linux Kongress, September, 2010 461:, presentation from Linux Kongress, September, 2010 448: 325:: measure and save sampling data for single program 271:, released on March 31, 2014, perf also supports 2528: 694: 2066: 1816: 792: 395:Performance Application Programming Interface 547:"RAPL (Running Average Power Limit) driver" 282:(since its version 6 released in 2010) and 2073: 2059: 1920: 799: 785: 724: 697:"New Linux Kernel Vulnerability Exploited" 484: 482: 480: 622: 620: 544: 519: 419:The Unofficial Linux Perf Events Web-Page 2503:Free and open-source software portal 2027:Free and open-source software portal 1585:Earliest eligible virtual deadline first 712:"Local root vulnerability in the kernel" 509:. Intel. June 2009. p. 19-2 vol. 3. 677: 675: 477: 432:// 2013 FastPath Workshop, Vince Weaver 319:-like dynamic view of hottest functions 302:perf is used with several subcommands: 176:) as one of the two most commonly used 2529: 709: 617: 430:Linux perf event Features and Overhead 172:engineers recognized perf (along with 2054: 821: 780: 672: 196:and a mapped memory region. Unlike 2445:Professional related certifications 255:. Usage of Last Branch Records, a 16:Performance analyzing tool in Linux 13: 443:Perfcounters added to the mainline 385:List of performance analysis tools 14: 2558: 2224:List of software package managers 2209:Security-focused operating system 736: 683:perf: the good, the bad, the ugly 183: 2509: 2508: 2496: 2482: 2033: 2032: 2020: 2006: 874:Supported computer architectures 806: 759:Linux kernel profiling with perf 400:Profiling (computer programming) 150: 2199:Distributions that run from RAM 904:The Linux Programming Interface 718: 703: 688: 660: 644: 596: 584: 563: 62:Performance monitor and testing 695:Michael Larabel (2013-05-15). 538: 513: 499: 494:PERFORMANCE TOOLS DEVELOPMENTS 464: 435: 423: 411: 337:: annotate sources or assembly 297: 119:Performance Counters for Linux 1: 405: 294:(Squeeze) released in 2011). 158:hardware performance counters 2156:GNU/Linux naming controversy 573:. Git.kernel.org. 2014-01-20 353: 259:implementation available in 7: 2252:Linux Documentation Project 2194:Netbook-specific comparison 765:Hardware PMU support charts 522:"Lots of new perf features" 378: 362: 273:running average power limit 168:or uprobes). In 2012, two 141:controlling utility, named 10: 2563: 2151:Criticism of desktop Linux 1746:High-performance computing 1568:Process and I/O schedulers 753:The New Linux ’perf’ tools 751:Arnaldo Carvalho de Melo, 681:Robert Haas (PostgreSQL), 459:The New Linux ’perf’ tools 457:Arnaldo Carvalho de Melo, 180:profiling tools on Linux. 2476: 2443: 2323: 2275: 2234: 2174: 2161:Tanenbaum–Torvalds debate 2138: 2088: 2080: 2000: 1980: 1911: 1721: 1579:Completely Fair Scheduler 1437: 1330: 1240: 1231: 1164: 1069: 1062: 1053: 1030: 992: 951: 944: 892: 844:Tanenbaum–Torvalds debate 814: 767:- check perf_event column 725:Joe Damato (2013-05-20). 149:and provides a number of 78: 66: 56: 44: 36: 24: 1500:Kernel same-page merging 545:Jacob Pan (2013-04-02). 520:Jake Edge (2014-04-09). 280:Red Hat Enterprise Linux 137:version 2.6.31 in 2009. 2542:Linux programming tools 1843:OS-level virtualization 593:// RHEL Developer Guide 470:A. Zanella, R. Arnold. 349:: list available events 145:, is accessed from the 2337:Free Software Magazine 2267:Linux User Group (LUG) 1988:List of Linux adopters 930:Linux User Group (LUG) 669:// Bojan Nikolic, 2012 2537:Linux kernel features 710:corbet (2013-05-15). 606:. Packages.debian.org 269:Linux kernel mainline 200:or older versions of 127:performance analyzing 2262:Linux Mark Institute 1574:Brain Fuck Scheduler 834:Linux Mark Institute 488:Roberto A. Vitillo ( 1768:Real-time computing 1040:Linux Standard Base 178:performance counter 21: 2189:Distributions list 2184:General comparison 2146:Criticism of Linux 1756:Compute Node Linux 1342:C standard library 633:2012-12-14 at the 288:linux-tools-common 192:and is done via a 109:(sometimes called 19: 2524: 2523: 2048: 2047: 1996: 1995: 1907: 1906: 1903: 1902: 1541:Network scheduler 1433: 1432: 1429: 1428: 1227: 1226: 974:Linux kernel oops 940: 939: 920:Linux conferences 685:// June 06, 2012 133:, available from 104: 103: 2554: 2512: 2511: 2501: 2500: 2499: 2489:Linux portal 2487: 2486: 2458:Linux Foundation 2257:Linux Foundation 2075: 2068: 2061: 2052: 2051: 2036: 2035: 2025: 2024: 2023: 2013:Linux portal 2011: 2010: 1918: 1917: 1814: 1813: 1623:Security Modules 1238: 1237: 1067: 1066: 1060: 1059: 949: 948: 829:Linux Foundation 819: 818: 801: 794: 787: 778: 777: 773:by Brendan Gregg 731: 730: 722: 716: 715: 707: 701: 700: 692: 686: 679: 670: 664: 658: 648: 642: 628:perf file format 624: 615: 614: 612: 611: 600: 594: 588: 582: 581: 579: 578: 567: 561: 560: 558: 557: 542: 536: 535: 533: 532: 517: 511: 510: 503: 497: 486: 475: 468: 462: 455: 446: 439: 433: 427: 421: 415: 348: 342: 336: 330: 324: 314: 308: 144: 100: 97: 95: 93: 91: 89: 87: 85: 46:Operating system 22: 18: 2562: 2561: 2557: 2556: 2555: 2553: 2552: 2551: 2527: 2526: 2525: 2520: 2497: 2495: 2481: 2472: 2439: 2319: 2271: 2230: 2214:Package manager 2170: 2134: 2113:Booting process 2084: 2079: 2049: 2044: 2021: 2019: 2005: 1992: 1976: 1923: 1899: 1883:User-mode Linux 1812: 1717: 1425: 1333: 1326: 1245: 1223: 1160: 1072: 1049: 1026: 988: 936: 888: 879:Version history 810: 805: 739: 734: 723: 719: 708: 704: 693: 689: 680: 673: 665: 661: 649: 645: 635:Wayback Machine 625: 618: 609: 607: 602: 601: 597: 589: 585: 576: 574: 569: 568: 564: 555: 553: 543: 539: 530: 528: 518: 514: 505: 504: 500: 487: 478: 469: 465: 456: 449: 440: 436: 428: 424: 416: 412: 408: 381: 365: 356: 346: 340: 334: 328: 322: 312: 306: 300: 292:Debian 6.0 290:package (since 194:file descriptor 186: 142: 82: 17: 12: 11: 5: 2560: 2550: 2549: 2544: 2539: 2522: 2521: 2519: 2518: 2506: 2492: 2477: 2474: 2473: 2471: 2470: 2465: 2460: 2455: 2453:CompTIA Linux+ 2449: 2447: 2441: 2440: 2438: 2437: 2430: 2423: 2418: 2413: 2408: 2401: 2396: 2395: 2394: 2380: 2377:Linux Magazine 2373: 2366: 2359: 2352: 2347: 2340: 2333: 2327: 2325: 2321: 2320: 2318: 2317: 2312: 2307: 2302: 2297: 2292: 2287: 2281: 2279: 2273: 2272: 2270: 2269: 2264: 2259: 2254: 2249: 2244: 2238: 2236: 2232: 2231: 2229: 2228: 2227: 2226: 2221: 2219:Package format 2211: 2206: 2201: 2196: 2191: 2186: 2180: 2178: 2172: 2171: 2169: 2168: 2163: 2158: 2153: 2148: 2142: 2140: 2136: 2135: 2133: 2132: 2125: 2120: 2115: 2110: 2105: 2100: 2094: 2092: 2086: 2085: 2078: 2077: 2070: 2063: 2055: 2046: 2045: 2043: 2042: 2030: 2016: 2001: 1998: 1997: 1994: 1993: 1991: 1990: 1984: 1982: 1978: 1977: 1975: 1974: 1969: 1968: 1967: 1962: 1954: 1953: 1952: 1944: 1939: 1934: 1928: 1926: 1915: 1909: 1908: 1905: 1904: 1901: 1900: 1898: 1897: 1896: 1895: 1890: 1885: 1880: 1875: 1867: 1866: 1865: 1860: 1855: 1850: 1840: 1839: 1838: 1833: 1822: 1820: 1818:Virtualization 1811: 1810: 1809: 1808: 1803: 1792: 1791: 1790: 1785: 1780: 1775: 1765: 1764: 1763: 1758: 1753: 1743: 1742: 1741: 1736: 1725: 1723: 1719: 1718: 1716: 1715: 1710: 1705: 1700: 1695: 1690: 1684: 1683: 1678: 1677: 1676: 1671: 1664:Device drivers 1660: 1659: 1654: 1649: 1644: 1639: 1634: 1629: 1619: 1618: 1613: 1608: 1606:SCHED_DEADLINE 1603: 1601:O(1) scheduler 1598: 1596:O(n) scheduler 1593: 1591:Noop scheduler 1588: 1582: 1576: 1571: 1564: 1563: 1558: 1553: 1548: 1543: 1538: 1533: 1528: 1523: 1518: 1513: 1508: 1503: 1497: 1492: 1487: 1482: 1477: 1472: 1467: 1462: 1457: 1452: 1447: 1445:Kernel modules 1441: 1439: 1435: 1434: 1431: 1430: 1427: 1426: 1424: 1423: 1418: 1413: 1408: 1403: 1398: 1393: 1392: 1391: 1386: 1381: 1376: 1371: 1366: 1365: 1364: 1354: 1349: 1338: 1336: 1328: 1327: 1325: 1324: 1319: 1318: 1317: 1307: 1302: 1297: 1294: 1291: 1286: 1283: 1280: 1275: 1270: 1265: 1260: 1255: 1251: 1249: 1235: 1229: 1228: 1225: 1224: 1222: 1221: 1216: 1211: 1206: 1201: 1199:Memory barrier 1196: 1191: 1186: 1181: 1176: 1170: 1168: 1162: 1161: 1159: 1158: 1157: 1156: 1153: 1148: 1143: 1138: 1133: 1128: 1118: 1117: 1116: 1113: 1108: 1103: 1098: 1093: 1088: 1077: 1075: 1064: 1057: 1051: 1050: 1048: 1047: 1042: 1036: 1034: 1028: 1027: 1025: 1024: 1019: 1014: 1009: 1004: 998: 996: 990: 989: 987: 986: 981: 976: 971: 966: 961: 955: 953: 946: 942: 941: 938: 937: 935: 934: 933: 932: 924: 923: 922: 917: 912: 907: 896: 894: 890: 889: 887: 886: 881: 876: 871: 866: 861: 856: 851: 846: 841: 836: 831: 825: 823: 816: 812: 811: 804: 803: 796: 789: 781: 775: 774: 768: 762: 756: 749: 738: 737:External links 735: 733: 732: 717: 702: 687: 671: 659: 643: 616: 595: 583: 562: 537: 512: 498: 476: 463: 447: 434: 422: 417:Vince Weaver, 409: 407: 404: 403: 402: 397: 392: 387: 380: 377: 364: 361: 355: 352: 351: 350: 344: 338: 332: 326: 320: 310: 299: 296: 257:branch tracing 185: 184:Implementation 182: 102: 101: 80: 76: 75: 70: 64: 63: 60: 54: 53: 48: 42: 41: 38: 34: 33: 28: 15: 9: 6: 4: 3: 2: 2559: 2548: 2545: 2543: 2540: 2538: 2535: 2534: 2532: 2517: 2516: 2507: 2505: 2504: 2493: 2491: 2490: 2485: 2479: 2478: 2475: 2469: 2466: 2464: 2461: 2459: 2456: 2454: 2451: 2450: 2448: 2446: 2442: 2436: 2435: 2431: 2429: 2428: 2427:Revolution OS 2424: 2422: 2419: 2417: 2414: 2412: 2409: 2407: 2406: 2402: 2400: 2399:Linux Outlaws 2397: 2393: 2392: 2388: 2387: 2386: 2385: 2381: 2379: 2378: 2374: 2372: 2371: 2370:Linux Journal 2367: 2365: 2364: 2363:Linux Gazette 2360: 2358: 2357: 2353: 2351: 2348: 2346: 2345: 2341: 2339: 2338: 2334: 2332: 2329: 2328: 2326: 2322: 2316: 2315:Linux malware 2313: 2311: 2308: 2306: 2303: 2301: 2298: 2296: 2293: 2291: 2288: 2286: 2283: 2282: 2280: 2278: 2274: 2268: 2265: 2263: 2260: 2258: 2255: 2253: 2250: 2248: 2247:Linux Counter 2245: 2243: 2240: 2239: 2237: 2235:Organizations 2233: 2225: 2222: 2220: 2217: 2216: 2215: 2212: 2210: 2207: 2205: 2202: 2200: 2197: 2195: 2192: 2190: 2187: 2185: 2182: 2181: 2179: 2177: 2176:Distributions 2173: 2167: 2166:SCO and Linux 2164: 2162: 2159: 2157: 2154: 2152: 2149: 2147: 2144: 2143: 2141: 2139:Controversies 2137: 2131: 2130: 2126: 2124: 2121: 2119: 2116: 2114: 2111: 2109: 2106: 2104: 2101: 2099: 2096: 2095: 2093: 2091: 2087: 2083: 2076: 2071: 2069: 2064: 2062: 2057: 2056: 2053: 2041: 2040: 2031: 2029: 2028: 2017: 2015: 2014: 2009: 2003: 2002: 1999: 1989: 1986: 1985: 1983: 1979: 1973: 1970: 1966: 1963: 1961: 1958: 1957: 1955: 1951: 1948: 1947: 1946:Thin client: 1945: 1943: 1940: 1938: 1935: 1933: 1930: 1929: 1927: 1925: 1919: 1916: 1914: 1910: 1894: 1891: 1889: 1886: 1884: 1881: 1879: 1876: 1874: 1871: 1870: 1868: 1864: 1861: 1859: 1856: 1854: 1851: 1849: 1848:Linux-VServer 1846: 1845: 1844: 1841: 1837: 1834: 1832: 1829: 1828: 1827: 1824: 1823: 1821: 1819: 1815: 1807: 1804: 1802: 1799: 1798: 1796: 1793: 1789: 1786: 1784: 1781: 1779: 1776: 1774: 1771: 1770: 1769: 1766: 1762: 1759: 1757: 1754: 1752: 1749: 1748: 1747: 1744: 1740: 1737: 1735: 1732: 1731: 1730: 1727: 1726: 1724: 1720: 1714: 1711: 1709: 1706: 1704: 1701: 1699: 1696: 1694: 1691: 1689: 1686: 1685: 1682: 1679: 1675: 1672: 1670: 1667: 1666: 1665: 1662: 1661: 1658: 1655: 1653: 1650: 1648: 1645: 1643: 1640: 1638: 1635: 1633: 1630: 1628: 1624: 1621: 1620: 1617: 1614: 1612: 1609: 1607: 1604: 1602: 1599: 1597: 1594: 1592: 1589: 1586: 1583: 1580: 1577: 1575: 1572: 1569: 1566: 1565: 1562: 1559: 1557: 1554: 1552: 1549: 1547: 1544: 1542: 1539: 1537: 1534: 1532: 1529: 1527: 1524: 1522: 1519: 1517: 1514: 1512: 1509: 1507: 1504: 1501: 1498: 1496: 1493: 1491: 1488: 1486: 1483: 1481: 1478: 1476: 1473: 1471: 1470:Device mapper 1468: 1466: 1463: 1461: 1458: 1456: 1453: 1451: 1448: 1446: 1443: 1442: 1440: 1436: 1422: 1419: 1417: 1414: 1412: 1409: 1407: 1404: 1402: 1399: 1397: 1394: 1390: 1387: 1385: 1382: 1380: 1377: 1375: 1372: 1370: 1367: 1363: 1360: 1359: 1358: 1355: 1353: 1350: 1348: 1345: 1344: 1343: 1340: 1339: 1337: 1335: 1329: 1323: 1320: 1316: 1313: 1312: 1311: 1308: 1306: 1303: 1301: 1298: 1295: 1292: 1290: 1287: 1284: 1281: 1279: 1276: 1274: 1271: 1269: 1266: 1264: 1261: 1259: 1256: 1253: 1252: 1250: 1248: 1243: 1239: 1236: 1234: 1230: 1220: 1217: 1215: 1212: 1210: 1207: 1205: 1202: 1200: 1197: 1195: 1192: 1190: 1187: 1185: 1182: 1180: 1177: 1175: 1172: 1171: 1169: 1167: 1163: 1154: 1152: 1149: 1147: 1144: 1142: 1139: 1137: 1134: 1132: 1129: 1127: 1124: 1123: 1122: 1119: 1114: 1112: 1109: 1107: 1104: 1102: 1099: 1097: 1094: 1092: 1089: 1087: 1084: 1083: 1082: 1079: 1078: 1076: 1074: 1068: 1065: 1061: 1058: 1056: 1052: 1046: 1043: 1041: 1038: 1037: 1035: 1033: 1029: 1023: 1020: 1018: 1015: 1013: 1010: 1008: 1005: 1003: 1000: 999: 997: 995: 991: 985: 982: 980: 977: 975: 972: 970: 967: 965: 962: 960: 957: 956: 954: 950: 947: 943: 931: 928: 927: 925: 921: 918: 916: 913: 911: 908: 906: 905: 901: 900: 898: 897: 895: 891: 885: 882: 880: 877: 875: 872: 870: 867: 865: 862: 860: 857: 855: 852: 850: 847: 845: 842: 840: 837: 835: 832: 830: 827: 826: 824: 820: 817: 813: 809: 802: 797: 795: 790: 788: 783: 782: 779: 772: 771:perf Examples 769: 766: 763: 760: 757: 754: 750: 748: 744: 741: 740: 728: 721: 713: 706: 698: 691: 684: 678: 676: 668: 663: 657:, 17 Sep 2009 656: 652: 647: 640: 636: 632: 629: 623: 621: 605: 599: 592: 587: 572: 566: 552: 548: 541: 527: 523: 516: 508: 502: 495: 491: 485: 483: 481: 473: 467: 460: 454: 452: 444: 438: 431: 426: 420: 414: 410: 401: 398: 396: 393: 391: 388: 386: 383: 382: 376: 374: 370: 360: 345: 339: 333: 327: 321: 318: 311: 305: 304: 303: 295: 293: 289: 285: 281: 276: 274: 270: 266: 262: 258: 254: 250: 246: 242: 239:(v5, v6, v7, 238: 234: 230: 226: 222: 218: 213: 211: 207: 204:, no service 203: 199: 195: 191: 181: 179: 175: 171: 167: 163: 159: 154: 152: 148: 140: 136: 132: 128: 124: 120: 117:, originally 116: 112: 108: 99: 81: 77: 74: 71: 69: 65: 61: 59: 55: 52: 49: 47: 43: 39: 35: 32: 29: 27: 23: 2513: 2494: 2480: 2433: 2425: 2403: 2389: 2382: 2375: 2368: 2361: 2356:Linux Format 2354: 2342: 2335: 2310:Range of use 2127: 2090:Linux kernel 2037: 2018: 2004: 1734:Linux kernel 1652:Tomoyo Linux 1545: 1247:File systems 902: 854:SCO disputes 815:Organization 808:Linux kernel 720: 705: 690: 662: 646: 639:CERN OpenLab 626:Urs Fässler 608:. Retrieved 598: 586: 575:. Retrieved 565: 554:. Retrieved 540: 529:. Retrieved 515: 506: 501: 466: 437: 425: 413: 366: 357: 301: 287: 277: 272: 214: 187: 156:It supports 155: 147:command line 135:Linux kernel 122: 118: 114: 110: 106: 105: 51:Linux kernel 2405:Linux Voice 2391:Ubuntu User 2344:Full Circle 2331:DistroWatch 2204:Lightweight 2118:Kernel oops 2108:Linux-libre 2103:Linus's law 1739:Linux-libre 1632:Exec Shield 1511:Framebuffer 1214:Video4Linux 1071:System Call 899:Developers 839:Linus's law 743:perf's wiki 699:. Phoronix. 651:Ingo Molnar 441:Jake Edge, 298:Subcommands 263:CPUs since 162:tracepoints 151:subcommands 111:perf_events 2531:Categories 1826:Hypervisor 1788:PREEMPT_RT 1693:KernelCare 1681:Raw device 1611:SCHED_FIFO 1521:KMS driver 1438:Components 1293:securityfs 1179:Crypto API 1121:Linux-only 1007:System.map 910:kernel.org 869:menuconfig 864:GNU GPL v2 747:kernel.org 610:2014-03-31 577:2014-03-31 556:2014-04-22 531:2014-04-22 406:References 225:UltraSPARC 115:perf tools 37:Written in 26:Repository 2547:Profilers 2384:LinuxUser 2350:Linux.com 2242:LinuxChix 1965:LYME-LYCE 1688:initramfs 1657:Linux PAM 1526:Netfilter 1396:libcgroup 1362:libhybris 1334:libraries 1282:hugetlbfs 1233:Userspace 1166:In-kernel 1151:readahead 1073:Interface 1022:initramfs 979:SystemTap 952:Debugging 945:Technical 884:Criticism 373:2013-2094 354:Criticism 265:Pentium 4 251:EV56 and 241:Cortex-A8 139:Userspace 2515:Category 2434:The Code 2421:Phoronix 2411:LugRadio 2295:Embedded 2285:Adopters 2277:Adoption 2039:Category 1981:Adopters 1956:Server: 1937:Embedded 1913:Adoption 1806:PSXLinux 1729:Mainline 1722:Variants 1674:graphics 1627:AppArmor 1616:SCHED_RR 1536:nftables 1480:dm-crypt 1475:dm-cache 1421:liburing 1411:libevdev 1369:dietlibc 1258:configfs 1184:io uring 761:tutorial 631:Archived 390:OProfile 379:See also 363:Security 335:annotate 202:oprofile 174:OProfile 129:tool in 2463:Red Hat 2416:LWN.net 2290:Desktop 2098:History 1972:Devices 1932:Desktop 1893:coLinux 1888:MkLinux 1873:L4Linux 1801:ÎĽClinux 1783:Xenomai 1773:RTLinux 1713:Ksplice 1642:SELinux 1637:seccomp 1587:(EEVDF) 1531:Netlink 1460:Console 1455:cgroups 1406:libalsa 1332:Wrapper 1310:systemd 1273:debugfs 1242:Daemons 1204:New API 1146:inotify 1141:dnotify 1045:x32 ABI 1002:vmlinux 994:Startup 893:Support 551:LWN.net 526:LWN.net 286:in the 221:PowerPC 206:daemons 190:syscall 166:kprobes 125:) is a 88:.kernel 79:Website 73:GNU GPL 68:License 2468:Ubuntu 2305:Mobile 2300:Gaming 1942:Gaming 1924:of use 1878:ELinOS 1869:Other 1863:OpenVZ 1853:Lguest 1797:-less 1708:kpatch 1703:kGraft 1669:802.11 1465:bcache 1416:libusb 1401:libdrm 1389:Newlib 1374:EGLIBC 1357:Bionic 1352:uClibc 1322:Kmscon 1296:sockfs 1289:procfs 1285:pipefs 1268:devpts 1194:kernfs 1136:splice 1091:select 1063:Kernel 1017:initrd 1012:dracut 964:ftrace 926:Users 859:Linaro 822:Kernel 714:. LWN. 641:, 2011 329:report 323:record 284:Debian 253:SuperH 92:/index 2324:Media 2129:more… 2082:Linux 1922:Range 1761:SLURM 1698:kexec 1647:Smack 1581:(CFS) 1561:zswap 1502:(KSM) 1495:evdev 1450:BlueZ 1379:klibc 1347:glibc 1305:tmpfs 1300:sysfs 1263:devfs 1254:bpffs 1131:epoll 1126:futex 1106:close 1086:ioctl 1081:POSIX 969:kdump 341:sched 261:Intel 249:Alpha 198:LTTng 131:Linux 98:_Page 96:/Main 86:.wiki 1960:LAMP 1950:LTSP 1778:RTAI 1556:zram 1551:SLUB 1546:perf 1490:EDAC 1384:musl 1315:udev 1278:FUSE 1174:ALSA 1111:sync 1101:read 1096:open 1055:APIs 1032:ABIs 959:CRIU 915:LKML 490:LBNL 347:list 307:stat 243:and 231:and 223:64, 210:LBNL 143:perf 107:perf 94:.php 90:.org 84:perf 58:Type 20:perf 2123:Tux 1858:LXC 1836:Xen 1831:KVM 1795:MMU 1751:INK 1516:LVM 1506:LIO 1485:DRM 1219:IIO 1209:RCU 1189:DRM 984:BPF 849:Tux 745:on 492:). 369:CVE 317:top 313:top 247:), 245:-A9 237:ARM 235:), 229:III 217:x86 170:IBM 123:PCL 113:or 2533:: 1625:: 674:^ 653:, 637:, 619:^ 549:. 524:. 479:^ 450:^ 315:: 233:IV 219:, 160:, 121:, 2074:e 2067:t 2060:v 1570:: 1244:, 1155:… 1115:… 800:e 793:t 786:v 729:. 613:. 580:. 559:. 534:. 371:- 227:( 40:C

Index

Repository
https://github.com/torvalds/linux/tree/master/tools/perf
Operating system
Linux kernel
Type
License
GNU GPL
perf.wiki.kernel.org/index.php/Main_Page
performance analyzing
Linux
Linux kernel
Userspace
command line
subcommands
hardware performance counters
tracepoints
kprobes
IBM
OProfile
performance counter
syscall
file descriptor
LTTng
oprofile
daemons
LBNL
x86
PowerPC
UltraSPARC
III

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑