1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790
|
commit 649480fd1f14d3079a41c68b7f29c5fff5ad07ab
Merge: b1da997 5f1e84f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Dec 2 10:32:10 2011 +0100
Merge tag 'v0.83' of git://github.com/clrkwllms/rt-tests
Further update changelog and refresh patches
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 5f1e84f8b015df3ff950056494134eca3f640d70
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 26 14:53:10 2011 -0500
version bump to 0.83
Signed-off-by: Clark Williams <williams@redhat.com>
commit cb1540450329d745f528e38f54a4906dab91eb96
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 26 14:49:36 2011 -0500
Modified Makefile to be smarter about turning on/off NUMA compile
Combined Uwe Kleine-König and Frank Rowand's suggestions into a
Makefile modification that tries to be smart about turning on
NUMA, while allowing it to be explicitly enabled/disabled via
command line options
Signed-off-by: Clark Williams <williams@redhat.com>
commit e1fab5b28076ec1f61601498f393c08a0cb817cd
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 21 09:37:38 2011 -0500
version bump to 0.82
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6ea14c157e192e9c79e1bbbcf9a6a07ca06eaa7e
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 21 09:37:15 2011 -0500
fix print that causes histogram processing error in cyclictest
Signed-off-by: Clark Williams <williams@redhat.com>
commit 188f30ab405c79eba6c7b5d83368548c746af3c1
Author: Clark Williams <williams@redhat.com>
Date: Tue Sep 20 15:37:05 2011 -0500
version bump to 0.81
Signed-off-by: Clark Williams <williams@redhat.com>
commit 9f7bdd9961f22d770e3efb7ab392ec2c67ea9878
Author: Clark Williams <williams@redhat.com>
Date: Tue Sep 20 15:34:20 2011 -0500
cleaned up previous hack for using /dev/cpu_dma_latency
Changed function name to set_latency_target() and added a
command line argument to allow passing in values other than
the default of zero microseconds.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 474528f69e89c471501da3c1f495fb813ea2b984
Author: Clark Williams <williams@redhat.com>
Date: Tue Sep 20 13:44:01 2011 -0500
version bump to 0.80
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1310f57cfe4b65646ddaaea26ad5f2469e211757
Author: Clark Williams <williams@redhat.com>
Date: Tue Sep 20 13:41:02 2011 -0500
use latency trick to hold system in idle=poll for duration of cyclictest run
Use the /dev/cpu_dma_latency power management interface to hold the
system in idle=poll state while cyclictest is running. Look in the
kernel documenation: Documentation/power/pm_qos_interface.txt for
more information.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 3edea442f644c112f47e17f876ba06e986007653
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 15 09:41:16 2011 -0500
version bump to 0.79
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6c0c79b5152a6ad97b60915a008c023fff0da3bb
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 15 09:35:41 2011 -0500
hackbench mods to work better under stress
added a signal_worker routine to send individual SIGTERM's to
worker threads (since sending via pid=0 seems to have issues).
Also added the -F/--fifo option to change the main thread to a
SCHED_FIFO realtime thread after creating the workers. This will
allow the mangagement thread to run when there are tons of workers.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 69293365eb0c52686c493d7c88db8d91e5b01b3d
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 14 15:52:03 2011 -0500
version bump to 0.78
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7595c237b4b927386923a10a712f36ce5d5c20f3
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 14 15:49:39 2011 -0500
modify signal handling logic and clarify mode
Modify signal handling logic so main can't receive sigterm when
reaping children
Also added THREAD_MODE and PROCESS_MODE defines to use rather than
bare constants 0 and 1.
Signed-off-by: Clark Williams <williams@redhat.com>
commit c25e679b69c1a7e2621738c94287d214bd3cf2e0
Author: Clark Williams <williams@redhat.com>
Date: Fri Sep 9 16:54:01 2011 -0500
version bump to 0.77
Signed-off-by: Clark Williams <williams@redhat.com>
commit f82a965a6216946d4ddc8d9bf1dd544b186703af
Author: Clark Williams <williams@redhat.com>
Date: Fri Sep 9 16:51:29 2011 -0500
remove tracemark functions from cyclictest
removed trace marking functions because they cause too much
contention on multiprocessor systems.
Signed-off-by: Clark Williams <williams@redhat.com>
commit fda485332d2c203920d02450988afc564d3c99f3
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 7 16:26:37 2011 -0500
version bump to 0.76
Signed-off-by: Clark Williams <williams@redhat.com>
commit 3209d3c634db739605c6d3fbd9ad55cb50d1f2df
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 7 16:25:02 2011 -0500
add stat(2) shortcuts to mount_debugfs()
Before trying to parse /proc/mount, check for existance of directories
/sys/kernel/debug/tracing and /debug/tracing using stat(2).
Signed-off-by: Clark Williams <williams@redhat.com>
commit aca74c66e53b884ecd9638a2be286794e0d43c40
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 7 16:23:31 2011 -0500
modify /proc/sys/kernel/ftrace_enabled handling
Only turn on ftrace_enabled if we're doing tracing that requires
the function tracer. Don't turn it on for event-based tracing. Also,
turn it off a the end of a run.
Signed-off-by: Clark Williams <williams@redhat.com>
commit ff044e71420ccaf066adc02d27df53edffc76b5b
Author: Clark Williams <williams@redhat.com>
Date: Wed Sep 7 15:32:54 2011 -0500
handle stupid systemd automount of debugfs
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7c59bf385d7f03ccd324e6cb33a87b97593b7008
Author: Clark Williams <williams@redhat.com>
Date: Fri Sep 2 11:10:06 2011 -0500
version bump to 0.75
Signed-off-by: Clark Williams <williams@redhat.com>
commit e19cbadffcb99236f3e98f9ec6a838804f143108
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 22:44:38 2011 -0400
allow tracemark() to take variable args
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit da4956cbcaf7945554f30e4d3a9be09b1431b19a
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 21:29:31 2011 -0400
use interval on first loop instead of 1 second
Use the interval given for the first loop instead of
one second wait.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit ae357be2e8d48cc1fd14816a205d5f5f74007b40
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 21:26:59 2011 -0400
only check file descriptor in tracemark() function
If the tracemark_fd is >= 0, then we know we can write to the
trace_marker file. We only need to check that and not version of
the kernel or anything else at every instance of calling tracemark().
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit 8c1e851bfedd000a13a6faaee4cb775cda785b37
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 21:21:47 2011 -0400
do not touch tracing_thresh
The -b argument is for stopping the cyclictest when it misses a wakup
by that # microseconds. Setting the tracing_thresh causes the latency tracer
to ignore any latency under tracing_thresh. These two meanings are completely
agnostic to each other, and should not be the same. We want the max latency,
that should be good enough. Not only those that are bigger than our missed
deadline. That misses most of our traces that we want.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit 1f4e25c03767174ad441e78e49c1744741efff31
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 18:35:42 2011 -0400
Have -I and -P together also be -B
-B is used to enable preemptirqsoff, but it also makes sense that one
could use both -I and -P together for the same thing.
Also rename the enum IRQPREEMPTOFF TO PREEMPTIRQSOFF to match the
tracer it represents and avoid confusion.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit bd2a8da00b01bd9061890bb8bd196309cd28441a
Author: Steven Rostedt <srostedt@redhat.com>
Date: Thu Sep 1 18:08:15 2011 -0400
allow events for all tracers
Events are available for all tracers, including function and latency
tracers. Do not treat them as a tracer. The -E option is agnostic to
the tracer options, and if it is set, then events will be enabled for
any tracer that is also set. If it is set by itself, then events will
be enabled with the nop tracer.
Also, the nop tracer is set before setting any of the tracers. This
makes the nop tracer the default as well as clears out the trace before
running the test.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
commit ee95ac26879e79b88ecf56d4b35c3bb0e23a74d9
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 1 09:41:37 2011 -0500
commit WIP for rostedt
Signed-off-by: Clark Williams <williams@redhat.com>
commit b1da9977f07c6c343c1fdb50c556cadfd5bcefd1
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Aug 26 09:26:00 2011 +0200
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 18ccf852431d2def44d9d994012299fc37493309
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Aug 26 09:24:54 2011 +0200
debian/copyright: update for 0.74
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit cd6e5800356414cee855788632a68fbc7e9a138e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Aug 20 15:01:38 2011 +0200
new patch fixing a build failure in the backfire kernel module
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 2601f579508879105272d882cd407aca0527f201
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Aug 20 15:01:12 2011 +0200
debian: Update to v0.74
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 579bae293907bc8ed4e9036e0594e44d4e77b709
Merge: 23305f2 3e55619
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Aug 20 14:49:25 2011 +0200
Merge tag 'v0.74' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 3e55619c86c2604638c06c31c87881084f643274
Author: Clark Williams <williams@redhat.com>
Date: Thu Aug 18 09:15:57 2011 -0500
version bump to 0.74
Signed-off-by: Clark Williams <williams@redhat.com>
commit 39451cc083b27f706659590ccb316358846c2104
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Aug 18 09:05:25 2011 -0500
fix possible buffer overflow in string handling
strncat writes up to n+1 chars when n is passed as 3rd argument. So when
doing
strncpy(filename, fileprefix, sizeof(filename));
strncat(filename, name, sizeof(filename) - strlen(fileprefix));
with strlen(fileprefix) + strlen(name) >= sizeof(filename) a buffer
overflow occurs. Addionally there is no check if filename is big enough.
So convert to memcpy and handle filename not being big enough.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 21a11149ac03ab0bdc6174904e869c2e5524376c
Author: Clark Williams <williams@redhat.com>
Date: Thu Aug 18 09:02:24 2011 -0500
added files to git repo
Signed-off-by: Clark Williams <williams@redhat.com>
commit 10f6a855f1233fefc10179fa652b9d20ef6dc279
Author: Clark Williams <williams@redhat.com>
Date: Fri Aug 12 13:44:18 2011 -0500
update cyclictest to handle 3.0-rt as well is update ftrace
reworked the kernel versioning logic to handle the 3.0 kernel
and update the ftrace logic to deal with changes to the
debugfs tracing directory.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 8824256e362b8d59a69a9ef8bf483c458850057b
Merge: cea67f4 f26dbd8
Author: Clark Williams <williams@redhat.com>
Date: Tue Aug 9 11:27:12 2011 -0500
Merge remote-tracking branch 'jkacur/rt-tests-dev-new' into work
commit 23305f2d44021c5d75d975376b2493f1263efe2d
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun Jul 17 12:40:34 2011 +0200
bump backfire version
This fixes dkms to find the source files again.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 49550bfb9253a2727150eb63dba66654d6993220
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jul 13 23:09:53 2011 +0200
add a README describing how to allow changing scheduler policy for users
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit afeacfcb19f285000885d6c0379bc14c2f5afa31
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jul 13 22:57:52 2011 +0200
new patch: Don't reference non-standard realtime group
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 7f41b08501ebd418490d51c9a22a7bd31324caaa
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun Jun 26 23:17:58 2011 +0200
debian/control: bump Standards-Version to 3.9.2
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 1642450645002852221c3922f36f128caa73329a
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 24 22:38:49 2011 +0200
new patch fixing a harmless build warning by dpkg-shlibdeps
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 862bf8f25249d0613d94e92b428e36fa6a5f74ec
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 24 22:28:17 2011 +0200
switch to debhelper compatibility level 8
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 5d8a06a9b01e4f61e4475e1f4eab9cafb2e4a9e9
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 24 22:27:02 2011 +0200
debian/rules: provide sequence as first parameter to dh
This is needed for debhelper compatibility level 8.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit aeb5e158b9d0fce997a22c12aa832160d2362a63
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 24 22:07:20 2011 +0200
new patch providing a man page for pip_stress
This fixes the following lintian warning:
W: rt-tests: binary-without-manpage usr/bin/pip_stress
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 441103986b6f40d0304824dd5f4183b0af43cb6c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 24 20:32:43 2011 +0200
debian/rules: add build-{arch,indep} targets
This fixes the following warnings from lintian:
W: rt-tests source: debian-rules-missing-recommended-target build-arch
W: rt-tests source: debian-rules-missing-recommended-target build-indep
Debhelper 8.1.0 is the first version supporting the corresponding
sequences, so bump Build-Depends.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit f26dbd8adcc7f9888d06a4963e8fe9e1ca497a15
Author: John Kacur <jkacur@redhat.com>
Date: Fri May 13 12:52:48 2011 +0200
Minor Fix-ups
1. Make the function header style consistent with the rest of cyclictest.
2. Spelling clean-ups.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit e036ae96aca731e39f273adf4dfbe7a6f4fb3007
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri May 13 12:22:11 2011 +0200
refresh patches for new upstream release
- drop modernize_backfire_Makefile and install_backfire_Makefile
(applied upstream)
- refresh install_hwlatdetect_into_sbindir and kernvar_fix_possible_buffer_overflow
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 65feb142a77786d897d9f5d1f3113b595d23d66a
Merge: 5c7b8e0 81da016
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri May 13 11:58:07 2011 +0200
Merge tag 'v0.73' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit cea67f47fae1e11579ab6a96d105f9b30360f0db
Author: Clark Williams <williams@redhat.com>
Date: Thu May 12 10:16:06 2011 -0500
fixed spelling error in printf
Signed-off-by: Clark Williams <williams@redhat.com>
commit 591bd2b407169409c2d9d3b4fed41d9c85a315a5
Author: Clark Williams <williams@redhat.com>
Date: Mon May 9 12:21:33 2011 -0500
fixed BuildRequires in specfile for Python
Need python to be able to correctly install hwlatdetect.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 81da016fb0f6ab0511fbec81fc8ba1a50398a20d
Author: Clark Williams <williams@redhat.com>
Date: Mon May 9 10:52:43 2011 -0500
version bump to 0.73
Signed-off-by: Clark Williams <williams@redhat.com>
commit 809f870eb8c0bac98f80eaca04f4ea55d094a14f
Author: Clark Williams <williams@redhat.com>
Date: Thu May 5 13:44:09 2011 -0500
hackbench: add setjmp/longjmp and rework signal handling logic
Use setjmp/longjump to get the parent process back out of processing
loop and into forced kill mode for the child processes/threads.
Added function reset_worker_signals() so that workers (sender and
receiver) don't try to reap as well.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 02da29f4508f18b760af4d163b4a92ee90106152
Author: Geunsik Lim <leemgs1@gmail.com>
Date: Wed May 4 15:42:00 2011 -0500
cyclictest: Fixed incorrect wakeup reset interface
When we try to run ftrace with cyclictest command of rt-test,
We view the error according to different kernel version.
We need to modify this hard coded interface.
* Directory name of each kernel version
2.6.24.7-rt23 /sys/kernel/debug/tracing/latency_hist/wakeup_latency/reset
2.6.31-rc9-rt9.1 /sys/kernel/debug/tracing/latency_hist/wakeup/reset
2.6.33.7.2-rt30 /sys/kernel/debug/tracing/latency_hist/wakeup/reset
* parsing verification: ./linux-2.6/scripts/checkpatch.pl --> OK
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Reviewed-by: John Kacur <jkacur@redhat.com>
Reviewed-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 895dd8394613e2a969589313c0d2894c1fdba00f
Author: Wolfram Sang <w.sang@pengutronix.de>
Date: Wed May 4 15:39:16 2011 -0500
Simplify Makefile using -D option to install
install can also create directories with -D
Signed-off-by: Clark Williams <williams@redhat.com>
commit f833b0949f39be96ed1f7e3c6b37b091f52491b0
Author: Carsten Emde <C.Emde@osadl.org>
Date: Wed May 4 15:33:16 2011 -0500
add histogram summary column option (-H) to cyclictest
To compare histograms of several SMP machines or to gain an
overview when cyclictest is running more than a single thread,
an overall histogram is required that contains a summary of
the individual thread latencies.
This patch adds this functionality and introduces the new
option -H/--histofall for this purpose.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 4681c81debd1aa204a0f3bad4baa859700dd48ca
Author: Daniel Sangorrin <daniel.sangorrin@gmail.com>
Date: Wed May 4 15:04:41 2011 -0500
fix sched_setaffinity type error when building with UCLIBC
Change type of faux sched_setaffinity to match headers.
Also add additional report info when dumping histogram.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 5c7b8e08af9f14d3cf6e920656c28710ed15d15c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Mar 30 10:38:26 2011 +0200
debian/backfire-dkms: add BUILT_MODULE_NAME[0] to fix warning
Before this change $(dkms status) issued:
dkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.
backfire, 0.71-1, 2.6.32-5-amd64, x86_64: installed (WARNING! Missing some built modules!)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 4f0f0c1cf2bb94879eaec31acb935d7f2b1c2a52
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun Mar 20 16:32:17 2011 +0100
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 580f1fac8c14cbbe4b452ce79fc90fe55721564b
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun Mar 20 16:31:00 2011 +0100
debian/control: bump Standards-Version to 3.9.1
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit a92d5d67c0528ebbd540a2d4d6d6fb0b34351570
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 18 17:39:38 2011 +0100
debian/control: use Architecture: linux-any
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit b7447aee585390ce49670ccfe1416d1620636048
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 18 17:07:44 2011 +0100
update debian/changelog for new upstream release
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 4e3759b80102f0ea619f7dcda1ef8e9b95a88c97
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 18 17:04:55 2011 +0100
new patch: kernvar() fix possible buffer overflow
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit ea00cb53cc8ab0bd158dca4fa5f7c8968b34f244
Merge: 6668388 886d268
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 18 16:52:54 2011 +0100
Merge tag 'v0.72' of git://git.us.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit a5693cc7854fbb5a60931407440a53f2efd81dc1
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Jul 1 06:32:00 2010 +0200
install backfire's Makefile
Only installing backfire.c hardly makes sense.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 94f60c4138b817df9385e056f661e2fcabced18c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Jul 1 06:31:55 2010 +0200
modernize backfire's Makefile
- don't rely on non-standard envvar PWD, use make's CURDIR instead
- allow overwriting KERNELDIR
- less repetition by conflating targets
- explicitly differentiate between kbuild and ordinary make part
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 886d26833d637ab778023626a158061e4eb9c5d0
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 25 16:16:46 2010 -0500
version bump to 0.72
Signed-off-by: Clark Williams <williams@redhat.com>
commit e4c7a0753cbcefec45f3bfd939528baf1643c3fc
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 25 16:10:40 2010 -0500
convert convert 'unsigned long long' and 'long long' to uint64_t and int64_t
Cleanup spurred by need to make the 'diff' variable in timerthread() to
be unsigned and 64-bits (rather than a signed 32-bit).
Signed-off-by: Clark Williams <williams@redhat.com>
commit a3194e71ef314ee6fb86577e2c13ea6a9a5dcd64
Author: Clark Williams <williams@redhat.com>
Date: Mon Jun 14 14:50:02 2010 -0500
added --numa option to cyclictest man page
Documented the --numa mode option to cyclictest in the man page.
Also updated the command summary to include the short options for
the --smp and --numa modes (-S and -U).
Signed-off-by: Clark Williams <williams@redhat.com>
commit 66683887d15b0846ef4fa37f0d95306194bd64f3
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun Jun 13 07:23:31 2010 +0200
Add more linux ports to Architecture
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit f02e3a55feb2f6996b47267793054632b1facab7
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 2 22:15:07 2010 +0200
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 1f85036c96cd08bc3c84bda9a7c9afd2f14b11ed
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Tue Jun 8 21:25:26 2010 +0200
add backfire package with dkms support
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit b77ce428e47b1a0f25b2178237c820b0e19637fc
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri May 28 22:09:01 2010 +0200
add powerpcspe to architecture list
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit c7fa4bedf596fbe6681604e6af278545b4e042be
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri May 28 21:58:20 2010 +0200
new patch: modernize backfire Makefile
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit f9e3d3a6c538a74f88c2e3ed7518b525b7bf97f0
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri May 28 21:48:44 2010 +0200
update debian/c{opyright,ontrol,hangelog} for new upstream release
The copyright of hackbench is specified as found in ltp and confimed by
Ingo Molnar.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit f2e3d6ee2a9810015dc170b65ba6661a185c3303
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed May 26 12:18:04 2010 +0200
drop patches applied by upstream, refresh remaining patch
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 9dcdf50f0ab3639847e7f10019b38c6dd45688b7
Merge: ffc1d5c 9a0525c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed May 26 11:41:34 2010 +0200
Merge tag 'v0.71' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 9a0525c5b124cb7cd2e39f5c03ce488caa63c3df
Author: Clark Williams <williams@redhat.com>
Date: Tue May 18 12:37:56 2010 -0500
version bump to 0.71
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1b3f408a337098ae92da9bd02cb0071745a34832
Author: Michal Schmidt <mschmidt@redhat.com>
Date: Mon May 10 14:23:50 2010 +0200
cyclictest: fix accumulating overruns in periodic timer mode
When using a POSIX interval timer and an overrun occurs, a signal is always
lost. From then on cyclictest would report all measurements as increased by
N*period (where N is the number of overruns).
cyclictest can detect the overruns and adjust the expected time of the next
tick accordingly.
Reported-by: Marti Raudsepp <marti@juffo.org>
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 9d503b107dedeeb8b3f7e2757745b24128e85d90
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 9 13:56:15 2010 -0500
version bump to 0.70
commit 691f7a82fb68ddd17071ddabe68daba0cf0762d4
Author: Olaf Hering <olaf@aepfle.de>
Date: Fri Apr 9 13:52:13 2010 -0500
skip python dependency in rt-tests make install
If python is not available on the target, skip the
hwlatdetect.py installation with:
make PYLIB= DESTDIR=/some/dir install
Create PYLIB during make install with DESTDIR set
Also, the second bindir should probably be srcdir.
Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7142b67d8f560a7a65d16cd97d0266e59eae9616
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 9 13:30:29 2010 -0500
version bump to 0.69
commit d6c4ab8698926a0bac6eae2bc9c563d6fd3103b9
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 9 13:06:33 2010 -0500
default cyclictest to SCHED_OTHER; clean up help message
After much thought, I decided to keep cyclictest's default scheduling
policy as SCHED_OTHER. My rationale is that if you don't specify a
priority on the command line you get the priorityless policy. If you
do specify a priority but no specific RT policy, we'll default to
SCHED_FIFO. So to get SCHED_RR you have to specify priorty and policy
name, for example:
# cyclictest --priority=90 --policy=rr
Yes, I realize that the vast majority of users will run it with a
realtime priority, but I just don't like picking a priority if it
wasn't specified. If you want a realtime policy, specify a priority.
Signed-off-by: Clark Williams <williams@redhat.com>
commit ba12344ecb211627fdbb303d68ac6757d54d71d5
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 9 13:05:37 2010 -0500
added pmqtest to .gitignore
commit 663bd628f5bd469b8cb3c4748f9ef24592aa6641
Author: Clark Williams <williams@redhat.com>
Date: Thu Apr 1 15:48:34 2010 -0500
fix bus error when in numa mode with more than 16 cores
The call numa_node_to_cpus() in rt_numa_numa_node_of_cpu()
was failing because the cpumask buffer size was only 16 bytes
and it seems to require 32. Change the declaration to be 256
just for paranoia's sake.
Signed-off-by: Clark Williams <williams@redhat.com>
commit f37d47179d8e9ef2dad51b959676215d8cb83ad3
Author: Clark Williams <williams@redhat.com>
Date: Thu Apr 1 14:11:33 2010 -0500
replace nanosleep with clock_nanosleep in pmqtest
Since it's doing relative time sleeps probably not an issue, but
move to clock_nanosleep(CLOCK_MONOTONIC, 0,...) to be clear.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 5b346bd9e812e03b22c7a81212a84f7d6e20eee0
Author: Carsten Emde <C.Emde@osadl.org>
Date: Thu Apr 1 13:39:43 2010 -0500
Add pmqtest program
This patch adds the program pmqtest to the rt-tests suite.
The test mechanism is the same as in ptsematest, svsematest
and friends, but it uses message queues to synchronize the
test threads. To test the - now hopefully fixed - kernel
problem that occurred when a timeout was specified, the
-T option is available.
On an 8-way machine, the test result may look like:
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Clark Williams <williams@redhat.com>
commit c9c0e4e3ad5faa2fe3c3366b4135d0daf8b2a8fb
Author: Clark Williams <williams@redhat.com>
Date: Thu Apr 1 13:35:42 2010 -0500
fixed typo in cyclictest.8 man page
Signed-off-by: Clark Williams <williams@redhat.com>
commit 92f3c57a50d634b4e13a281fe604a870a18c1d77
Author: Clark Williams <williams@redhat.com>
Date: Fri Mar 19 14:44:33 2010 -0500
version bump to 0.68
Signed-off-by: Clark Williams <williams@redhat.com>
commit ffebccf9f9b9df6803a50d3e4aba0aacba0d6e3e
Author: Clark Williams <williams@redhat.com>
Date: Fri Mar 19 14:39:44 2010 -0500
handle ftrace difference between 2.6.24 and 2.6.33
Somewhere between 2.6.24 and 2.6.33, the tracing_on field was
added to the debugfs tracing dir. If it exists use it to turn
tracing on and off; if not use tracing_enabled.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 2ef575b81b0c267216398cc537b5e1a3c3129c7b
Author: Clark Williams <williams@redhat.com>
Date: Tue Mar 16 16:14:11 2010 -0500
version bump to 0.67
Signed-off-by: Clark Williams <williams@redhat.com>
commit 95c65d4c0043a964a7c5ecf0b5a076bf25df3d86
Merge: afb31fb 7f19bd8
Author: Clark Williams <williams@redhat.com>
Date: Tue Mar 16 15:54:01 2010 -0500
Merge branch 'work' into temp
Conflicts:
.gitignore
Makefile
commit 7f19bd8a31312f16d83c2302ff618aa5ccff0a1d
Author: Clark Williams <williams@redhat.com>
Date: Tue Mar 16 15:41:01 2010 -0500
added hackbench executable to ignore targets in .gitignore
Signed-off-by: Clark Williams <williams@redhat.com>
commit ba15a4ab82a21130a981d1229ac5759cdf8288dc
Author: Clark Williams <williams@redhat.com>
Date: Tue Mar 16 15:38:53 2010 -0500
reword rpm %description field for clarity (BZ# 572323)
Changed description field to be more descriptive
Signed-off-by: Clark Williams <williams@redhat.com>
commit d61850a9f0ad4e84f105393003640163a8377c59
Author: Clark Williams <williams@redhat.com>
Date: Tue Mar 16 15:36:39 2010 -0500
modifications to ftrace logic for correct operation
Change enable/disable file to be tracing/tracing_on; enable the
options/latency-trace format for function tracing; add tracetype
CUSTOM for use with the -T/--tracer option.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 5860be7f4db454cfd5131813cbbe42a9a4fcd8b7
Author: Clark Williams <williams@redhat.com>
Date: Wed Mar 10 10:45:42 2010 -0600
cyclictest - fixed missing ':' in option processing string for -T option
the -T option (set tracer) option was missing a ':' for to indicate
that it required an argument.
Signed-off-by: Clark Williams <williams@redhat.com>
commit afb31fb21d3e89cde47d069b622aaada454d6654
Author: Carsten Emde <C.Emde@osadl.org>
Date: Sun Mar 7 21:48:02 2010 +0100
add-smp-option-to-svsematest.patch
Add SMP testing option (-S, --smp) to svsematest, same as in
cyclictest.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Acked-by: John Kacur <jkacur@redhat.com>
commit cd34b8b1728a5eaab9a1926fc42383f73e42f2f8
Author: Carsten Emde <C.Emde@osadl.org>
Date: Sun Mar 7 21:48:01 2010 +0100
add-smp-option-to-ptsematest.patch
Add SMP testing option (-S, --smp) to ptsematest, same as in
cyclictest.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Acked-by: John Kacur <jkacur@redhat.com>
commit f02c5d5ad010ba3a5bdf54d400bbe4b7a81101bd
Author: Carsten Emde <C.Emde@osadl.org>
Date: Sun Mar 7 21:39:57 2010 +0100
remove-incorrect-options-from-smp-help-message-in-cyclictest.patch
The help message of cyclictest's -S option says that it equals -a -t -n -m -d0.
In reality, it only equals -a -t -n.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Acked-by: John Kacur <jkacur@redhat.com>
commit 7dd5ce77096972beeada84450496eb3489e3e38f
Author: Carsten Emde <C.Emde@osadl.org>
Date: Mon Mar 8 09:37:50 2010 +0100
fix-policy-display-for-cyclictest.patch
If the policy is forced to SCHED_OTHER, since the priority no longer
fits into the SCHED_FIFO or SCHED_RR range, the policy display of
cyclictest is somewhat incorrect.
Display all policies.
Also make the variable policystr static; the condition
"if (!policystr)" is useless, otherwise.
In addition, place the priority logic before decrementing the priority;
a priority of 1 is incorrectly made SCHED_OTHER, otherwise.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Acked-by: John Kacur <jkacur@redhat.com>
commit 1263ebde632899a399b59ee8eec926bb81199122
Author: John Kacur <jkacur@redhat.com>
Date: Mon Mar 8 02:02:13 2010 +0100
cyclictest: Make the default scheduling policy SCHED_FIFO
The default scheduling policy if unspecified should be SCHED_FIFO.
Before the change for example.
sudo ./cyclictest
policy: other: loadavg: 0.05 0.04 0.05 1/331 22367
T: 0 (22367) P: 0 I:1000 C: 1321 Min: 14 Act: 89 Avg: 77 Max: 942
After the change
sudo ./cyclictest
defaulting realtime priority to 2
policy: fifo: loadavg: 0.03 0.04 0.05 2/331 22387
T: 0 (22387) P: 2 I:1000 C: 713 Min: 17 Act: 41 Avg: 81 Max: 161
Signed-off-by: John Kacur <jkacur@redhat.com>
commit ce8c59023206ae409d28abdb3f6f3384ca825431
Author: John Kacur <jkacur@redhat.com>
Date: Mon Mar 8 01:45:35 2010 +0100
cyclictest: Fix spelling mistake in the man page.
- In the -mlockall section, change "an" to "and"
Signed-off-by: John Kacur <jkacur@redhat.com>
commit e12de2f0629c0bedc8e8a9b52bc4fcb68f320a77
Author: John Kacur <jkacur@redhat.com>
Date: Mon Mar 8 01:38:49 2010 +0100
cyclictest: Use symbolic names for scheduling policy
- Use symbolic names for scheduling policies, that is, don't assume
SCHED_RR is 2, use SCHED_RR instead, and so on.
- Fix the logic in handlepolicy(char *polname)
- remove the test with the unreachable line,
- make the default SCHED_FIFO if we don't recognize the
requested policy.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 6fb5b9cd9099112ee7bc091a78aa8d0274c5fdad
Author: John Kacur <jkacur@redhat.com>
Date: Mon Mar 8 01:06:29 2010 +0100
Revert "simplify equal priority logic for cyclictest"
This reverts commit 582be2a52c43801a10d318de7491f1cc7243d5cf.
Unfortunately this commit introduces a bug because the priority is not
retested, and this can result in reported priorities below 0.
For example,
sudo ./cyclictest -t3 -p1
policy: fifo: loadavg: 0.09 0.06 0.05 1/331 21732
T: 0 (21730) P: 1 I:1000 C: 593 Min: 34 Act: 155 Avg: 100 Max: 672
T: 1 (21731) P: 0 I:1500 C: 395 Min: 15 Act: 43 Avg: 72 Max: 853
T: 2 (21732) P:-1 I:2000 C: 297 Min: 21 Act: 57 Avg: 79 Max: 330
Notice that the last priority is reported as -1.
After reverting this commit, we get the correct expected behaviour.
sudo ./cyclictest -t3 -p1
policy: fifo: loadavg: 0.07 0.05 0.04 2/330 21754
T: 0 (21752) P: 1 I:1000 C: 11600 Min: 13 Act: 7072 Avg: 3593 Max: 7841
T: 1 (21753) P: 0 I:1500 C: 7737 Min: 12 Act: 1572 Avg: 516 Max: 2381
T: 2 (21754) P: 0 I:2000 C: 5804 Min: 12 Act: 53 Avg: 59 Max: 548
I think it can be argued that the original code is also clearer, although
that is somewhat subjective. With the original code I don't need to track
down exactly what "sameprio" means, and it is clear what is being tested.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit ffc1d5ca0c178f864c9ea104c81d5cb318a746bf
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Mar 1 17:02:31 2010 +0100
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit e0aa15c8327a2045ada5ed2d5c288158129ebfdf
Author: Alexander Reichle-Schmehl <tolimar@debian.org>
Date: Tue Mar 2 11:02:11 2010 +0100
Urgency high due to rc bug fix
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 6214410e57d8be054ee58ecdc53cbc4803a3627b
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Mar 1 17:51:15 2010 +0100
rename pip to pip_stress as pip is too general
The command name is already taken by a perl script working with CPAN
and a Python package installer.
While at it remove trailing whitespace from three lines in
src/pi_tests/pip_stress.c.
Closes: http://bugs.debian.org/572104
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit d2b6363c8b396dca09f9f61a171c39195411c043
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 24 17:58:08 2010 +0100
Makefile: don't use temporary files in generation of dependency files
These temporary files were a real problem when creating the Debian
package for rt-tests. debhelper (a generic suite of scripts to ease
packaging) did something like:
perl -c 'close(STDERR); exec("make distclean");'
which leaked the *.d.$$ files and then wailed that the package contained
untracked changes to the vanilla source. See
http://bugs.debian.org/570443 for some more details.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: John Kacur <jkacur@redhat.com>
commit de3d4d2539f365dc56e6b216cefe076d694c1f80
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 24 17:58:07 2010 +0100
install backfire.c to $(srcdir)/backfire/
Acked-by: John Kacur <jkacur@redhat.com>
commit 84367c8e0716ab36bad314562ff7d3f934da1c26
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 24 17:58:06 2010 +0100
trivial: s/specifed/specified/
Acked-by: John Kacur <jkacur@redhat.com>
commit bc751a3703dc77f067c4ae61699e89bcbb54054a
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Mar 1 16:52:16 2010 +0100
new patch: rename pip to pip_stress
Closes: http://bugs.debian.org/572104
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 4dec55015c7fa642e960af084376af09c33b7068
Author: Clark Williams <williams@redhat.com>
Date: Wed Feb 24 15:20:34 2010 -0600
fix stupid typo in %changelog date
commit 6fc24e1719bbaf7afb9aec1921bc7ba220429b2d
Merge: 2afa634 0fbe09d
Author: Clark Williams <williams@redhat.com>
Date: Wed Feb 24 15:07:50 2010 -0600
Merge remote branch 'uwe/for-clark' into work
commit 2afa6340dcc492b0a70683c96fea6ec31189f54f
Author: Clark Williams <williams@redhat.com>
Date: Wed Feb 24 15:07:19 2010 -0600
added hackbench manpage installation bits
Added hackbench.8 installation to both Makefile and specfile
Signed-off-by: Clark Williams <williams@redhat.com>
commit 24cc3c0830d7437609dae17d343e7941d7893532
Merge: 19b274d bd43983
Author: Clark Williams <williams@redhat.com>
Date: Wed Feb 24 10:47:19 2010 -0600
Merge remote branch 'davids/master' into work
commit bd43983e36605481f3732925d8bc0d3eb0557d4b
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 24 17:29:46 2010 +0100
Updated hackbench man page with some examples and some extra details re. fds
commit 0fbe09d46cbbe05fdc19b6b8b155ebcc1448f33d
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 24 17:22:15 2010 +0100
Makefile: don't use temporary files in generation of dependency files
These temporary files were a real problem when creating the Debian
package for rt-tests. debhelper (a generic suite of scripts to ease
packaging) did something like:
perl -c 'close(STDERR); exec("make distclean");'
which leaked the *.d.$$ files and then wailed that the package contained
untracked changes to the vanilla source. See
http://bugs.debian.org/570443 for some more details.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit a893258ef92ceaa2eb483525650f708e5e6a7c85
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 24 16:51:11 2010 +0100
install backfire.c to $(srcdir)/backfire/
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 19b274dbf59f3b02d86044ce833105685df08e4c
Merge: 6148206 94d8566
Author: Clark Williams <williams@redhat.com>
Date: Wed Feb 24 09:36:13 2010 -0600
Merge remote branch 'davids/master' into work
commit 94d8566d6ccaf090ad44611a6f99a3b540798029
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 24 16:26:13 2010 +0100
hackbench - Taken out the runit.pl script
We don't need to ship that, and Craig Thomas wrote only that code as far
as we know, so taking him out of man page as well.
commit 1bb501caeb0c98c58d71bacfe904c89f798bb2cb
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 24 16:04:47 2010 +0100
hackbench, man page: Added another contributor and a brief history of hackbench
commit fb278a79b5c4681e6c62ac4ef355ffe5a87b28ff
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 24 14:42:24 2010 +0100
man page, hackbench - Corrected wrong spelling
commit 0ece6f784bc1c7628904e9c8bf71312b5cdb7a40
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 24 13:50:46 2010 +0100
Updated man page for hackbench
commit 61482066d5261c1ce76f8e504544b03c2544b6cd
Merge: 2359346 4b56363
Author: Clark Williams <williams@redhat.com>
Date: Tue Feb 23 13:48:05 2010 -0600
Merge remote branch 'davids/master' into work
commit eba5ee5e6964e34be132e6da34431dc4c5b2ad27
Merge: 4b56363 2359346
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 17:40:26 2010 +0100
Merge remote branch 'origin/work'
commit 4b563630e61f864f6591b0334a64406a98df606f
Merge: 4e37a2b b0aad1d
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 17:38:25 2010 +0100
Merge remote branch 'dsommers/master'
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 4e37a2b689fc0d081e41ca656be48aba53ff350b
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 15:02:48 2010 +0100
Added signal handling in hackbench
When receiving SIGINT or SIGTERM, it will now reap all worker
threads/processes and properly stop them.
commit f273b4bd85fe7d8561bf8c9030b6a9d8bb8b8e9f
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 11:34:14 2010 +0100
hackbench: Implemented getopt
Improved argument/option handling by using getopt_long(). Made more of the
parameters tunable as well. Hackbench now accepts the following arguments:
-P | --pipe Use pipe
-s | --datasize Number of bytes to pass from sender to receiver
(default 100 bytes)
-l | --loops Number of messages each sender will send
(default 100 rounds)
-g | --groups Number of groups with sender/receivers
(default 10 groups)
-f | --fds Number of file descriptors each group will use
(default 20*2)
-T | --threads Run using pthreads
-P | --process Run using fork()
Signed-off-by: David Sommerseth <davids@redhat.com>
commit faa1f165c46d6573c62e046c75c59904dd8cdda9
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:49:29 2010 +0100
(code cleanup) Tabified lines which was not tabbed
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 5fd7c301eb7574a9fbe25cf1232867003899ee16
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:47:13 2010 +0100
Simplified and improved error logging, clarified some messages
Signed-off-by: David Sommerseth <davids@redhat.com>
commit ba166b6415b71090c7b3805ad539cbeea13612ee
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:39:59 2010 +0100
Fixed a memory leak, receiver contexts not getting freed upon exit
Signed-off-by: David Sommerseth <davids@redhat.com>
commit ad27df7b940e04e0ee6064e77e603c87e2dd70ee
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:35:48 2010 +0100
Reimplement better child tracking and improve error handling
This does much what earlier commits did before hackbench got updated
to the latest version in the previous commit.
Consider the following commits being "forward ported", feature wise:
4c39eff2136c39b3c2746ca293eed5b5242aea52
0a72fcaade064b70b698aab676217f28681280ff
fbd80c495bd861545713279d5f96f1e4770d6911
bd588c92b8bae59e3404fc3c90283e98c9f0a96e
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 310dd41438484bc9a332ff9d1e097ab1b37ff12f
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:22:14 2010 +0100
Updated hackbench to lastest version available
Downloaded from http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c
February 19 2010.
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 2359346741c39f97b98f36cd4bfe0e4f01635edf
Author: Clark Williams <williams@redhat.com>
Date: Tue Feb 23 10:27:08 2010 -0600
added hackbench.8 manpage framework
Signed-off-by: Clark Williams <williams@redhat.com>
commit 98a082ca9f0349aab53dce4a4808c31e8f8dd4b0
Merge: fae4312 b0aad1d
Author: Clark Williams <williams@redhat.com>
Date: Tue Feb 23 09:56:57 2010 -0600
Merge remote branch 'davids/master' into work
commit b0aad1d13c179da43e9d873cd89ee6b351135b37
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 11:34:14 2010 +0100
hackbench: Implemented getopt
Improved argument/option handling by using getopt_long(). Made more of the
parameters tunable as well. Hackbench now accepts the following arguments:
-P | --pipe Use pipe
-s | --datasize Number of bytes to pass from sender to receiver
(default 100 bytes)
-l | --loops Number of messages each sender will send
(default 100 rounds)
-g | --groups Number of groups with sender/receivers
(default 10 groups)
-f | --fds Number of file descriptors each group will use
(default 20*2)
-T | --threads Run using pthreads
-P | --process Run using fork()
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 92c53f9db3ac4cd7c165bbcb5b84b387ab5aaa09
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:49:29 2010 +0100
(code cleanup) Tabified lines which was not tabbed
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 51a6e573598bac8c576c8c261f084a199fd34b44
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:47:13 2010 +0100
Simplified and improved error logging, clarified some messages
Signed-off-by: David Sommerseth <davids@redhat.com>
commit d5ae77c4afe4f77ca590d1d7edf4b2457e92760d
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:39:59 2010 +0100
Fixed a memory leak, receiver contexts not getting freed upon exit
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 2ff7b647b223e80ba358e1181a258ba964b83fcf
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:35:48 2010 +0100
Reimplement better child tracking and improve error handling
This does much what earlier commits did before hackbench got updated
to the latest version in the previous commit.
Consider the following commits being "forward ported", feature wise:
4c39eff2136c39b3c2746ca293eed5b5242aea52
0a72fcaade064b70b698aab676217f28681280ff
fbd80c495bd861545713279d5f96f1e4770d6911
bd588c92b8bae59e3404fc3c90283e98c9f0a96e
Signed-off-by: David Sommerseth <davids@redhat.com>
commit a0e5fa847d03371a583e60f62f5fbae1ea932491
Author: David Sommerseth <davids@redhat.com>
Date: Tue Feb 23 10:22:14 2010 +0100
Updated hackbench to lastest version available
Downloaded from http://people.redhat.com/mingo/cfs-scheduler/tools/hackbench.c
February 19 2010.
Signed-off-by: David Sommerseth <davids@redhat.com>
commit bd4cd378a2d863d24bbe30829d8a9cdb063561e4
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Feb 22 21:56:49 2010 +0100
trivial: s/specifed/specified/
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 3732e3e1d0b329ce54f3a7f80b33b0f8872efdf5
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Feb 22 15:35:08 2010 +0100
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 881bbe9414e620d80eb0e7c95b36fda1baf698c4
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 19 12:36:10 2010 +0100
move hwlatdetect to sbindir, not bindir
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit fae4312eb2d4cc9022d74053a451b666917c132b
Author: Clark Williams <williams@redhat.com>
Date: Fri Feb 19 09:52:50 2010 -0600
added hackbench to specfile
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6292f80866a8e08314befefb4160b682408fedfc
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 19 11:51:06 2010 +0100
new patch: install install backfire.c to $(srcdir)/backfire/
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 8c1f73e365870d00556b9fb0bf56865067c62631
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 19 11:48:39 2010 +0100
new patch: install hwlatdetect directly into $bindir
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 86c5135b042ba8771a0793fddd07b3b2d732e070
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Feb 18 21:48:25 2010 +0100
Add a build script and a hint to it in README.source
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 1d3ebb0e3b7969512e3b94cffa43c0d8afbbad40
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Feb 19 10:53:05 2010 +0100
depend on debhelper (>= 7.4.15) because of #570443
Debhelper between 7.4.11 and 7.4.15 closed stderr for make resulting in
a dying sed and so leaving temporary files in the working copy. These
make dpkg-source create a new and unwanted patch
debian/patches/debian-changes-0.66-1.
See http://bugs.debian.org/570443 for the exact details.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 69ef7d4835a6d196826ac24ddeb1f86ef9602971
Author: Clark Williams <williams@redhat.com>
Date: Thu Feb 18 14:36:44 2010 -0600
added hackbench target
added makefile targets for hackbench scheduler benchmark
Signed-off-by: Clark Williams <williams@redhat.com>
commit bd588c92b8bae59e3404fc3c90283e98c9f0a96e
Author: David Sommerseth <davids@redhat.com>
Date: Thu Feb 18 15:51:10 2010 +0100
Fixed a few compiler and valgrind warnings
Valgrind complained about usage of non-initialised data. The compiler
complained about the out_fds argument being unsigned int when calling
sender().
Signed-off-by: David Sommerseth <davids@redhat.com>
commit fbd80c495bd861545713279d5f96f1e4770d6911
Author: David Sommerseth <davids@redhat.com>
Date: Thu Feb 18 15:43:48 2010 +0100
Re-implement WIFEXITED() check on all children
Instead of just exiting immediately the original version did, we now
count how many children who failed to exit properly and report it.
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 0a72fcaade064b70b698aab676217f28681280ff
Author: David Sommerseth <davids@redhat.com>
Date: Thu Feb 18 15:32:58 2010 +0100
Fix waitpid() implementation
In commit 4c39eff2136c39b3c2746ca293eed5b5242aea52 a new approach for tracking
each child was implemented. But this implementation ignored the fact that each
group() call creates 2*num_fds children.
This patch refactors the previous attempt and will now track absolutely all
children. If fork() fails when called in group(), all spawned children will
now also be killed explicitly.
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 4c39eff2136c39b3c2746ca293eed5b5242aea52
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 17 19:09:46 2010 +0100
hackbench: Wait for each child explicitly by using waitpid()
Quite often it's experienced in rteval that hackbench leaves some children
as zombies during closure. This is an attempt to keep an overview of the
status of each child separately. It's solved by having an array with all
sender and reciever children's pids and calling waitpid() on each of these
children pairs.
Signed-off-by: David Sommerseth <davids@redhat.com>
commit f79ca322df15aa258866ccaacacd463c47ec0ca5
Author: David Sommerseth <davids@redhat.com>
Date: Wed Feb 17 19:08:44 2010 +0100
Imported hackbench from rteval-1.18 (rteval-loads-1.0.1)
Signed-off-by: David Sommerseth <davids@redhat.com>
commit c700dc946940df9d95fd90ae00a23fa73f3137b2
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 17 10:10:36 2010 +0100
depend on libnuma1 (>= 2.0.3) explicitly
see http://bugs.debian.org/570201 for details
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 271002573f1e186bf3fca571c388d3912be9ac7e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 17 10:04:27 2010 +0100
build with libnuma on platforms that have it
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit f9505b39f421196ccdd2d12f7ebd5210e5d3b6f4
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Feb 17 10:03:28 2010 +0100
switch to dpkg-source 3.0 (quilt) format
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 5b1ad52759e799cd6a883a2c19076a97fcfd0116
Author: Uwe Kleine-König <ukleinek@cepheus.tralala>
Date: Tue Feb 16 21:54:49 2010 +0100
debian/control: bump Standards-Version to 3.8.4
Signed-off-by: Uwe Kleine-König <ukleinek@cepheus.tralala>
commit 08f184a6b78dbc3879a6cb4eb5ef90bfa1dc39f6
Author: Uwe Kleine-König <ukleinek@cepheus.tralala>
Date: Tue Feb 16 21:38:35 2010 +0100
debian/copyright: update for 0.66
Signed-off-by: Uwe Kleine-König <ukleinek@cepheus.tralala>
commit b265f4b751fb6b45e29540c64854fca83de08ba7
Author: Uwe Kleine-König <ukleinek@cepheus.tralala>
Date: Tue Feb 16 21:02:34 2010 +0100
document new upstream release in changelog
Signed-off-by: Uwe Kleine-König <ukleinek@cepheus.tralala>
commit 9eac09c586fac2e7c1ae8a6c3fd551c47d28b586
Merge: a0904a7 73d48f4
Author: Uwe Kleine-König <ukleinek@cepheus.tralala>
Date: Tue Feb 16 21:00:04 2010 +0100
Merge tag 'v0.66' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 73d48f4e04684a376b41525bfed030b7671f03f7
Author: Clark Williams <williams@redhat.com>
Date: Mon Feb 15 13:10:58 2010 -0600
version bump to 0.66
Signed-off-by: Clark Williams <williams@redhat.com>
commit 527835d9636163596eedf1e8cdd6ed3fad0fbecc
Author: Clark Williams <williams@redhat.com>
Date: Mon Feb 15 12:58:32 2010 -0600
Fix incorrect usage of sched_setscheduler() in check_privs()
Fix code in check_privs() that passes NULL as parameter
to sched_setscheduler().
Reported-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 398445bc3705b702238f711f73c58cff364c7153
Author: Clark Williams <williams@redhat.com>
Date: Mon Feb 8 15:37:41 2010 -0600
version bump to 0.65
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1e781f5634904789b4e3a45e432c85a94fdc0a82
Author: Clark Williams <williams@redhat.com>
Date: Mon Feb 8 15:31:57 2010 -0600
[hwlatdetect] workaround for borken smi_detector.ko module
Add a workaround to hwlatdetect to deal with a broken block of
code in drivers/misc/smi_detector.ko, where whenever you enable
the module (write a 1 to debugfs/smi_detector/enable) the stats
initialization routine resets the threshold from whatever it was
set to to 1us. This workaround checks the threshold after enabling
the module and resets it to what we want.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7635870be8d1be2dc08e56f91497db940b757d21
Author: Clark Williams <williams@redhat.com>
Date: Fri Jan 29 15:22:52 2010 -0600
version bump to 0.64
Signed-off-by: Clark Williams <williams@redhat.com>
commit 0dea069418a63bbd64bc9dc2a096478621df849c
Author: John Kacur <jkacur@redhat.com>
Date: Fri Jan 29 22:06:05 2010 +0100
rt-tests: Ignore dependency files *.d in git
Ignore dependency files *.d ing git.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 88449adc30a86e3d2fb8afe2b4d4b49590b89276
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 27 21:12:06 2010 +0100
rt-tests: Automatically generate dependencies.
Automatically generate dependencies. This will tell the make file that
cyclictest is dependent on rt_numa.h for example, and that if a change
is made there, then cyclictest needs to be remade.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit db54b6152ac64f4ae220bb7eda78a29c2049b7c8
Author: John Kacur <jkacur@localhost.localdomain>
Date: Wed Jan 27 20:17:15 2010 +0100
rt-tests: Fix some style problems, such as spaces instead of tabs.
Fix some style problems, such as spaces instead of tabs, trailing spaces,
spaces required before }
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 522560b82f0b6e138d9fd7fcecc2d90d1b8fbf5f
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 27 19:47:03 2010 +0100
rt-tests: Remove the ret variable, the end label and the goto.
Remove the ret variable, the end lable and the goto. We already have
inconsistent exit points for the function, and the end lable wasn't strictly
for errors. Directly returning simplifies and shortens the code.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 51dfab754a398581b19dd98ed26be9e7f0d28ddd
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 27 19:42:50 2010 +0100
rt-tests: Separate the #ifdef LIBNUMA_API_VERSION functions.
Separate the #ifdef LIBNUMA_API_VERSION of function rt_numa_numa_node_of_cpu,
it is slightly cleaner this way.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 29c4f544fb4028690320b3aa07434a54943f9d37
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 27 19:38:15 2010 +0100
rt-tests: Add header including copyright notice to rt_numa.h
Add a header which includes a copyright notice to rt_numa.h for cyclictest.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 94839e793eb11742c4faf25b4e0fc62babe52f02
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 27 10:11:22 2010 -0600
fix missing BuildRequires for numactl-devel
Signed-off-by: Clark Williams <williams@redhat.com>
commit 9306dab4990879f22fc7f2df9ead2e1f4e2ee83d
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 27 09:51:02 2010 -0600
version bump to 0.63
Signed-off-by: Clark Williams <williams@redhat.com>
commit fedb3c7bc5a5a1ac28dc88281e96f906191a9f2b
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 26 22:31:58 2010 -0600
added libnuma v1 API support
Modified NUMA code to handle version 1 API (for RHEL5)
Signed-off-by: Clark Williams <williams@redhat.com>
commit 5384bcd747022c624268652f0427d487af2d9233
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 26 13:46:14 2010 -0600
version bump to 0.62
Signed-off-by: Clark Williams <williams@redhat.com>
commit 20ece7f8a1d7c03e56fe739c243dfb9a0f28649b
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 26 12:05:43 2010 -0600
fixed numa compile and added numa option to usage printout
Added NUMA=1 to specfile build command line to enable NUMA
options. Added description of --numa option to usage output.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1bb1e652650a917d868756b8b6cecd4f2997082c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jan 25 21:22:54 2010 +0100
Add copyright statements to files in src/lib
Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: John Kacur <jkacur@redhat.com>
Cc: Carsten Emde <carsten.emde@osadl.org>
commit a1a06095616e3d89504e7a8b89f08de3b1218efe
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 26 12:23:49 2010 -0600
moved hwlatdetect to python site-library
Moved the hwlatdetect script to the python site-library directory
so that it can be imported by other scripts
Signed-off-by: Clark Williams <williams@redhat.com>
commit 8947c646fed2afa8aacf7c816ab381b021a467fe
Author: GeunSik Lim <leemgs1@gmail.com>
Date: Thu Jan 21 01:09:30 2010 +0100
rt-tests: Support static linking by reordering the link flags in LIBS
Some embedded developers cross-compile the tests with the -static link flag.
Reordering the link flags in LIBS to put -lrt before -lpthread is necessary,
else you get undefined references to pthread calls.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 582be2a52c43801a10d318de7491f1cc7243d5cf
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 20 21:14:12 2010 -0600
simplify equal priority logic for cyclictest
use a variable to indicate that priorities should be equal
on all cpus when smp, numa or histogram options are specified.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 761911503ce843265a275d5c3b14a849cb59eb39
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 20 16:09:53 2010 +0100
rt-tests: Make cyclic test compilable for non-numa systems.
Runtime tests are not sufficient, cyclic tests needs to be compilable
on non-numa systems.
This separates numa functionality into rt_numa.h
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 9f4edeb6019c126f31a9081f1f9a13212984058c
Author: John Kacur <jkacur@redhat.com>
Date: Wed Jan 20 14:37:08 2010 +0100
rt-tests: Makefile: Add NUMA compile option.
This adds a NUMA compile option, and links to numa only for the tests that
need it. (Currently that is only cyclictest)
If you want to build with the NUMA feature, then define NUMA to anything.
Eg., make NUMA=1
This only adds support to the Makefile. Further patches are required
to make this work in cyclictest itself.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit db0988a070308ac7413c3d464bae4197270d885e
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 20 07:23:01 2010 -0600
setup equal priorities on all cpus in numa mode in cyclictest
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6c66beba0aabeaafae2ef1aefae8c66b237f28fb
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 19 21:29:57 2010 -0600
fixed missing reference to outpar label
added back reference to outpar label in allocation failure for
statistics array (got dropped in previous two commits).
Signed-off-by: Clark Williams <williams@redhat.com>
commit 9345a49ac8297b69d4a5f8488df7f5b29c9c2117
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 19 21:25:55 2010 -0600
added threadalloc/threadfree for thread memmory manipulation
refactored numa allocation logic into threadalloc() and added
threadfree() for releasing it.
Signed-off-by: Clark Williams <williams@redhat.com>
commit cb5d2b4ca05d74df2e5622f8a2c92c0809b0c5ef
Author: Clark Williams <williams@redhat.com>
Date: Tue Jan 19 16:56:09 2010 -0600
added numa logic to cyclictest
Modify cyclictest to have a --numa option which enables calls into
libnuma functions for binding threads to memory nodes.
Signed-off-by: Clark Williams <williams@redhat.com>
commit edb2443d0165af98cdaa6324e8b618fa7e6bf475
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 13 10:58:26 2010 -0600
version bump to 0.61
Signed-off-by: Clark Williams <williams@redhat.com>
commit a548d8fc805d5d4a55a3042ac585d6b8db6df23a
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 13 10:57:28 2010 -0600
fixed missing short option 'S' in getopt_long() call
Signed-off-by: Clark Williams <williams@redhat.com>
commit 77abded073c5d11d118112c46c22a84ddc29e771
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 13 10:45:00 2010 -0600
added SMP testing option and make use of new diag functions
Added the --smp (-S) option which is short hand for setting
the options -t, -a, and -n and for not changing any specified
priority across processors.
Also changed many printfs to use either warn() or fatal()
Signed-off-by: Clark Williams <williams@redhat.com>
commit 2bf1bce58cbe891fbbdc44c1088d11de3f9d91b4
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 13 10:44:00 2010 -0600
added merge to master step in release checklist
Signed-off-by: Clark Williams <williams@redhat.com>
commit 99d07bebf340286c0e0b8affa60ead5354ecf289
Author: Clark Williams <williams@redhat.com>
Date: Wed Jan 13 10:42:35 2010 -0600
added warn() and fatal() routines
Added routines to print warning and fatal messages with appropriate
text prefixes (e.g. WARNING: and FATAL: )
Signed-off-by: Clark Williams <williams@redhat.com>
commit 015025fb4db2db8c20a01afcd1b2f74324e306a8
Author: Clark Williams <williams@redhat.com>
Date: Tue Dec 29 12:30:53 2009 -0600
version bump to 0.60
commit f1619c5c192b57f5bf1f144d21f6fd401d5ef465
Author: Michael Olbrich <m.olbrich@pengutronix.de>
Date: Tue Dec 29 12:23:27 2009 -0600
cyclictest: add command line option for unbuffered output
When reading the output from cyclictest with another program, the data is
buffered by default. This prevents nice 'live' display.
This patch adds an command line option to force the output to always be
unbuffered.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 2fc5d42f862fad58ee92dca1effdfe926a25c36b
Author: Carsten Emde <Carsten.Emde@osadl.org>
Date: Wed Dec 23 23:52:39 2009 +0100
rt-tests: Add a new test pip - priority inheritance with processes
John,
When creating an RPM package with the newly provided test pip, the message
error: Installed (but unpackaged) file(s) found:
/usr/bin/pip
appeared, and rpmbuild refused to finish building the package.
Carsten.
-=--------------------------------------------------------------------=-
Prevent rpmbuild from finding installed but unpackaged files.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
commit 7e2594ba90cd01f2fbb9ca6f9c95bb31a87414f1
Author: John Kacur <jkacur@redhat.com>
Date: Wed Dec 23 16:50:37 2009 +0100
rt-tests: Add a "make tags" option.
Add a "make tags" option to the Makefile
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 20b8b253f3892ee04d5aae82f83c8e49acc1b75c
Author: John Kacur <jkacur@redhat.com>
Date: Wed Dec 23 16:41:12 2009 +0100
rt-tests: pip - Use check_privs() from the rt-utils library.
Use check_privs() from the rt-utils library to make sure that the user is
running with real-time privileges for the pip test program.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 3dec3c9e0421f7fd38ecb321faad1eacec740cc0
Author: John Kacur <jkacur@redhat.com>
Date: Wed Dec 23 16:26:49 2009 +0100
rt-tests: Move header files from src/lib to src/include
Move header files from src/lib to src/include and adjust the Makefile to
reflect this change.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 3b0dcdaefcdb654bc89b96d9f7f5ddbc31f6887e
Author: John Kacur <jkacur@redhat.com>
Date: Wed Dec 23 16:01:17 2009 +0100
rt-tests: Add a new test pip - priority inheritance with processes
This test is similar to pi_stress in that it purpursely triggers a priority-
inversion. However, instead of using pthreads it uses processes.
Since pthread_mutex_t are the only objects backed by priority inheritance
this is accomplished by having the processes use a pthread_mutex_t in
shared memory. See the header of pip.c for more information as well as the
code of course.
In addition this patch starts a src/include directory as a common place
to put header files.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit aee58a288f0ab71c0eafaec6b86f26b94e012af2
Author: John Kacur <jkacur@redhat.com>
Date: Wed Dec 23 14:43:54 2009 +0100
rt-tests: Add error routines to the library
Add error routines, similar to those found in Advanced Programming in the
UNIX Environment 2nd ed. for use by all rt test programs
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 3115847ca0f16757a1283e58d15db5d652df28ce
Author: Clark Williams <williams@redhat.com>
Date: Tue Dec 22 16:27:15 2009 -0600
version bump to 0.59
Signed-off-by: Clark Williams <williams@redhat.com>
commit 8ab7958d06b3c6b93a42ac9a4599361aa15c2ce1
Author: Clark Williams <williams@redhat.com>
Date: Tue Dec 22 16:22:11 2009 -0600
deleted classic_pi program
classic_pi was the original proof of concept for a Priority
Inheritance mutex demonstration, but pi_stress does that much
better now.
Signed-off-by: Clark Williams <williams@redhat.com>
commit d3f77dcefc40ba5e4a78937f600fc730902b4199
Author: John Kacur <jkacur@redhat.com>
Date: Tue Dec 22 22:54:00 2009 +0100
rt-tests: Add help screen info about -M / refresh_on_max in cyclictest
Signed-off-by: David Sommerseth <davids@redhat.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 61b13092851db335a06eedc46043394c09b52450
Author: David Sommerseth <davids@redhat.com>
Date: Tue Dec 22 16:47:36 2009 +0100
Missing parsing of --mlockall in signaltest
Signed-off-by: David Sommerseth <davids@redhat.com>
commit 2e2c1eb6ae2147ae68f1af4a0cc90066ad3c4bd0
Author: David Sommerseth <davids@redhat.com>
Date: Tue Dec 22 16:47:35 2009 +0100
Fixed missing parsing of short arguments in classic_pi (David)
- Added the '+' back to the arguments (John)
Signed-off-by: David Sommerseth <davids@redhat.com>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 77c00420d06ec5010a251d4ecac1f74201cd20ca
Author: Carsten Emde <C.Emde@osadl.org>
Date: Tue Dec 22 00:58:59 2009 +0100
rt-tests: Better explanation in the kernel module
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit b1ff404d5545dd69ecc44b0055efb5478ec624f6
Author: John Kacur <jkacur@redhat.com>
Date: Tue Dec 22 00:43:04 2009 +0100
rt-tests: Clean-up, Fix the comment part of the #endif protecting include files
Clean-up, Fix the comment part of the #endif protecting include files
Signed-off-by: John Kacur <jkacur@redhat.com>
commit c663bf76dd10593c07b3fd95e3842c5e93c09ad8
Author: Clark Williams <williams@redhat.com>
Date: Mon Dec 21 16:11:09 2009 -0600
version bump to 0.58
commit e3c3bab1c668a5132bafcb254989daf40a1cb558
Author: Clark Williams <williams@redhat.com>
Date: Mon Dec 21 16:04:41 2009 -0600
fixed missing function invocation in cyclictest
Added missing () to get_debugfileprefix in cyclictest.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1c6c5896060d79b4617469f61d696f66e1f76667
Author: Clark Williams <williams@redhat.com>
Date: Mon Dec 21 16:02:21 2009 -0600
move guard macros into implementor namespace
renamed the guard macros in rt-get_cpu.h and rt-utils.h to
have leading double underscores which takes them out of the
application namespace. Also changed a '.' in the rt-get_cpu.h
guard macro to an underscore.
Signed-off-by: Clark Williams <williams@redhat.com>
commit d6e8606c2464206d90f6f43fdb7b5cf03d57747f
Author: Carsten Emde <C.Emde@osadl.org>
Date: Mon Dec 21 22:36:55 2009 +0100
Completely remove VERSION_STRING until we have a better solution.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 738ab3ea95aecdff6b469278f7071727ac0dc3f9
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 21 22:17:59 2009 +0100
rt-tests: Clean-up - protect rt-utils.h
Clean-up: Protect rt-utils.h with #ifndef RT_UTILS_H
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 2d85600632d69cae6f6886e2a18ff6b17908eb98
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 21 21:04:10 2009 +0100
rt-tests: Add a get_cpu() function to the library.
Add a get_cpu() function to the library.
Most platforms will simply use sched_getcpu()
However, if you have a glibc < 2.6 then
64-bits will use vsyscall for getcpu (if available).
32-bits will use getcpu() (if available)
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 5ee3c0f0372a338dac57123a23a00d03a3c85804
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 21 19:23:56 2009 +0100
rt-tests: Makefile - Changes to unify and simplify the Makefile
- These changes simplify the Makefile. For example, notice that we no
longer need to specify the full path to the source file
- These changes also unify the Makefile, for example, every program
gets VERSION_STRING as an floating point number.
- Due to the above change I had to make a number of changes in the programs
that expected VERSION_STRING as a string.
- By unifying what we CFLAGS, to include -D_GNU_SOURCE, I had to remove
__USE_GNU which is reduncant in a number of files.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 273aa36231320c1473c1cc34dc8d6ba03c261455
Merge: 2e1f658 1c3c9e3
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 21 17:48:20 2009 +0100
Merge remote branch 'clrk/master' into rt-tests-dev
Conflicts:
src/backfire/sendme.c
commit 1c3c9e34d65b6774e9f56d9d49fdbe101d42dc6c
Author: Clark Williams <williams@redhat.com>
Date: Mon Dec 21 10:27:18 2009 -0600
convert source back to unix text (was DOS text)
Somehow the last set of tests added got converted to DOS text
(CRLF line terminators). Change them back
Signed-off-by: Clark Williams <williams@redhat.com>
commit 2e1f65816117a190b630e8311e12524d52816232
Merge: 116a02e ff74d0e
Author: John Kacur <jkacur@redhat.com>
Date: Tue Dec 15 23:21:00 2009 +0100
Merge commit 'clrk/master' into rt-tests-dev
Conflicts:
rt-tests.spec-in
commit ff74d0eb70973fb13811eeb17be8f596291a9d7c
Author: Clark Williams <williams@redhat.com>
Date: Tue Dec 15 13:48:37 2009 -0600
version bump to 0.57
commit 116a02e456401241b1d2af050b7e6a2ec75d7d9c
Author: Carsten Emde <c.emde@osadl.org>
Date: Tue Dec 15 02:23:48 2009 +0100
Add the following new tests - ptsematest - sigwaittest - svsematest - sendme
John,
thanks a lot for taking care of the new tests.
By some reason, the spec file was not included in the patch. This
patch is needed to prevent the rpm build from finding installed
but unpackaged files.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
commit a6010f928e7026b1dc640f7a4072d865f7736702
Author: Carsten Emde <C.Emde@osadl.org>
Date: Tue Dec 15 00:04:34 2009 +0100
Explain that the backfire kernel module may need building.
Do a better job of explaining that the backfire kernel module may need
building in the sendme program.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit e9007a0edd52b391ad7d731dca3bd258c620c2f2
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 22:31:08 2009 +0100
Add a .gitignore file in the backfire directory for generated files.
Add a .gitignore file in the backfire directory for generated files
that are created when making the kernel module.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 863280b7d569126c6dddf515776deb6889414330
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 21:44:19 2009 +0100
Remove making of backfire kernel module from the rt-tests makefile
The kernel module can be made by cding to src/backfire and doing
make modules
sudo make modules_install
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 1a29a37968458329c05a7df3c1bfe66ee38a41b2
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 21:14:28 2009 +0100
The PHONY target for install is incorrectly specified as "all"
Change the PHONY target for install to install
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 2c4267ff9adcba69aaa6d4157f16b68fddc14ba2
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 16:19:59 2009 +0100
The version of check_privs that got added to the library must have come
from signaltest - because it doesn't have the fix that check_privs in
cyclictest has - to return the sched_priority to 0
This is a good example of why common functions should be put into libraries -
so all programs benefit from fixes.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 150f680979d590ed0314f954c32c308eee7b476d
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 16:15:11 2009 +0100
Add the new tests to .gitignore
Signed-off-by: John Kacur <jkacur@redhat.com>
commit a017e969b3e07c726ea472b9294d899d11822d67
Author: John Kacur <jkacur@redhat.com>
Date: Mon Dec 14 16:13:09 2009 +0100
Use sched_getcpu
- sched_getcpu is available since glibc 2.6
- the current tests were broken in anycase.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 92b0181ce8006c52cc19139dabfa155cca69e9f1
Author: Carsten Emde <carsten.emde@osadl.org>
Date: Mon Dec 14 15:53:20 2009 +0100
Add the following new tests
- ptsematest
- sigwaittest
- svsematest
- sendme
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit da4e86522577ac413395dfb32d0b7411028e8dd8
Author: Carsten Emde <carsten.emde@osadl.org>
Date: Mon Dec 14 14:58:52 2009 +0100
Make use of the new library functions in signaltest.
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit c51afec7fda2c43e760d43c5d76f4bfe4880c7f4
Author: Carsten Emde <carsten.emde@osadl.org>
Date: Mon Dec 14 14:47:59 2009 +0100
Make use of the library functions in cyclic test.
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit dce15eefef03154a684d5274aebe5a036ed45f99
Author: Carsten Emde <carsten.emde@osadl.org>
Date: Mon Dec 14 14:19:03 2009 +0100
Start a separate library of functions for the rt-test suite.
The first couple are taken from cyclictest.
Signed-off-by: Carsten Emde <carsten.emde@osadl.org>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit a6d367302e932b3a1d1865adf64a1a29b4d54ee4
Merge: 3085482 996e0f5
Author: John Kacur <jkacur@starship.(none)>
Date: Fri Dec 11 14:45:27 2009 +0100
Merge commit 'v0.56' into rt-tests-dev
commit 996e0f5e4de4824162757049f0814e5a007a4f33
Author: Clark Williams <williams@redhat.com>
Date: Thu Dec 10 14:33:40 2009 -0600
version bump to 0.56
Signed-off-by: Clark Williams <williams@redhat.com>
commit 93989ec0d61e5220ff14475a9ec44ba4ebfcf1a1
Author: Clark Williams <williams@redhat.com>
Date: Thu Dec 10 14:17:34 2009 -0600
[cyclictest] print thread ids when breaktracing
This commit adds some output then the -b option is used to break on
exceeding a threshold. the thread id of the thread that exceeded the
threshold is printed for use when looking at the trace log.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 3085482cff7a5b7f3d099259d7d2618aed5a72c6
Merge: 2712903 4176f24
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 23:31:29 2009 +0100
Merge commit 'v0.55' into rt-tests-dev
commit 4176f242c2eeeb4657f51183f55862e3dcd228db
Author: Clark Williams <williams@redhat.com>
Date: Thu Nov 19 15:04:43 2009 -0600
version bump to 0.55
commit 0b34a7b2bfdd889c808fb36a3797048cb800bb7e
Author: Clark Williams <williams@redhat.com>
Date: Thu Nov 19 14:16:07 2009 -0600
rt-tests: pi_stress: cosmetic newline added
Add a second newline to the "Low thread priority" display line
so that updating number of inversions doesn't overwrite it.
Signed-off-by: Clark Williams <williams@redhat.com>
commit d2ad7c750602b35b805003fc9ccc78337bc5b114
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 16:24:07 2009 +0100
rt-tests: pi_stress: Remove racy state variables that cause watchdog to trigger
When using pthread_barrier_wait, it is important that barriers are called
the correct number of times. That is - the same number given as the count
when initializing the barrier.
There was a do-while loop around elevate_barrier in the med priority thread.
On most machines, it actually never looped.
On threads with enough processors (nehelam for example), there was a racy
situation in which the high priority thread could come out of the finish
barrier, and before it could set high_has_run = 0, the medium priority
thread would test the value and call the elevate barrier an extra time.
This patch removes the bogus loop and related state variables and fixes
the hang.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit cf46ad44b92c937779a618bbc9c10507fe4f6473
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 12:02:52 2009 +0100
rt-tests: pi_stress: Check whether quiet is set, before taking shutdown_mtx
- Check whether quiet is set, before taking shutdown_mtx
- Add quiet to the help menu.
- Remove unused "signal" from struct options
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 9ee4dcad0346e9870bf76cc8c1bf8b48292afdca
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 11:50:10 2009 +0100
rt-tests: pi_stress: Use a pthread_mutex_t for the global variable shutdown
- Use a pthread_mutex_t for the global variable shutdown.
- Remove the volatile qualifier from shutdown. (Since the original author
probably simply meant the variable should be atomic which we effectively
get through the mutex.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 2712903a40560378cb61336994258780cfbb83d9
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 16:24:07 2009 +0100
rt-tests: pi_stress: Remove racy state variables that cause watchdog to trigger
When using pthread_barrier_wait, it is important that barriers are called
the correct number of times. That is - the same number given as the count
when initializing the barrier.
There was a do-while loop around elevate_barrier in the med priority thread.
On most machines, it actually never looped.
On threads with enough processors (nehelam for example), there was a racy
situation in which the high priority thread could come out of the finish
barrier, and before it could set high_has_run = 0, the medium priority
thread would test the value and call the elevate barrier an extra time.
This patch removes the bogus loop and related state variables and fixes
the hang.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 9093a5de51964f3a9ab1454a77181fad2d3e7217
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 12:02:52 2009 +0100
rt-tests: pi_stress: Check whether quiet is set, before taking shutdown_mtx
- Check whether quiet is set, before taking shutdown_mtx
- Add quiet to the help menu.
- Remove unused "signal" from struct options
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 97dbb3cebd200a4d45d89d8e264e43b119b2cbcf
Author: John Kacur <jkacur@redhat.com>
Date: Thu Nov 19 11:50:10 2009 +0100
rt-tests: pi_stress: Use a pthread_mutex_t for the global variable shutdown
- Use a pthread_mutex_t for the global variable shutdown.
- Remove the volatile qualifier from shutdown. (Since the original author
probably simply meant the variable should be atomic which we effectively
get through the mutex.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 8f9ffd3750ce2aa68bab10bdbf8e1c5da0d5e9fc
Merge: 4fc1a43 c8fdec1
Author: John Kacur <jkacur@redhat.com>
Date: Wed Nov 18 10:21:47 2009 +0100
Merge branch 'master' into rt-tests-dev
commit c8fdec1e0793c18b08b2b3d1e3548015505c3764
Author: Clark Williams <williams@redhat.com>
Date: Tue Nov 17 17:01:37 2009 -0600
version bump to 0.54
commit edce3be0484f4f73533166c9ad61aae6c5a44650
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 22:18:56 2009 +0100
rt-tests: Makefile - rt-tests.spec is not a PHONY target
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 168f2a35ebc52a75a445841344c152d6ca1b776c
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:28:39 2009 +0100
pi_stress: Convert c-plus style comments to c-style comments
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit a95740e5de9141f8e33c570c3587254773c9c318
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:22:23 2009 +0100
pi_stress: Fix trailing-whitespace warnings.
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 72bffb255a4541fb94bb52fcac0bccbc3ba1caea
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:14:46 2009 +0100
pi_stress: Fix indentation problems with Lindent from the kernel
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit e3f61d1e8c23ea0239636dc3e4c892fd2f22b8f7
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 16:14:25 2009 +0100
rt-tests: Makefile - Add a DEBUG option to the Makefile
This allows you to do
make DEBUG=0
which changes CFLAGS from -Wall -Wno-nonnull -O2
to -Wall -Wno-nonnull -O0 -g
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 502ab0b3e49d1c691bdd3b6975d90e9f5450196e
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 15:47:01 2009 +0100
rt-tests: Makefile - Specify when a target is a PHONY target.
Signed-off-by: John Kacur: <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1c436a1d755c456dd8f2caea7e7548df7f1b4e0d
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 15:37:49 2009 +0100
rt-tests: Makefile - Change FLAGS to CFLAGS
Change FLAGS to CFLAGS as this is the standard
Signed-off-by: John Kacur <jkacur@redhat.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 4fc1a432aa373948546d52121c69f7e27626d434
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 22:14:25 2009 +0100
rt-tests: Makefile - rt-tests.spec is not a PHONY target
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: John Kacur <jkacur@redhat.com>
commit f517718bb680aa1e93f72c29910bc65c13c82a05
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:28:39 2009 +0100
pi_stress: Convert c-plus style comments to c-style comments
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 76a7fa9c102631a34f88ec399c119ea542ae81a4
Author: Clark Williams <williams@redhat.com>
Date: Mon Nov 16 13:32:36 2009 -0600
added back dist macro
Added the dist macro back for distribution differentiation
Signed-off-by: Clark Williams <williams@redhat.com>
commit a41df95177ff19bd3185a5673aa598c353a5774d
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:22:23 2009 +0100
pi_stress: Fix trailing-whitespace warnings.
Signed-off-by: John Kacur <jkacur@redhat.com>
commit c6a804f6c38d5b7f6150123febe0b305ded6f21a
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 20:14:46 2009 +0100
pi_stress: Fix indentation problems with Lindent from the kernel
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 7ea849f942f7e5b02d2be9ee50e2584635cd7be4
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 16:14:25 2009 +0100
rt-tests: Makefile - Add a DEBUG option to the Makefile
This allows you to do
make DEBUG=0
which changes CFLAGS from -Wall -Wno-nonnull -O2
to -Wall -Wno-nonnull -O0 -g
Signed-off-by: John Kacur <jkacur@redhat.com>
commit 14806d13a0b84220fa17d38bdb32559610434794
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 15:47:01 2009 +0100
rt-tests: Makefile - Specify when a target is a PHONY target.
Signed-off-by: John Kacur: <jkacur@redhat.com>
commit e2a22de97709513b3d541f65280db51e44431a3e
Author: John Kacur <jkacur@redhat.com>
Date: Mon Nov 16 15:37:49 2009 +0100
rt-tests: Makefile - Change FLAGS to CFLAGS
Change FLAGS to CFLAGS as this is the standard
Signed-off-by: John Kacur <jkacur@redhat.com>
commit a0904a7dfcfcca40299cae7453cf4bde29b8956e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Tue Nov 10 15:40:16 2009 +0100
add sh4 to architecture list
Requested-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Closes: http://bugs.debian.org/555554
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 2f181d013caf02bbbbf020f7f1e40e85cfe1a81a
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Oct 29 21:50:29 2009 +0100
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 56e539b50e9645645b470eba0e210ea176a6bbb1
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Oct 29 21:35:34 2009 +0100
copyright: add rt-migrate-test
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 134464f980b50783485c170276f606663d7afb3f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Oct 29 21:28:10 2009 +0100
only build on architectures that didn't FTBFS for 0.51-1
These are all Linux archs but hppa. (The latter failed with
cc -Wall -Wno-nonnull -O2 -D_GNU_SOURCE -D VERSION_STRING=\"0.51\" src/pi_tests/classic_pi.c -o classic_pi -lpthread -lrt
src/pi_tests/classic_pi.c: In function 'main':
src/pi_tests/classic_pi.c:231: warning: implicit declaration of function 'pthread_mutexattr_setprotocol'
src/pi_tests/classic_pi.c:232: error: 'PTHREAD_PRIO_INHERIT' undeclared (first use in this function)
src/pi_tests/classic_pi.c:232: error: (Each undeclared identifier is reported only once
src/pi_tests/classic_pi.c:232: error: for each function it appears in.)
src/pi_tests/classic_pi.c: In function 'setup_thread_attr':
src/pi_tests/classic_pi.c:365: warning: implicit declaration of function 'pthread_attr_setaffinity_np'
.)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 52c471277d6636654b8e1668ea68001fec120c2b
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Oct 29 21:23:55 2009 +0100
document new upstream release in changelog
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 734c148ced9b943519f5d6d2acac9bf2d7ca737b
Merge: 29794b2 82ca52c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Oct 29 21:21:23 2009 +0100
Merge tag 'v0.53' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit d0a65eb5a016d789edcc50ea7f94506cf6751730
Author: Clark Williams <williams@redhat.com>
Date: Wed Oct 7 09:14:20 2009 -0500
patch from Hans-Peter Bock <Hans-Peter.Bock@isw.uni-stuttgart.de>
correcting units in help message for cyclictest
commit 82ca52c27b60b5c57a78dbd8b2352609960e43dd
Author: Clark Williams <williams@redhat.com>
Date: Tue Oct 6 14:21:04 2009 -0500
version bump to 0.53
commit 6d54794d16310389f3a9f822038d9e9f24265d96
Author: Clark Williams <williams@redhat.com>
Date: Tue Oct 6 14:17:18 2009 -0500
fixed incorrect format in hwlatdetect.py
commit de34dc90a4f3edb0e5ca6b2efcde23b778eadedb
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 21 19:30:38 2009 -0500
add new file doc/realease-checklist.txt
commit b4eaf442855f56e16ebc37ace394bc8d17db158a
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 21 16:57:25 2009 -0500
version bump to 0.52
commit 99557d7360d66e25538756c82a3078d0892f51fc
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 21 16:48:49 2009 -0500
cleanups for rt-migrate-test
commit 7ca2d46e60caf611668309bba5060f928afd03f9
Author: Clark Williams <williams@redhat.com>
Date: Mon Sep 21 10:30:10 2009 -0500
added Steven Rostedt's rt-migrate-test
commit 29794b26513f13d376c21f97dc18496f3258b58d
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:29:51 2009 +0200
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit e9445e98f840b6f902fd8a31d8a26fbb0129fb0f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:25:10 2009 +0200
Bump Standards-Version
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit eff0ebaf1ad5eec520dd01b03ebeae3e6dd9c383
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:18:47 2009 +0200
debian/copyright: add scripts/*
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 68dae8d01aa39b7cfdda2c80842fcbb62ec16894
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:15:09 2009 +0200
debian/changelog: document new upstream release
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 8715d785632e4047d30f91e4af2ccb9852b3095d
Merge: 80d5204 42ab9e7
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:00:42 2009 +0200
Merge tag 'v0.51' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 80d5204174d0f02349d49c26294d5931ddfdcb29
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat Sep 19 16:00:17 2009 +0200
reformat copyright and add authors and years of the copyright
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 0e59a31bf8882390803a95539ec773c66d8fe14e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Sep 17 09:49:28 2009 +0200
copyright: fix a typo
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 16707573007db383859cd551c2415afb13be9739
Author: John Kacur <jkacur@redhat.com>
Date: Mon Sep 14 16:33:31 2009 +0200
pi_stress clean-ups, fix hang.
From f17765e52e248b3a738f5206cb4b97bdcc1a0204 Mon Sep 17 00:00:00 2001
From: John Kacur <jkacur@redhat.com>
Date: Tue, 1 Sep 2009 15:24:23 +0200
Subject: [PATCH] Add tags and TAGS to .gitignore
Add tags and TAGS to .gitignore, to prepare for a make tags option
commit 42ab9e7cd259fae674dc2b2aa2962caaf8f09409
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 3 15:11:05 2009 -0500
documented -M option
commit 64fce51cb8366a3462bfa55d3de250fb5564eadc
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 3 15:07:42 2009 -0500
version bump to 0.51
commit 34fca025a60b2340a76f1f9972cdce68629c9065
Merge: fc96b72 ab88708
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 3 14:57:42 2009 -0500
Merge commit 'uwe/for-clark'
commit ab887085b4ba080eb698c903fdf33e02724fbd2f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Sep 3 21:02:19 2009 +0200
cyclictest.8: make description of --policy consistent to other options
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit ba788f073122b88d93ba6a288c21a08c26b4ba10
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu Sep 3 20:56:14 2009 +0200
manpages: fix lintian warning hyphen-used-as-minus-sign
"-" must be escaped ("\-") to be interpreted as minus, otherwise they
might be rendered as hyphen which makes it impossible to search for or
to cut'n'paste.
See http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html for a
detailed explanation.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit fc96b72126e79a732e6265d76a11c4e807368642
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date: Wed Aug 26 17:31:34 2009 -0300
cyclictest: add --update_on_max option
Note: the previous one sucked rockz, please try this one instead.
When running on a machine with not enough bandwidth it can be helpful to
only update the status when a new max is hit.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
commit 6fc3749d5839de2a0592e2dba1b57db6e7e424e9
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jul 20 21:53:31 2009 +0200
document new upstream release in changelog
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 8356fae7f2b65993bf73fa436337a8cb141304b1
Merge: 3e9a9e2 a55242c
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jul 20 21:49:26 2009 +0200
Merge tag 'v0.50' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 3eba62854f39c2e107ecfc8673b88fcd9b04f7a6
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 16 10:46:39 2009 -0500
added extra status prints to scripts/do-git-push
added pushtest target to Makefile
fixed incorrect argument to git push
commit a55242cc96107b13d328923b31d723e521a8683b
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 16 10:42:01 2009 -0500
version bump to 0.50
commit 62ef8a98a75a08d2f6621a21aedfb5846657dab5
Author: Clark Williams <williams@redhat.com>
Date: Wed Jul 15 20:43:21 2009 -0500
major rewrite of hwlatdetect.py to handle old smi_detector module
as well as current hwlat_detector
commit b7ba8bc3c72a5c4d4cbdc4fc84c480ee6b74eb4a
Author: Clark Williams <williams@redhat.com>
Date: Wed Jul 15 20:41:37 2009 -0500
removed redirect to /dev/null and added --dryrun push
commit a8a69c7e96f541004c5f9fdc600096cd20bdcd97
Merge: 960adc4 b2554ef
Author: Clark Williams <williams@redhat.com>
Date: Mon Jul 13 12:35:02 2009 -0500
Merge branch 'clark'
commit b2554ef475ce34c7d7afa888df2d5b2b22068b8f
Author: Clark Williams <williams@redhat.com>
Date: Mon Jul 13 12:34:10 2009 -0500
small tweaks to Uwe's changes to scripts/do-push-git
added testing mode to scripts/do-push-git
commit edcaf949455641e4052616da60f7a574d8d85015
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jul 10 20:32:32 2009 +0200
scripts/do-git-push: optimize a few forks away
As I'm not Clark I cannot test my changes, so this is completly
untested :-)
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 960adc44a228c7b71007028afad64febbbf3055e
Author: Clark Williams <williams@redhat.com>
Date: Mon Jul 13 10:07:24 2009 -0500
version bump to 0.49
commit e5d7ca1ac58ad2908850d8c11062a0a49a031df2
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon Jul 13 14:34:48 2009 +0200
cyclictest: process option before checking for permissions
so a normal user is able to take a look on the available options
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 47e87a456c66f8fcea3cfbca914a5ab7f82e4cfc
Author: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: Mon Jul 13 09:40:46 2009 -0500
cyclictest: exit with an error code in error case
if cyclictest is started with invalid arguments or $SOMETHING, then it
prints the help screen and the exit code is 0 which is wrong.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 3e9a9e2ec3b6b65f94b9c8a646c0748736c7981e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jul 8 22:05:47 2009 +0200
set distribution=unstable for upload to Debian
commit 2ba1f87e05d59287fd09520f4a20d990411888e6
Author: Clark Williams <williams@redhat.com>
Date: Tue Jul 7 17:15:21 2009 -0500
version bump to 0.48
added push target to Makefile
commit c6efd5be12756d23a6a1d818a9f1a1283e5ec4ee
Author: Clark Williams <williams@redhat.com>
Date: Tue Jul 7 17:14:46 2009 -0500
moved to scripts directory
commit f8b121ddd8ae47d8dbb0d15e4d3888bcd32c29d5
Author: Clark Williams <williams@redhat.com>
Date: Tue Jul 7 17:13:53 2009 -0500
Added sanity checks and comments to scripts/do-git-push
commit 03f8afd84564f67dc66eb493abdd62f346e11f30
Author: Clark Williams <williams@redhat.com>
Date: Tue Jul 7 16:26:42 2009 -0500
added do-git-push script
commit d4e64bdf64076fcff82e1efa6d6e8a6fa9d371ff
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 16:14:57 2009 -0500
version bump to 0.47
commit a64d952c2ccf48bd90e7241b1f1e8f3532a3731f
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 16:14:43 2009 -0500
updated change log
commit 1b7ecf004ba2cb196b066603e0d43511d84a725f
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 13:33:52 2009 -0500
change options for --policy to be string names rather than integers
moved policy display from individual threads to header with load average
did some sanity checking so that policy and priority match
Signed-off-by: Clark Williams <williams@redhat.com>
commit de70815ad04ac2726d23331bd3d7f4472106b6e5
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 12:58:51 2009 -0500
Subject: [PATCH]cyclictest: Arrange alphabetically for readability of
"cyclictest --help".
From: GeunSik Lim <leemgs1@gmail.com>
Reply-To: leemgs1@gmail.com
To: williams <williams@redhat.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de>
When we use "#> cyclictest --help" command, we are confusing because of
random order of many options. Arrange alphabetically.
After Patch)
[root@fedora11 rt-tests]# ./cyclictest --help
cyclictest V 0.46
Usage:
cyclictest <options>
-a [NUM] --affinity run thread #N on processor #N, if possible
with NUM pin all threads to the processor NUM
-b USEC --breaktrace=USEC send break trace command when latency > USEC
-B --preemptirqs both preempt and irqsoff tracing (used with -b)
-c CLOCK --clock=CLOCK select clock
0 = CLOCK_MONOTONIC (default)
1 = CLOCK_REALTIME
-C --context context switch tracing (used with -b)
-d DIST --distance=DIST distance of thread intervals in us default=500
-D --duration=t specify a length for the test run
default is in seconds, but 'm', 'h', or 'd' maybe added
to modify value to minutes, hours or days
-E --event event tracing (used with -b)
-f --ftrace function trace (when -b is active)
-h --histogram=US dump a latency histogram to stdout after the run
(with same priority about many threads)
US is the max time to be be tracked in microseconds
-i INTV --interval=INTV base interval of thread in us default=1000
-I --irqsoff Irqsoff tracing (used with -b)
-l LOOPS --loops=LOOPS number of loops: default=0(endless)
-m --mlockall lock current and future memory allocations
-n --nanosleep use clock_nanosleep
-N --nsecs print results in ns instead of ms (default ms)
-o RED --oscope=RED oscilloscope mode, reduce verbose output by RED
-O TOPT --traceopt=TOPT trace option
-p PRIO --prio=PRIO priority of highest prio thread
-P --preemptoff Preempt off tracing (used with -b)
-q --quiet print only a summary on exit
-r --relative use relative timer instead of absolute
-s --system use sys_nanosleep and sys_setitimer
-t --threads one thread per available processor
-t [NUM] --threads=NUM number of threads:
without NUM, threads = max_cpus
without -t default = 1
-T TRACE --tracer=TRACER set tracing function
configured tracers: unavailable (debugfs not mounted)
-v --verbose output values on stdout for statistics
format: n:c:v n=tasknum c=count v=value in us
-w --wakeup task wakeup tracing (used with -b)
-W --wakeuprt rt task wakeup tracing (used with -b)
-y POLI --policy=POLI policy of realtime thread (1:FIFO, 2:RR)
format: --policy=1(default) or --policy=2
Signed-by-off: GeunSik Lim <geunsik.lim@samsung.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 1926b984397dc9f7f8c8d1ce327048531ca2d06d
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 12:58:27 2009 -0500
Subject: [PATCH] cyclictest: Add policy option to support FIFO or RR by
users
From: GeunSik Lim <leemgs1@gmail.com>
To: williams <williams@redhat.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de>
Current cyclictest support FIFO policy for static priority of
RT threads only. Append policy option to support FIFO or RR by user.
After this patch.
1) with FIFO about RT threads(default)
./cyclictest -t 5 -p 50
or ./cyclictest -t 5 -p 50 -y 1
or ./cyclictest -t 5 -p 50 --policy 1
2) with RR about RT threads(default)
./cyclictest -t 5 -p 50 -y 2
or ./cyclictest -t 5 -p 50 --policy 2
This is screenshot of threads using cyclictest & tuna utility after patch.
http://blogfiles6.naver.net/20090703_5/invain_1246588185266_sc7zEq_PNG/cyclictest-tuna-policy.PNG
Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 78ae63b635dd1d495cadc87731b6b3404c4cff47
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 12:58:01 2009 -0500
Subject: [PATCH] cyclictest : Appended man & usage about the same priority
of many threads with -h
From: GeunSik Lim <leemgs1@gmail.com>
Reply-To: leemgs1@gmail.com
To: williams <williams@redhat.com>
Cc: linux-rt-users <linux-rt-users@vger.kernel.org>, tglx <tglx@linutronix.de>,
sdietrich@suse.de
If we run a many threads with -t option, "priority--" rt priority will assign
per thread in sequence. But, If we use -h option, all threads is same priority.
Append man page and cyclictest usage about the same priority of many threads
with -h option.
ex) cyclictest -t 5 -p 50 [enter] <-- without -h
ex) cyclictest -t 5 -p 50 -h 100 [enter] <-- with -h
Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com>
Acked-by : Sven-Thorsten Dietrich <sdietrich@suse.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 581a864672741a2ba10813ae524a218bac51f261
Author: Clark Williams <williams@redhat.com>
Date: Sun Jul 5 12:57:27 2009 -0500
changed smidetect to hwlatdetect in .gitignore
commit 845d666e514b19f32d104c84ccea3f8bf470a07d
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jul 3 15:06:55 2009 +0200
update changelog for v0.45
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit bb44243771a4c85273b0f9830e07729921cefb48
Merge: 4c7db63 190a00e
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jul 3 15:05:06 2009 +0200
Merge tag 'v0.45' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 802855c693684fb56ee40af72f6dcffe4a5796c8
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 2 17:13:39 2009 -0500
added fix from Daniel Gollub <dgollub@suse.de> for doomsday latency
version bump to 0.46
commit 4b1bc6a9bb82faa91842d111ed31fe84877aaa8c
Author: Daniel Gollub <dgollub@suse.de>
Date: Wed Jul 1 19:16:29 2009 -0700
Subject: Handle doomsday latency for cyclictest in histogram mode
Don't miss latency which exceed the histogram limit -
instead sample limit exceeding latency in the last bucket.
This is a leftover from cyclictest_histogram.patch:
-> Todo: Currently cyclictest does not report the number of samples
-> that exceeded the histogram max latency.
Handle OOM.
Signed-off-by: Daniel Gollub <dgollub@suse.de>
Reviewed-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
--
commit 81b30e4c384049414d2c9edfc77192d8465e7590
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 2 09:42:30 2009 -0500
updated changelog for 0.45
commit 190a00e14e7aba6495a1c7d433c2cfa260e9e939
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 2 09:36:52 2009 -0500
version bump to 0.45; added help target to Makefile
commit 63cf2a4809a2895dace125ba2ce88a2984769731
Author: Sven-Thorsten Dietrich <sdietrich@suse.de>
Date: Sat Mar 21 16:41:40 2009 -0700
Change output format to allow 6 digits.
This is useful when testing PREEMPT_NONE Kernels with cyclictest,
where latencies approaching 1 second can be observed.
Signed-off-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
commit 66fb1db24ec16a26e248fc7742d84002efc9135e
Author: Clark Williams <williams@redhat.com>
Date: Thu Jul 2 09:29:11 2009 -0500
added debug prints and retry logic to hwlatdetect enable/disable code and detection code
commit 6092f3b705fd3207ffac7dff681e78033af1cddb
Author: Daniel Gollub <dgollub@suse.de>
Date: Wed Jul 1 18:57:43 2009 -0700
Avoid segfault of cyclictest if it gets immediately interrupted.
If clock_nanosleep() gets interrupted this could result in a negative
time diff from calcdiff().
With the histogram patch this leads to a segfault, since the time diff
is used as index for the histogram array:
Core was generated by `/usr/bin/cyclictest -n -q -p 99 -t 2 -i 500 -l
1000000 -h
20000'.
Program terminated with signal 11, Segmentation fault.
#0 0x0000000000402324 in timerthread (param=<value optimized out>)
at src/cyclictest/cyclictest.c:339
339 stat->hist_array[diff] += 1;
(gdb) p diff
$1 = -751974
Signed-off-by: Daniel Gollub <dgollub@suse.de>
Acked-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
commit a778639f31e064419511a39d7ce5401d709514fa
Author: Clark Williams <williams@redhat.com>
Date: Tue Jun 30 13:36:50 2009 -0500
version bump to v0.44
commit 68b947acc1ff25dc0b66b10591ca461d1fc22424
Author: Clark Williams <williams@redhat.com>
Date: Tue Jun 30 13:36:35 2009 -0500
renamed smidetect to hwlatdetect in specfile template
commit f247fd753a307b0ceae7941a282a93ccc614f529
Author: Clark Williams <williams@redhat.com>
Date: Tue Jun 30 13:36:06 2009 -0500
added code to resize window/width when setting the other to a smaller value
commit 4c7db63361902d19f591d5dfab734a5cf1892b45
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Tue Jun 30 10:21:38 2009 +0200
bump Standards-Version
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit c62677c79218fe71fe5dbec1e5aee14b30426260
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jun 29 21:47:30 2009 +0200
changes for 0.43-1
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit fba5113157bb8fed6639fd3ab54d898e3c7301ad
Merge: 8513914 803a417
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jun 29 21:46:26 2009 +0200
Merge tag 'v0.43' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 803a41737827db85a89b8ae3822c3a1c7b64916b
Author: Clark Williams <williams@redhat.com>
Date: Thu Jun 25 09:15:40 2009 -0500
version bump to 0.43
commit 2a1cf80ccca269a33557216514e2553cd07e2782
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 24 00:21:08 2009 +0200
hwlatdetect.8: There is no macro .R
You might wonder if this wasn't already fixed. Yes it was (in
f16ec27fb3), but the change was undone by 3e04327f7f.
While at it add an .br which makes the paragraph look a bit nicer.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 851391404787a1efa571beb149e06c718d472edb
Merge: 31e7520 a3904bd
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jun 22 22:50:52 2009 +0200
Merge branch 'master-v0.39'
Conflicts:
debian/changelog
debian/control
commit a3904bdcb45949ee31b6dfe0b3dfb70acb9206e2
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon Jun 22 21:22:47 2009 +0200
set distribution=unstable for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 61f89f1a67a060bbf58146cd29bb16b54308e737
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 10 21:01:38 2009 +0200
conflict with xenomai-runtime
This closes http://bugs.debian.org/529783
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
(cherry picked from commit 79861689a3c625629f71b15bbecbbfa26c5a76af)
commit f34d25cf1e84b4549eb2777c41d1308a1fca8a4f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 10 19:33:28 2009 +0200
describe Changelog problem when building from the git repo
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
(cherry picked from commit f662b20f8d9f8ad8334ee061642804e082396ac7)
commit 219d5b48b1725a145f1973d61bf31db1c168dea4
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 15:48:18 2009 -0500
version bump to 0.42
commit eb0c42a27c02ebd11962427e0298d4de9eafd5d3
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 15:47:59 2009 -0500
added copyright header to hwlatdetect.py
commit 652127181ca45efff2e08182ae2ab169057d48cf
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 15:47:35 2009 -0500
updated hwlatdetect.8 to reflect new options/behavior
commit 31e7520d6021a2c8251f7111a70dbcbe246b08b8
Merge: 7986168 3e04327
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 12 21:56:52 2009 +0200
Merge tag 'v0.41' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 3e04327f7fc0be0ee2cb3d8157a4faf43e4b00cb
Merge: c7deee8 11f68bd
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 13:20:17 2009 -0500
merge resolution
commit 11f68bd172b13866666837fc9534c0f7b5eb338e
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 13:15:45 2009 -0500
added hwlatdetect remove in clean target of Makefile
commit ad5a12cb08843bdfade4a6be7fe338a08fe2bf50
Author: Clark Williams <williams@redhat.com>
Date: Fri Jun 12 13:06:12 2009 -0500
removed internal defaults (went with module defaults); added debugging code; make sure window set before width
commit c7deee8c38a08e173a5e5282280c2abb362c9370
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Fri Jun 12 15:32:35 2009 +0200
Make comment describing set_debugfileprefix a bit clearer
This was noticed by GeunSik Lim.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: GeunSik Lim <leemgs1@gmail.com>
Cc: Luis Claudio R. Goncalves <lclaudio@uudg.org>
Cc: Clark Williams <williams@redhat.com>
commit 556a10971ca338586cf1efd473b503ff80c58aa8
Author: Clark Williams <williams@redhat.com>
Date: Wed Jun 10 23:32:41 2009 -0500
handled module changes
commit 79861689a3c625629f71b15bbecbbfa26c5a76af
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 10 21:01:38 2009 +0200
conflict with xenomai-runtime
This closes http://bugs.debian.org/529783
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 77dc91b0669256056b9b0605bae66968e7070e3d
Author: Clark Williams <williams@redhat.com>
Date: Wed Jun 10 13:53:18 2009 -0500
updated distclean target
commit 446ff919908144b0d1b5fafa8e02f865abe70e84
Author: Clark Williams <williams@redhat.com>
Date: Wed Jun 10 13:50:02 2009 -0500
the great renaming: smidetect -> hwlat
commit f662b20f8d9f8ad8334ee061642804e082396ac7
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Wed Jun 10 19:33:28 2009 +0200
describe Changelog problem when building from the git repo
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 7bb717b666059e1846f0fee55819f09c17a9d521
Author: Clark Williams <williams@redhat.com>
Date: Tue Jun 9 12:47:07 2009 -0500
added smidetect and generated spec file to .gitignore
commit 758df9730855c963542e89d998ec14100e6021f4
Author: Clark Williams <williams@redhat.com>
Date: Tue Jun 9 12:45:58 2009 -0500
added non-blocking open+polling read to handle new module logic; added debug statements
commit 30edd0b4abaa4413a22e5e69c9ee187d41e55e6c
Author: Clark Williams <williams@redhat.com>
Date: Sat May 30 10:30:49 2009 -0500
rewrite to match updated smi_detector module
commit 0884033338909b8052c0179a2ab971e79bf43bca
Author: Stefan Agner <stefan@agner.ch>
Date: Wed May 27 23:53:07 2009 +0200
cyclictest: calcdiff calculated wrong seconds if the difference was bigger than 2147s
Hello,
My first fix didn't took into account that long is 4 byte long on ARM. Therefor
I changed it to long long now, which works on my ARM board...
Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Clark Williams <williams@redhat.com>
commit f16ec27fb37579f336426eed6b29aaf1ee1850be
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu May 14 01:06:38 2009 +0200
smidetect.8: There is no macro .R
For a normal font just use nothing.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit b23e8c2de03e6da28377d6a6cc2609a3a0f4da16
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu May 14 01:05:35 2009 +0200
changes for 0.40
commit cf3e574ddaf4ed22296239bc2a790440f7f9456a
Merge: 7db0cb0 5aac188
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu May 14 00:09:51 2009 +0200
Merge tag 'v0.40' of git://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests
commit 5aac188d853c78f483342255303086992a533b64
Author: Clark Williams <williams@redhat.com>
Date: Wed May 13 13:57:11 2009 -0500
added smidetect
commit 934e60da538dfba0793ee91b4e3b2121e7a1376c
Author: Clark Williams <williams@redhat.com>
Date: Tue May 12 16:56:37 2009 -0500
added rule to ignore emacs backupfiles
commit e8711b5cb9eb1e564aac131f31df42bacabd7d3f
Author: Clark Williams <williams@redhat.com>
Date: Tue May 12 16:54:06 2009 -0500
initial checkin
commit 45d0c73f332c93dc5c0df737a65c833c6522e252
Author: Clark Williams <williams@redhat.com>
Date: Tue May 12 16:54:03 2009 -0500
initial checkin
commit 337bf38f80a5af14a0927285fa7329d7626467f2
Author: Clark Williams <williams@redhat.com>
Date: Tue May 12 16:53:59 2009 -0500
initial checkin
commit 7db0cb0788c74bb759082f42f20ae654a4f5d785
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Mon May 11 00:19:41 2009 +0200
add VCS URL to control
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 2690bd54c3b61961f72f636bc087846e893c4904
Author: Alexander Reichle-Schmehl <a.reichle-schmehl@pengutronix.de>
Date: Sun May 10 23:46:58 2009 +0200
change debian revision for upload to Debian
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 46c6ec68da66fcd583e2a88ab0e69c671051926f
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sun May 10 23:17:27 2009 +0200
initial debianization
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 9153c383ec7f7b08fd7d50f35d39a1a6c933b579
Author: Clark Williams <williams@redhat.com>
Date: Wed May 6 09:35:23 2009 -0500
version bump to 0.39
commit ec536d0454b77944776384c2760e318d4f8a2609
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat May 2 20:25:53 2009 +0200
Makefile: don't override DESTDIR, prefix, bindir and mandir
This eases packaging rt-tests and shouldn't have any further impact.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit c289046965e17b623b1f1de802283d1584a33af9
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat May 2 20:02:37 2009 +0200
signaltest: fix typo in copyright header
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
commit 8565bd61b4725760e07c5c3c9c7b5333630ca647
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Sat May 2 17:56:03 2009 +0200
escape minus signs in manpages
'-' chars are interpreted as hyphens by groff, not as minus signs. This
means that if you're using an UTF-8 locale searching for '-' to find
options doesn't work.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
commit 1b81d40771d977a3eb36dd4f17b7e87e69e5777e
Author: Clark Williams <williams@redhat.com>
Date: Thu Apr 30 15:28:32 2009 -0500
version bump to 0.38
commit 95bd88ca5a69195466d476b104ced8b5ab352a38
Author: Clark Williams <williams@redhat.com>
Date: Thu Apr 30 15:27:15 2009 -0500
added code to usage message to show configured tracers if debugfs mounted
Signed-off-by: Clark Williams <williams@redhat.com>
commit 3fc59347e83bb9b8397b0508190b416d0dd53fdc
Author: Tobias Klauser <tklauser@distanz.ch>
Date: Thu Apr 30 11:05:55 2009 +0200
cyclictest: Remove duplicate entry for -m from manpage
Hi Thomas,
The patch below removes the duplicate entry for the -m/--mlockall option from
the cyclictest manpage. Patch is againnst current HEAD of rt-tests.git
Cheers, Tobias
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
commit 986688b00b97507fe9ea92c70d9d99f1bc71abca
Author: Clark Williams <williams@redhat.com>
Date: Wed Apr 29 15:31:10 2009 -0500
updated version string to 0.37
commit 9187c3944ba8f5021c771e593311f5087ef49771
Author: Clark Williams <williams@redhat.com>
Date: Wed Apr 29 15:30:44 2009 -0500
added --tracer and --traceopt options
commit 552bd1a203041e2ac083b50fe1f0fbf49624a86f
Author: Clark Williams <williams@redhat.com>
Date: Wed Apr 29 15:23:22 2009 -0500
added --tracer and --traceopt options
commit 9abe9601f7b39db5ae71d010a2a1b4598f2f7966
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 24 15:35:27 2009 -0500
correct usage message for -w and -W
commit 54623d8d7e513585f65cc00b7d919e120adbbbd0
Author: Clark Williams <williams@redhat.com>
Date: Fri Apr 24 15:35:04 2009 -0500
add -w and -W
commit 870347de963c97e8a753de0341521e533ff96493
Author: GeunSik Lim <leemgs1@gmail.com>
Date: Fri Apr 24 15:20:50 2009 -0500
[PATCH] cyclictest: Add tracing function about wakeup and wakeup_rt of ftrace.
This is patch to support wakeup & wakeup_rt tracing at the argument of
cyclictest additionally. Current cyclictest support three tracing
like PREEMPTOFF, IRQSOFF, PREEMPTIRQSOFF just.
This additional function will help wakeup related tracing
about sleep api [ex: nanosleep() , usleep] of cyclictest.
Practically speaking, wakeup(+wakeup-rt) tracing by steven rostedt is useful
in the linux based embedded product development.
After patching,
Fedora9#> cat /debug/tracing/available_tracers
syscall blk kmemtrace power branch function_graph mmiotrace wakeup_rt wakeup \
preemptirqsoff preemptoff irqsoff function sched_switch initcall nop
Fedora9#> cyclictest -t 5 -p 80 -b 1000 -w -D 10 [enter] <--- tracing wakeup
Fedora9#> cat /debug/tracing/trace
Fedora9#> cyclictest -t 5 -p 80 -b 1000 -W -D 10 [enter] <--- tracing wakeup-rt
Fedora9#> cat /debug/tracing/trace
Signed-off-by: GeunSik Lim <geunsik.lim@samsung.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6d4136e50104075f8823f4e7eaa5fc7d6d617760
Author: GeunSik Lim <leemgs1@gmail.com>
Date: Tue Apr 21 16:28:55 2009 +0900
cyclictest: Remove duplicated description of cyclictest usage like -h.
Author: Lim,GeunSik <leemgs1@gmail.com>
Date: Tue Apr 21 16:03:56 2009 +0900
[PATCH] cyclictest: Remove duplicated description of cyclictest usage like -h.
We often utilize a various options with "#>cyclictest --help" command in the terminal environment.
When We run "#> cyclictest --help" command, We can show duplicated description about "-h" option
for latency histogram.
Unfortunatley, Some of the users is confusing because of two options about latency histogram.
[root@fedora9 invain]# ./cyclictest --help
cyclictest V 0.36
Usage:
cyclictest <options>
-a [NUM] --affinity run thread #N on processor #N, if possible
with NUM pin all threads to the processor NUM
-b USEC --breaktrace=USEC send break trace command when latency > USEC
-B --preemptirqs both preempt and irqsoff tracing (used with -b)
-c CLOCK --clock=CLOCK select clock
0 = CLOCK_MONOTONIC (default)
1 = CLOCK_REALTIME
-C --context context switch tracing (used with -b)
-d DIST --distance=DIST distance of thread intervals in us default=500
-E --event event tracing (used with -b)
-f --ftrace function trace (when -b is active)
-h H_MAX latency histogram size in us default 0 (off)
-i INTV --interval=INTV base interval of thread in us default=1000
................. [Middle Omission] ...................
-v --verbose output values on stdout for statistics
format: n:c:v n=tasknum c=count v=value in us
-D --duration=t specify a length for the test run
default is in seconds, but 'm', 'h', or 'd' maybe added
to modify value to minutes, hours or days
-h --histogram=US dump a latency histogram to stdout after the run
US is the max time to be be tracked in microseconds
For example,
-h H_MAX latency histogram size in us default 0 (off)
-h --histogram=US dump a latency histogram to stdout after the run
US is the max time to be be tracked in microseconds
As you see, We don't need "-h H_MAX . . . . . ." description.
So, I think that We have to remove old option about description of histogram function.
Signed-off-by: GeunSik Lim <leemgs1@gmail.com>
commit 0e2f1a14ffce106ca4b51a78bbd18f3aae1a8ea2
Author: Clark Williams <williams@redhat.com>
Date: Mon Apr 20 14:09:12 2009 -0500
version bump to 0.36
commit 5dce871f962a0821e8cd153c2353c3e1ae600d95
Author: Clark Williams <williams@redhat.com>
Date: Mon Apr 20 14:07:05 2009 -0500
updated cyclictest man page with -C/--context and -E/--event options
commit 7272c4d320aaf36a018711131e2176951f757b8e
Author: GeunSik Lim <leemgs1 () gmail ! com>
Date: Wed Apr 8 13:49:26 2009 -0500
cyclictest: bugfix getopt_long() for -C and -F.
Author: Lim,GeunSik <leemgs1@gmail.com>
Date: Wed Apr 8 22:21:59 2009 +0900
[patch] cyclictest: bugfix getopt_long() for -C and -F.
We can not use -C option without --context option for tracing context switching.
ex) ./cyclictest -t 10 -m -b 100 -C
We can not use -E option without --event option for tracing events.
ex) ./cyclictest -t 10 -m -b 100 -E
Append -C and -E option on getopt_long() function to solve this problems.
Signed-off-by: GeunSik Lim <leemgs1@gmail.com>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 876c33c8a9dc3dc3249a9e0473a2a0d9663cda6b
Author: Clark Williams <williams@redhat.com>
Date: Tue Apr 7 15:31:32 2009 -0500
fixed release target in Makefile so rpms will build
updated version string to 0.35
minor format tweak to make variables
Signed-off-by: Clark Williams <williams@redhat.com>
commit 4d284a272e662e8ad027c395f70ca6526cad095b
Author: Clark Williams <williams@redhat.com>
Date: Tue Apr 7 15:29:27 2009 -0500
adjustedt install target to match Uwe's DESTDIR/prefix split
Signed-off-by: Clark Williams <williams@redhat.com>
commit f2e4eebd40b71c3472db0817348d4c79bc43b0e0
Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Tue Apr 7 22:01:57 2009 +0200
split function of DESTDIR into DESTDIR + prefix
It's more common that DESTDIR doesn't include /usr or /usr/local but
only the base directory for a relocated installation. The in-tree
prefix is usually named "prefix".
"usually" here means as it is done by autoconf and as it is expected by
the Debian package helpers.
While at it also make the other path variables match this convention.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7453d772a0ffc65b260d0dab6cf2e01864ba52e5
Author: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Date: Tue Apr 7 15:08:17 2009 -0500
Signed-off-by: Clark Williams <williams@redhat.com>
commit 6f3669db231c7497e24630069b89684fba497b26
Author: Clark Williams <williams@redhat.com>
Date: Sun Apr 5 09:41:51 2009 -0500
version bump to 0.34
commit 1b3ee55106c52e7d4f96a8a8d65c564f230010f0
Author: Clark Williams <williams@redhat.com>
Date: Sun Apr 5 09:31:24 2009 -0500
reworked settracer()
GeunSik Lim <leemgs1@gmail.com> found a problem with settracer()
in that it had a hardcoded limit to the number of tracers searched.
Unfortunately his patch found a bug in either fscanf or debugfs,
since it doesn't seem to return EOF at the end of input, so I reworked
the patch to read all the input and parse it using strtok.
Signed-off-by: Clark Williams <williams@redhat.com>
commit 99ba86e19c8ac18b730d40420263e7b790d18a95
Author: Clark Williams <williams@redhat.com>
Date: Mon Mar 30 09:21:37 2009 -0500
version bump to 0.33
commit d2532aed6035502176d44bec8bf3e0c0cb335882
Author: Clark Williams <williams@redhat.com>
Date: Mon Mar 30 09:21:07 2009 -0500
fix formatting damage from nanosecond patch
commit 64cca12051795663cea89d0847cbac256465d110
Author: Clark Williams <williams@redhat.com>
Date: Sat Mar 28 09:39:51 2009 -0500
version bump to 0.32
commit 58f08ef334c9f1c386af9744eea390ff2c18c422
Author: Luis Henriques <henrix@sapo.pt>
Date: Fri Mar 20 19:43:18 2009 +0000
cyclictest: Added option for results in nanoseconds
cyclictest results are presented in microseconds, although internal precision
uses nanosecond unit. This patch adds a command-line option for keeping the
nanoseconds precision. man page has also been update.
Signed-off-by: Luis Henriques <henrix@sapo.pt>
Signed-off-by: Clark Williams <williams@redhat.com>
commit a7bd17e188d3b8f18bafd157c1ec9aad31c99096
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sat Mar 28 12:18:55 2009 +0000
cyclictest: init tracer only once
The tracer setup happens in every thread, which is nonsense. First of
all it leads to a lot of irritating warnings because the things are
setup multiple times. The worst effect is that one tasks runs already
into the tracer stop condition and the next one reenables the tracer.
Move the tracer setup into the main thread and do it only once.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit d4a986cb074aa11a9d0342aa55580083fdeff3f0
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sat Mar 28 12:18:52 2009 +0000
cyclictest: fix priviledge test
Switching back to SCHED_OTHER in check_priv() fails due to the param
argument of sched_setscheduler() set to NULL.
Set the priority to 0 and hand in params.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 9ffdc557b32b11ed551195c6214b26aa2b4c25b3
Author: Clark Williams <williams@redhat.com>
Date: Sat Mar 21 09:58:57 2009 -0500
added license header to sigtest.c
commit f4e80a2fb0ed71185451ebf48bbefa534cf805dc
Author: Clark Williams <williams@redhat.com>
Date: Fri Mar 20 16:15:33 2009 -0500
version bump to 0.31
commit f5da548e25e4b507cdfaf01b16ec49746408f4e7
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Tue Mar 17 21:50:42 2009 +0100
Avoid ChangeLog erasing in tarball release
Execute a make clean into a rt-tests directory, exploded from a tarball,
cause erroneous erasing of the ChangeLog file. Let make do it only if it
executes under git tree.
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 7aecff931f24fa30bc5a8bef33aae7d13cff38ea
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Feb 13 15:36:14 2009 -0600
To: rt-users <linux-rt-users@vger.kernel.org>
Cc: Clark Williams <williams@redhat.com>
Subject: [patch 2/2] cyclictest: support for latest mainline tracer
The tracer in mainline changed the interface another time. Make it
work again.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 2c8f2d774e611581dfca85ae5eff1175a325f11d
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Feb 13 15:36:13 2009 -0600
To: rt-users <linux-rt-users@vger.kernel.org>
Cc: Clark Williams <williams@redhat.com>
Subject: [patch 1/2] cyclictest: code cleanup
Started to grow whitespace and formatting sloppiness.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Clark Williams <williams@redhat.com>
commit 0a378282d4bc403cf19f8ce51fdedcfac71bebb9
Author: Luis Henriques <henrix@sapo.pt>
Date: Mon Feb 9 13:18:35 2009 -0600
he help for the -C option was being printed out inside the help of the -c
option.
Signed-off-by: Luis Henriques <henrix@sapo.pt>
Signed-off-by: Clark Williams <williams@redhat.c m>
commit 41902b4ca06dc430941820759db7ec274849a76e
Author: Clark Williams <williams@redhat.com>
Date: Thu Dec 18 16:52:12 2008 -0600
corrected version bump
commit 495ed19184fe739ca30f8a6673eea2caa7b78cf4
Author: Clark Williams <williams@hs21xm-1.farm.hsv.redhat.com>
Date: Thu Dec 18 16:47:23 2008 -0600
bumped version string
commit 724dfb46907e03738e0a7f1e74a2af42c4c666c4
Author: Clark Williams <williams@hs21xm-1.farm.hsv.redhat.com>
Date: Thu Dec 18 16:46:58 2008 -0600
changed deadlock detection to be a little more flexible
commit d3ae4c81ea639369104dff310227e6789b0c8340
Author: Clark Williams <williams@hs21xm-1.farm.hsv.redhat.com>
Date: Thu Dec 18 15:55:10 2008 -0600
updated pi_stress option processing
commit 9505ea6a6ad5e92f387773d7f3212a7215013a49
Author: Luis Claudio R. Goncalves <lgoncalv@redhat.com>
Date: Thu Dec 11 10:43:22 2008 -0600
Patch to fix tracer selection in cyclictest when using -b
commit 679b34e74b9ba1e50e40a88a043932464191e5ab
Author: Clark Williams <williams@redhat.com>
Date: Thu Dec 11 10:38:46 2008 -0600
cyclictest fixup for tracing
commit 5164e0178abe65907965ec3ac66108a4b929f9f7
Author: Clark Williams <williams@redhat.com>
Date: Thu Dec 11 10:26:15 2008 -0600
Return-Path: <linux-rt-users-owner@vger.kernel.org>
Received: from pobox-2.corp.redhat.com ([unix socket])
by pobox-2.corp.redhat.com (Cyrus v2.2.12-Invoca-RPM-2.2.12-8.1.RHEL4) with LMTPA;
Tue, 03 Jun 2008 11:50:56 -0400
X-Sieve: CMU Sieve 2.2
Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254])
by pobox-2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m53FoulP004003
for <williams@pobox-2.corp.redhat.com>; Tue, 3 Jun 2008 11:50:56 -0400
Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31])
by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m53Foth3012071;
Tue, 3 Jun 2008 11:50:55 -0400
Received: from vger.kernel.org (vger.kernel.org [209.132.176.167])
by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m53FOfJq012028;
Tue, 3 Jun 2008 11:50:43 -0400
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S1752828AbYFCPun (ORCPT <rfc822;mschmidt@redhat.com> + 1 other);
Tue, 3 Jun 2008 11:50:43 -0400
Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752865AbYFCPun
(ORCPT <rfc822;linux-rt-users-outgoing>);
Tue, 3 Jun 2008 11:50:43 -0400
Received: from hrndva-omtalb.mail.rr.com ([71.74.56.125]:65243 "EHLO
hrndva-omtalb.mail.rr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S1752828AbYFCPum (ORCPT
<rfc822;linux-rt-users@vger.kernel.org>);
Tue, 3 Jun 2008 11:50:42 -0400
Received: from gandalf ([74.74.65.243]) by hrndva-omta03.mail.rr.com
with ESMTP
id <20080603155041.URDH15997.hrndva-omta03.mail.rr.com@gandalf>;
Tue, 3 Jun 2008 15:50:41 +0000
Date: Tue, 3 Jun 2008 11:50:40 -0400 (EDT)
From: Steven Rostedt <rostedt@goodmis.org>
X-X-Sender: rostedt@gandalf.stny.rr.com
To: Thomas Gleixner <tglx@linutronix.de>
cc: linux-rt-users <linux-rt-users@vger.kernel.org>,
Darren Hart <dvhltc@us.ibm.com>,
Subrata Modak <subrata@linux.vnet.ibm.com>
Subject: [PATCH - cyclictest] handle latest ftrace
Message-ID: <Pine.LNX.4.58.0806031147290.22839@gandalf.stny.rr.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: linux-rt-users-owner@vger.kernel.org
Precedence: bulk
List-ID: <linux-rt-users.vger.kernel.org>
X-Mailing-List: linux-rt-users@vger.kernel.org
X-RedHat-Spam-Score: -2.195
X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254
X-Scanned-By: MIMEDefang 2.63 on 172.16.48.31
This patch has cyclictest work a bit better with ftrace. Some new options
have been added.
When -b is used:
-P : use the preemptoff tracer
-I : use the irqsoff tracer
-B : use preemptirqsoff tracer
If the above are not set, then it tries to use "events" tracer if it is
available (currently only available in the -rt kernel) and if that is not
set, it defaults to the sched-switch tracer.
-f will enabled the function tracer.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
commit a038647f402c16ff090708c50a3afbb8eedbdf18
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Thu Dec 11 10:13:07 2008 -0600
Makefile patch to prevent deleting too many files in clean operation
commit 5d8328bb03bdfb65a28db700ef4d87ec9215d247
Author: Clark Williams <williams@redhat.com>
Date: Tue Dec 2 12:22:25 2008 -0600
changed test to not require root
commit 7cc548377571d24ecde388119ce8a5d468b34f58
Author: Clark Williams <williams@redhat.com>
Date: Wed Oct 22 15:02:17 2008 -0500
told git to ignore tarballs and tmpdir
commit b4265a0e8e71a4f83d64c998e04683e161899bb4
Author: Clark Williams <williams@redhat.com>
Date: Wed Oct 22 15:00:57 2008 -0500
changed release target in Makefile
commit 3ece612bd1ca169f01e4aa7d79e07c7908a6c869
Author: Clark Williams <williams@redhat.com>
Date: Wed Oct 22 14:29:33 2008 -0500
add option to run for specified duration
Add an option (--duration or -D) to specify how long the test should run
Signed-off-by: Clark Williams <williams@redhat.com>
commit cb548199a6203a7fb70839ede9e2be55c8ca11a5
Author: Sven-Thorsten Dietrich <sven@thebigcorporation.com>
Date: Wed Oct 22 14:33:48 2008 -0500
Subject: Add histogram support to cyclictest
Add -h <size> parameter and functionality to log histograms of latencies
in cyclictest.
Signed-off-by: Sven-Thorsten Dietrich <sdietrich@suse.de>
commit 2e058f7f98af81c89dafb8908da2db5d27e9df7d
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 25 15:13:51 2008 -0500
fixed merge breakage
commit 2d45d878baf89dd13eeaa5308206349c493bea37
Merge: 1c3872e 81523d1
Author: Clark Williams <williams@redhat.com>
Date: Thu Sep 25 15:11:56 2008 -0500
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests
Conflicts:
src/cyclictest/cyclictest.c
src/pi_tests/pi_stress.8
commit 81523d18b4c324202f40f6cd88a989f8ae290c93
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Mon Jul 28 12:45:20 2008 +0200
Release 0.27
Testing before release would be better !
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit d14c3da7c8b465f7f4cd8d51fcc78cb738dd088c
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Mon Jul 28 12:35:08 2008 +0200
release v0.26
Remove the rpm spec file from git as it is autogenerated.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit db07df3e98359dad9116bca0d3954d35476e4f50
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sun Jul 27 22:50:56 2008 +0200
Release v0.25
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 5d3ac6cb76a03695bb7d8b3a6c029a368e3cd95a
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sun Jul 27 22:49:02 2008 +0200
cyclictest: remove duplicate option in help text
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 69d53796da84998da7257986bf1dd06e665c44a0
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Thu Jul 17 11:57:07 2008 +0200
Fix typo in pi_stress manpage
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 5cd772b14aab8c12493307b3c1914c3c190b1938
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Thu Jul 17 11:49:27 2008 +0200
Differentiate hyphen and minus in manpages
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 8e30668e241be9a7b4c33c984b013232bf9a61b9
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sat Jul 12 04:22:44 2008 +0200
rt-tests: v0.24
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit d60e13722df2762934fedbecce48d1a001560d50
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:43:55 2008 -0500
fixed formating damage
Signed-off-by: Clark Williams <williams@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Luis Claudio Goncalves <lclaudio@uudg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 198975b2e48dc00b39027e7c2938c41a61aa13f3
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:40:08 2008 -0500
updated man pages for --mlockall option
Signed-off-by: Clark Williams <williams@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Luis Claudio Goncalves <lclaudio@uudg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 1e00c7a58710e2519fa43e92d222997abf1c4ac1
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:28:50 2008 -0500
added mlockall option
Signed-off-by: Clark Williams <williams@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@ghostprotocols.net>
Cc: Luis Claudio Goncalves <lclaudio@uudg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 1c3872ef1dd61db5c5d9836bced3c81a90c111af
Merge: 699c38b 4f55874
Author: Clark Williams <williams@redhat.com>
Date: Tue Jul 8 08:45:51 2008 -0500
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests
Conflicts:
src/cyclictest/cyclictest.c
commit 4f55874ffdb1363cefd171568d78eb1456d582f7
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Sun Jul 6 19:21:42 2008 +0200
Version 0.23
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 3ad6648f2c7ed281c8bd608d5be875842b1f4f78
Author: John Kacur <jkacur@gmail.com>
Date: Fri Jun 27 10:10:09 2008 +0200
Fix the processing of optional options for cyclictest
Problem: when running cyclic test, short options are not parsing
optional arguments correctly when followed by a space.
"-t3" works, but "-t 3" does not.
- Fix the processing of options with optional parameters, so that the user
can write -tNUM or -t NUM and it will work as expected. This was done
for the -t and -a options
- Modify the usage messages to correspond with the way the program makes use
of the options.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 699c38bb8d83a072a1e369c580557df8b1a1da6b
Merge: 5587d44 7a052da
Author: Clark Williams <williams@redhat.com>
Date: Thu Jun 12 19:43:21 2008 -0500
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/tglx/rt-tests
Conflicts:
.gitignore
src/cyclictest/cyclictest.8
src/cyclictest/cyclictest.c
commit 7a052daef09a5af77815e21fbff84ef580110dee
Author: Carsten Emde <c.emde@osadl.org>
Date: Thu Jun 5 02:12:40 2008 +0200
rt-tests/Makefile: Import an updated version number into RPM spec file
Import an updated version number into RPM spec file.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 6963a41f688dcd31733b6ede305009940c349ddf
Author: Carsten Emde <c.emde@osadl.org>
Date: Thu Jun 5 02:07:21 2008 +0200
rt-tests/cyclictest.c: oscilloscope mode did not work correctly with >1 threads
Data reduction (-o mode) did not work correctly with >1 threads.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit b0841096ce115a4b2f2125df952cb2f789bd75b2
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Wed Jun 4 17:30:55 2008 +0200
Version 0.22
I'm getting old and forgetful :)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 434091fc6534d522e7260c59d149e5106bca638f
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Mon Apr 21 14:01:32 2008 +0200
Fix some typo in the cyclictest's man page
commit 87d83b67cc75fba4ad6c0cb668b52395ae35abbd
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Fri Apr 18 18:05:46 2008 +0200
Add produced binary into .gitignore
commit 8d09028ba3fb4025d223b535044be63f91c3559d
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Wed Jun 4 17:22:51 2008 +0200
Version 0.21
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 894308125b2cd5e60cd6790a76fd37a0a4344512
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Wed Jun 4 17:21:55 2008 +0200
Make: Exclude releases subdir from release tarball
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 65d1cb7079ccc68d0968950b64f1f77b6692fd7d
Author: Steven Rostedt <rostedt@goodmis.org>
Date: Tue Jun 3 12:11:15 2008 -0400
cyclictest: sched_switch not sched-switch
I noticed I had a typo on sched_switch. I tested this on linux-tip tree
and it works there.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Darren Hart <dvhltc@us.ibm.com>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 9ba30e6ef2e2975ca27834e8968393ca5b07da29
Author: Steven Rostedt <rostedt@goodmis.org>
Date: Tue Jun 3 11:50:40 2008 -0400
cyclictest: handle latest ftrace
This patch has cyclictest work a bit better with ftrace. Some new options
have been added.
When -b is used:
-P : use the preemptoff tracer
-I : use the irqsoff tracer
-B : use preemptirqsoff tracer
If the above are not set, then it tries to use "events" tracer if it is
available (currently only available in the -rt kernel) and if that is not
set, it defaults to the sched-switch tracer.
-f will enabled the function tracer.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Darren Hart <dvhltc@us.ibm.com>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit fcee9fe2e0150e384e5335e093c962df73079239
Author: Steven Rostedt <rostedt@goodmis.org>
Date: Tue Jun 3 11:47:16 2008 -0400
cyclictest: search for debugfs
Not everyone mounts debugfs at /debug. This patch makes cyclictest search
for debugfs in the /proc/mounts directory.
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Cc: Darren Hart <dvhltc@us.ibm.com>
Cc: Subrata Modak <subrata@linux.vnet.ibm.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 5587d442ee5eba79325e842f5ecc70ce6fe74817
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:43:55 2008 -0500
fixed formating damage
commit f6db792ba42908b78f31d3a16cf5c170c29085b7
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:40:08 2008 -0500
updated man pages for --mlockall option
commit c4a44c163df791ec3f42075e587685fa7e5b031d
Author: Clark Williams <williams@redhat.com>
Date: Fri May 9 13:28:50 2008 -0500
added mlockall option
commit 1a731d646e54cac2463c0a20a00e696a8ede0ad0
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Apr 18 14:39:41 2008 +0200
Bump version number to 0.20
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 2df51a799f797df2acf2955f24ea76fc7db7e15f
Author: Carsten Emde <c.emde@osadl.org>
Date: Thu Apr 17 21:25:37 2008 +0200
cyclictest: send correct cycle number in -o mode
The appropriate cycle number of the maximum is now sent when in -o
mode. This is needed to more accurately determine the trace line that
is related to a particular latency.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 6a0f073aa46c86503783ea94db7c2e10b3fcc9ce
Author: Sebastian Siewior <bigeasy@tglx.de>
Date: Thu Apr 17 11:00:39 2008 +0200
cyclictest: fix "get kernel version"
The version check in cyclic test fails if proc isn't mounted or if OS
name isn't Linux (uClinux isn't uncommon). This patch fixes both
issues.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 342e3b83ee5a643984facbf232ddc7751fbd83ec
Author: Sebastian Siewior <bigeasy@tglx.de>
Date: Thu Apr 17 10:59:47 2008 +0200
cyclictest: fix build on uClibc due to missing cpu affinity
CPU affinity isn't supported by all uClibc ports right now.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 7f4ac71644644b01a47871036bddbf3c302d0041
Author: Sebastian Siewior <bigeasy@tglx.de>
Date: Wed Apr 16 11:04:30 2008 +0200
cyclictest: fix for uClibc builds
as of uClibc-20080416 clock_nanosleep is still not implemented.
Signed-off-by: Sebastian Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 4cb277ee27fb8af44aca9e8a4fb0ac7de63e8f8b
Author: Carsten Emde <c.emde@osadl.org>
Date: Mon Apr 14 13:23:51 2008 +0200
cyclictest: add -o option to reduce -v option's output speed
When the output of the -v option is piped into another program and if
more data are sent than the other program can eat, data points get
lost. Since high latency values normally occur much less frequently
than average latency values, the connected program will miss many of
the high latency values, and the realtime capability of a given system
may appear much better than it is.
Therefore, the new option -o RED was introduced. This option causes
cyclictest to suppress every subsequent RED number of samples and
replace them with the maximum of the values encountered during that
sampling interval.
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 82155e3d9e41d6df1a0902534f7240b0a99b9b8b
Author: Carsten Emde <c.emde@osadl.org>
Date: Sun Apr 6 20:17:22 2008 +0200
cyclictest & kernel>=2.6.24
- Added support for the kernel tracer as of kernel 2.6.24
- Options mostly identical, irrespective of the kernel version
- Added check whether debug fs is mounted and tracing configured
- -v (verbose) option additionally makes tracing more verbose
Signed-off-by: Carsten Emde <C.Emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit f055732c1669be86d253338f8968eea2d423aa7b
Author: Carsten Emde <c.emde@osadl.org>
Date: Sat Apr 5 20:24:37 2008 +0200
cyclictest: add CPU affinity
Add CPU affinitt option to cyclictest.
1. New option -a:
without argument to a cyclictest spreads the threads consecutive on
the available CPUs. On a quad core machine we get:
-a -t4 Thread #0 -> CPU #0
Thread #1 -> CPU #1
Thread #2 -> CPU #2
Thread #3 -> CPU #3
-a -t5 Thread #0 -> CPU #0
Thread #1 -> CPU #1
Thread #2 -> CPU #2
Thread #3 -> CPU #3
Thread #4 -> CPU #0
Adding a CPU number to the -a option all threads are pinned to
the given CPU:
-a3 -t4 Thread #0 -> CPU #3
Thread #1 -> CPU #3
Thread #2 -> CPU #3
Thread #3 -> CPU #3
2. extension of the -t option:
Without argument to -t cyclictest starts as many threads as CPUs are
available.
Signed-off-by: Carsten Emde <c.emde@osadl.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 44b84cd87f7e94ce624bb61826c7b493b9a6cb86
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Jan 4 09:00:33 2008 +0100
v0.19
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit df2bf2cfdc3bff5e90286677d450a9a1e6de0232
Author: Clark Williams <williams@redhat.com>
Date: Thu Jan 3 13:33:43 2008 -0600
added Obsoletes
commit 58d8df8cc8f260a313f64aa9ea9ee8ede7c20f11
Author: Clark Williams <williams@redhat.com>
Date: Thu Jan 3 13:33:23 2008 -0600
added distclean target to cleanup rpm dirs
commit fea12d35c39899fe6d071c006658d151845ec702
Author: Clark Williams <williams@redhat.com>
Date: Thu Jan 3 13:26:22 2008 -0600
added pi_tests; added specfile for rpm generation
commit 899ebf7302348a8c7161f164e68fa35048fe09e0
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Thu Dec 20 17:02:53 2007 +0100
Fix kernel parameters in cyclictest's manpage
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit ca606d3fe9ce5a6e3158e4556869ceceda454a79
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Dec 14 15:33:12 2007 +0100
v0.18
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit d00cc0754aa404e1f713284a698a2ac2936ce225
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Fri Dec 14 15:23:51 2007 +0100
Some more Makefile updates
- add changelog and install targets
- replace $(CROSS_COMPILE)gcc with $(CC)
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit be4a5a980797709898e5e27d553e06a69d657dae
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Wed Dec 12 11:56:05 2007 +0100
Unified versions into Makefile
Packaging version control
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 79ad2eca9abe2922217929e22d8e3e330a579e13
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Wed Dec 12 10:24:38 2007 +0100
COPYING file and cyclictest's man page added
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit e6b72071152c6e4edfd7a163826c291aa720c976
Author: Alessio Igor Bogani <abogani@texware.it>
Date: Wed Dec 12 10:20:17 2007 +0100
Re-organized sources
Move code around to make packaging easier.
Signed-off-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 9a10305f0d5964146c0f9c8003645a83d33c91cf
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Thu Oct 18 19:20:05 2007 +0200
Bump version number
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 4ee3b82d4ec2e7939e57e62bfa258fbac477552c
Author: Clark Williams <williams@redhat.com>
Date: Thu Oct 18 09:31:24 2007 -0500
Fix to cyclictest (from signaltest fix)
This is a patch that's a ripple from the bug in signaltest that Luis and Jeff Burke
were working on. Looks like there's a race where a variable can be used
uninitialized, depending on thread scheduling circumstances. Probably not major, but
hey, can't hurt :).
Signed-off-by: Clark Williams <williams@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit 854cd3eae2a224e0dbb698c7587226d0a92c7341
Author: Thomas Gleixner <tglx@linutronix.de>
Date: Thu Oct 18 00:19:07 2007 +0200
Bump version number
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit b1bb85c51fe096aa69d04bf2e68668059d77d499
Author: Luis Claudio R. Goncalves <lclaudio@uudg.org>
Date: Wed Oct 17 20:00:18 2007 -0400
Signaltest: initialize stat[i].threadstarted before using
Signaltest was hanging in a wide variety of kernel versions, in some cases
after a few iterations and in other cases right after being called on the
command line. We created a bugzilla ticket for this issue:
https://bugzilla.redhat.com/show_bug.cgi?id=308231
After a few debug sessions we realized that a shared variable used to
synchronize the work between threads, stat[i].threadstarted, could end up
being used before initialization depending on the scheduling of the
threads.
The fix is a one-liner.
Signed-off-by: Luis Claudio R. Goncalves <lclaudio@uudg.org>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit afb46d37f279ac1503e1039fefacf306a895b134
Author: Thomas Gleixner <tglx@inhell4.(none)>
Date: Fri May 11 21:49:27 2007 +0200
Bump version number
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit dfbefb8056e363bca648a50274abe9983bee2da3
Author: Thomas Gleixner <tglx@inhell4.(none)>
Date: Fri May 11 21:32:51 2007 +0200
Check if highres timers are enabled
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit f22379d0a40ef301a67e1eeae3923549b0eb582f
Author: Carsten Emde <ce@ceag.ch>
Date: Fri May 11 21:11:46 2007 +0200
Save and restore the tracer variables
Signed-off-by: Carsten Emde <ce@ceag.ch>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
commit fa892122f3b56913a53299c9c12e710b3e45316b
Author: Thomas Gleixner <tglx@inhell4.(none)>
Date: Fri May 11 21:01:04 2007 +0200
Initial import
|