)]}'
{
  "log": [
    {
      "commit": "ffa1895561645103d8f8059b35d9c06e6eeead2e",
      "tree": "a53ed5d7f732d3ee3831f972f5a02c52d86e546d",
      "parents": [
        "07a4bdddcf2546ccfbfb3c782deab636c371edeb"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:40 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:38 2009 +0200"
      },
      "message": "perf tools: Fix bprintk reading in trace output\n\nThe bprintk parsing was broken in more ways than one.\n\nThe file parsing was incorrect, and the words used by the\narguments are always 4 bytes aligned, even on 64-bit machines.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194359.520931637@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "07a4bdddcf2546ccfbfb3c782deab636c371edeb",
      "tree": "5f260dee87b1f4b1fb6d38ffa359296b92690792",
      "parents": [
        "13999e59343b042b0807be2df6ae5895d29782a0"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:39 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:38 2009 +0200"
      },
      "message": "perf tools: Still continue on failed parsing of an event\n\nEven though an event may fail to parse, we should not kill the\nentire report. The trace should still be able to show what it\ncan.\n\nIf an event fails to parse, a warning is printed, and the output\ncontinues.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194359.190809589@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "13999e59343b042b0807be2df6ae5895d29782a0",
      "tree": "9e6dae86b7731bc340873245858087cec85cc67d",
      "parents": [
        "f1d1feecf07261d083859ecfef0d4399036f9683"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:38 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:37 2009 +0200"
      },
      "message": "perf tools: Handle the case with and without the \"signed\" trace field\n\nThe trace format files now have a \"signed\" field. But we should\nstill be able to handle the kernels that do not have this field.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194358.888239553@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f1d1feecf07261d083859ecfef0d4399036f9683",
      "tree": "aebca45d8bc2f4207b52f07ce12d45dd0561e37a",
      "parents": [
        "b99af874829cba2b30d212bc6fd31b56275ee4d2"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:37 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:37 2009 +0200"
      },
      "message": "perf tools: Handle newlines in trace parsing better\n\nNew lines between args in the trace format can break the\nparsing. This should not be the case.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194358.637991808@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b99af874829cba2b30d212bc6fd31b56275ee4d2",
      "tree": "3fe1964f4d538be5a2fac5b9e934631f528d18cb",
      "parents": [
        "0959b8d65ce26131c2d5ccfa518a7b76529280fa"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:36 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:36 2009 +0200"
      },
      "message": "perf tools: Handle * as typecast in trace parsing\n\nThe \u0027*\u0027 is currently only treated as a multiplication, and it\nneeds to be handled as a typecast pointer.\n\nThis is the version used by trace-cmd.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194358.409327875@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0959b8d65ce26131c2d5ccfa518a7b76529280fa",
      "tree": "eae5c5c426623156142dc406f92b42d358dd53c2",
      "parents": [
        "298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:35 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:36 2009 +0200"
      },
      "message": "perf tools: Handle arrays in print fields for trace parsing\n\nThe array used by the ftrace stack events (caller[x]) causes\nissues with the parser. This adds code to handle the case, but\nit also assumes that the array is of type long.\n\nNote, this is a special case used (currently) only by the ftrace\nuser and kernel stack records.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194358.124833639@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "298ebc3ef2a6c569b3eb51651f04e26aecbf8a1d",
      "tree": "19d78143601fa8e13034c388e71f845bc485f233",
      "parents": [
        "91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:34 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:35 2009 +0200"
      },
      "message": "perf tools: Handle trace parsing of \u003c and \u003e\n\nThe code to handle the \u0027\u003c\u0027 and \u0027\u003e\u0027 ops was all in place, but\nthey were not in the switch statement to consider them as valid\nops.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194357.807434040@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "91ff2bc191827f0d3f5ad0a433ff7df7d2dd9aee",
      "tree": "b1ce2b9f026fc579e6ebf1a9724725f925750f5a",
      "parents": [
        "924a79af2cdee26a034b9bdce8c9c76995b5c901"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:33 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:35 2009 +0200"
      },
      "message": "perf tools: Fix backslash processing on trace print formats\n\nThe handling of backslashes was broken. It would stop parsing\nwhen encountering one. Also, \u0027\\n\u0027, \u0027\\t\u0027, \u0027\\r\u0027 and \u0027\\\\\u0027 were not\nconverted.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194357.521974680@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "924a79af2cdee26a034b9bdce8c9c76995b5c901",
      "tree": "fece1194adfdd10b5e888ce469aaf511fc41268d",
      "parents": [
        "b226f744d40b052ac126c4cb16c76f66e5185128"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:32 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:34 2009 +0200"
      },
      "message": "perf tools: Handle print concatenations in event format file\n\nkmem_alloc ftrace event format had a string that was broken up\nby two tokens. \"string 1\" \"string 2\". This patch lets the parser\nbe able to handle the concatenation.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c20091014194357.253818714@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b226f744d40b052ac126c4cb16c76f66e5185128",
      "tree": "e86f5c059dde241472689cbe2d55429cd15b2d56",
      "parents": [
        "d5b889f2ecec7849e851ddd31c34bdfb3482b5de",
        "a3ccf63ee643ef243cbf8918da8b3f9238f10029"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 08:44:42 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 08:44:44 2009 +0200"
      },
      "message": "Merge branch \u0027linus\u0027 into perf/core\n\nMerge reason: pick up tools/perf/ changes from upstream.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d5b889f2ecec7849e851ddd31c34bdfb3482b5de",
      "tree": "001c95641ddf734a1e5e1fdee7e821f042c08f0b",
      "parents": [
        "f4f0b418188cc7995375acbb54e87c80f21861bd"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Oct 13 11:16:29 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 13 17:12:18 2009 +0200"
      },
      "message": "perf tools: Move threads \u0026 last_match to threads.c\n\nThis was just being copy\u0027n\u0027pasted all over.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c20091013141629.GD21809@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f4f0b418188cc7995375acbb54e87c80f21861bd",
      "tree": "20c60c9bf367e53d3ddbd5fddd41de9d64fb4ded",
      "parents": [
        "cfed95a693e1ea5d08b9c9019bc30e448437ee2f"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Tue Oct 13 14:57:20 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 13 15:30:15 2009 +0200"
      },
      "message": "perf tools: Remove expensive old debug code from perf top\n\nCalling gettimeofday() at high frequency is painful for handicapped\nboxen. The spot calling gettimeofday() is old unneeded debug code,\nso remove it.\n\nReported-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003c1255438640.7173.1.camel@marge.simson.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cfed95a693e1ea5d08b9c9019bc30e448437ee2f",
      "tree": "1334775a5b22a0b430e7616d2020bec4593565df",
      "parents": [
        "9dbdd6c41c12fb42ee7188eafa7e1917b192af3a"
      ],
      "author": {
        "name": "Vincent Legoll",
        "email": "vincent.legoll@gmail.com",
        "time": "Tue Oct 13 10:18:16 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 13 11:55:31 2009 +0200"
      },
      "message": "perf tools: Do not manually count string lengths\n\nUse strlen \u0026 macros instead of manually counting string lengths as\nthis is error prone and may lend to bugs.\n\nSigned-off-by: Vincent Legoll \u003cvincent.legoll@gmail.com\u003e\nCc: Linus Torvalds \u003ctorvalds@osdl.org\u003e\nLKML-Reference: \u003c4727185d0910130118m5387058dndb02ac9b384af9f0@mail.gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "63c9e01e1a0dcecc982137d527d44b5ac808b607",
      "tree": "7231c231457af3f2463e277a4ebff0228fb9fb59",
      "parents": [
        "55621ccf2b7a8afe39df8c80f55b28424fd07d13"
      ],
      "author": {
        "name": "Ashwin Chaugule",
        "email": "ashwinc@quicinc.com",
        "time": "Sun Oct 04 15:49:34 2009 -0700"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 22:41:05 2009 +0200"
      },
      "message": "perf tools: Remove static debugfs path from parse-events\n\nTimechart doesn\u0027t work if debugfs is not in /sys/kernel/debug/.\nFixed by using global debugfs_path which is filled in by perf.\n\nSigned-off-by: Ashwin Chaugule \u003cashwinc@quicinc.com\u003e\nCc: \"Arjan van de Ven\" \u003carjan@linux.intel.com\u003e\nLKML-Reference: \u003ca751bdc6978478de6d10440e587a2cc7.squirrel@www.codeaurora.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "55621ccf2b7a8afe39df8c80f55b28424fd07d13",
      "tree": "b6a4e673f3772b595320542498fe768a5f371cd4",
      "parents": [
        "cbef79a82a64ec13e745ce2b0274154ae1e47243"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 09:57:25 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 10:00:27 2009 +0200"
      },
      "message": "perf tools: Fix the NO_64BIT build on pure 64-bit systems\n\nRandy Dunlap reported that \u0027make NO_64BIT\u003d1\u0027 fails to build\na pure 32-b it binary on 64-bit/64-bit x86 systems.\n\nThe reason is that we dont pass in the -m32 and GCC defaults\nto -m64.\n\nSo pass it in - and also extend the warning message about libelf\ndependencies - glibc-dev[el] is needed as well beyond the libelf\nlibrary.\n\nReported-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: Message-Id: \u003c20091005131729.78444bfb.randy.dunlap@oracle.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "55ffb7a6bd45d0083ffb132381cb46964a4afe01",
      "tree": "89853e721eda384aad61bf71960bfdaea92269f5",
      "parents": [
        "7e4ff9e3e8f88de8a8536f43294cd32b4e7d9123"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Sat Oct 10 14:46:04 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 09:10:55 2009 +0200"
      },
      "message": "perf sched: Add -C option to measure on a specific CPU\n\nTo refresh, trying to sched record only one CPU results in bogus\nlatencies as below.\n\nI fixed^Wmade it stop doing the bad thing today, by\nfollowing task migration events properly.\n\nBefore:\n\n  marge:/root/tmp # taskset -c 1 perf sched record -C 0 -- sleep 10\n  marge:/root/tmp # perf sched lat\n   -----------------------------------------------------------------------------------------\n    Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms |\n   -----------------------------------------------------------------------------------------\n    Xorg:4943             |      1.290 ms |        1 | avg: 1670.132 ms | max: 1670.132 ms |\n    hald-addon-stor:3569  |      0.091 ms |        3 | avg:  658.609 ms | max: 1975.797 ms |\n    hald-addon-stor:3573  |      0.209 ms |        4 | avg:  499.138 ms | max: 1990.565 ms |\n    audispd:4270          |      0.012 ms |        1 | avg:    0.015 ms | max:    0.015 ms |\n  ....\n\n  marge:/root/tmp # perf sched trace|grep \u0027Xorg:4943\u0027\n           swapper-0     [000]   401.184013288: sched_stat_runtime: task: Xorg:4943 runtime: 1233188 [ns], vruntime: 19105169779 [ns]\n   rt2870TimerQHan-4947  [000]   402.854140127: sched_stat_wait: task: Xorg:4943 wait: 580073 [ns]\n   rt2870TimerQHan-4947  [000]   402.854141770: sched_migrate_task: task Xorg:4943 [140] from: 1  to: 0\n   rt2870TimerQHan-4947  [000]   402.854143854: sched_stat_wait: task: Xorg:4943 wait: 0 [ns]\n   rt2870TimerQHan-4947  [000]   402.854145397: sched_switch: task rt2870TimerQHan:4947 [140] (D) \u003d\u003d\u003e Xorg:4943 [140]\n              Xorg-4943  [000]   402.854193133: sched_stat_runtime: task: Xorg:4943 runtime: 56546 [ns], vruntime: 11766332500 [ns]\n              Xorg-4943  [000]   402.854196842: sched_switch: task Xorg:4943 [140] (S) \u003d\u003d\u003e swapper:0 [140]\n\nAfter:\n\n  marge:/root/tmp # taskset -c 1 perf sched record -C 0 -- sleep 10\n  marge:/root/tmp # perf sched lat\n   -----------------------------------------------------------------------------------------\n    Task                  |   Runtime ms  | Switches | Average delay ms | Maximum delay ms |\n   -----------------------------------------------------------------------------------------\n    amarokapp:11150       |    271.297 ms |      878 | avg:    0.130 ms | max:    1.057 ms |\n    konsole:5965          |      1.370 ms |       12 | avg:    0.092 ms | max:    0.855 ms |\n    Xorg:4943             |    179.980 ms |     1109 | avg:    0.087 ms | max:    1.206 ms |\n    hald-addon-stor:3574  |      0.212 ms |        9 | avg:    0.040 ms | max:    0.169 ms |\n    hald-addon-stor:3570  |      0.223 ms |        9 | avg:    0.037 ms | max:    0.223 ms |\n    klauncher:5864        |      0.550 ms |        8 | avg:    0.032 ms | max:    0.048 ms |\n\nThe \u0027Maximum delay ms\u0027 results are now sane.\n\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "7e4ff9e3e8f88de8a8536f43294cd32b4e7d9123",
      "tree": "4033b2ab865ce039f0287059c520be8703a08d42",
      "parents": [
        "fe9081cc9bdabb0be953a39ad977cea14e35bce5"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Mon Oct 12 07:56:03 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 09:10:55 2009 +0200"
      },
      "message": "perf tools: Fix counter sample frequency breakage\n\nCommit 42e59d7d19dc4b4 switched to a default sample frequency of\n1KHz, which overrides any user supplied count, causing sched, top\nand timechart to miss events due to their discrete events\nbeing flagged PERF_SAMPLE_PERIOD.\n\nOverride default sample frequency when the user profides a\nperiod count, and make both record and top honor that user\nsupplied option.\n\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arjan van de Ven \u003carjan@infradead.org\u003e\nLKML-Reference: \u003c1255326963.15107.2.camel@marge.simson.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cbef79a82a64ec13e745ce2b0274154ae1e47243",
      "tree": "da128daca6c33c9280d0f01400c4766ed4a89c76",
      "parents": [
        "d93a8f829fe1d2f3002f2c6ddb553d12db420412"
      ],
      "author": {
        "name": "Randy Dunlap",
        "email": "randy.dunlap@oracle.com",
        "time": "Mon Oct 05 13:17:29 2009 -0700"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 12 08:35:00 2009 +0200"
      },
      "message": "perf tools: Fix const char type propagation\n\nThe following perf build warnings/errors in function\nargument types:\n\n  builtin-sched.c:1894: warning: passing argument 1 of \u0027sort_dimension__add\u0027 discards qualifiers from pointer target type\n  util/trace-event-parse.c:685: warning: passing argument 2 of \u0027read_expected\u0027 discards qualifiers from pointer target type\n  util/trace-event-parse.c:741: warning: passing argument 4 of \u0027test_type_token\u0027 discards qualifiers from pointer target type\n  util/trace-event-parse.c:706: warning: passing argument 2 of \u0027read_expected_item\u0027 discards qualifiers from pointer target type\n\n... trigger because older GCC is not able to prove that\nsort_dimension__add() does not change the string.\n\nSome goes for test_type_token().\n\nFix this by improving type consistency.\n\nSigned-off-by: Randy Dunlap \u003crandy.dunlap@oracle.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c20091005131729.78444bfb.randy.dunlap@oracle.com\u003e\n[ Also remove ugly type cast now unnecessary. ]\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "26dd2cb074d9dc41c9e3cddd7bf175fd0a41febc",
      "tree": "05c0188d5ecf806e4079181989f971efa3c44d47",
      "parents": [
        "97ea1a7fa62af0d8d49a0fc12796b0073537c9d8"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Oct 08 22:07:29 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 22:11:02 2009 +0200"
      },
      "message": "perf tools: Provide backward compatibility with previous perf.data version\n\nWe have merged the trace.info file into perf.data by adding one\nsection in the perf headers. This makes it incompatible with\nprevious version: the new perf tools can\u0027t read the older\nperf.data.\n\nTo support the previous format, we check the headers size. If they\nhave the same size than in the previous format, then ignore the\ntrace info section that doesn\u0027t exist.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c1255032449-12022-1-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "97ea1a7fa62af0d8d49a0fc12796b0073537c9d8",
      "tree": "3be620dc044bd978e71b1bdd997d8e38a3c9b2a8",
      "parents": [
        "2e538c4a1847291cf01218d4fe7bb4dc60fef7cf"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Oct 08 21:04:17 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 21:10:21 2009 +0200"
      },
      "message": "perf tools: Fix thread comm resolution in perf sched\n\nThis reverts commit 9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2 (\"perf\ntools: Improve thread comm resolution in perf sched\") and fixes the\nreal bug.\n\nThe bug was elsewhere:\n\nWe are failing to resolve thread names in perf sched because the\ntable of threads we are building, on top of comm events, has a per\nprocess granularity. But perf sched, unlike the other perf tools,\nneeds a per thread granularity as we are profiling every tasks\nindividually.\n\nSo fix it by building our threads table using the tid instead of\nthe pid as the thread identifier.\n\nv2: Revert the previous fix - it is not really needed\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c1255028657-11158-1-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2e538c4a1847291cf01218d4fe7bb4dc60fef7cf",
      "tree": "7c2b04cf627ef339feab565e5633a57f2ead5a49",
      "parents": [
        "da21d1b547cbaa2c026cf645753651c25d340923"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Oct 07 13:48:56 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 19:27:11 2009 +0200"
      },
      "message": "perf tools: Improve kernel/modules symbol lookup\n\nThis removes the ovelapping of vmlinux addresses with modules,\nusing the ELF section name when using --vmlinux and creating a\nunique DSO name when using /proc/kallsyms ([kernel].N).\n\nThis is done by creating multiple \u0027struct map\u0027 instances for\naddress ranges backed by DSOs that have just the symbols for that\nrange and a name that is derived from the ELF section name.o\n\nNow it is possible to ask for just the symbols in some particular\nkernel section:\n\n$ perf report -m --vmlinux ../build/tip-recvmmsg/vmlinux \\\n\t--dsos [kernel].vsyscall_fn | head -15\n    52.73%             Xorg  [.] vread_hpet\n    18.61%          firefox  [.] vread_hpet\n    14.50%     npviewer.bin  [.] vread_hpet\n     6.83%           compiz  [.] vread_hpet\n     5.73%         glxgears  [.] vread_hpet\n     0.63%             java  [.] vread_hpet\n     0.30%   gnome-terminal  [.] vread_hpet\n     0.23%             perf  [.] vread_hpet\n     0.18%            xchat  [.] vread_hpet\n$\n\nNow we don\u0027t have to first lookup the list of modules and then, if\nit fails, vmlinux symbols, its just a simple lookup for the map\nthen the symbols, just like for threads.\n\nReports generated using /proc/kallsyms and --vmlinux should provide\nthe same results, modulo the DSO name for sections other than\n\".text\".\n\nBut they don\u0027t right now because things like:\n\n ffffffff81011c20-ffffffff81012068 system_call\n ffffffff81011c30-ffffffff81011c9b system_call_after_swapgs\n ffffffff81011c9c-ffffffff81011cb6 system_call_fastpath\n ffffffff81011cb7-ffffffff81011cbb ret_from_sys_call\n\nI.e. overlapping symbols, again some ASM special case that we have\nto fixup.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c1254934136-8503-1-git-send-email-acme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "da21d1b547cbaa2c026cf645753651c25d340923",
      "tree": "383f0e81300bda79e6398cc1741e853a2891a67e",
      "parents": [
        "9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Oct 07 10:49:00 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 19:27:10 2009 +0200"
      },
      "message": "perf tools: Up the verbose level for some really verbose stuff\n\nLike printing every symbol created.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c1254923340-4870-1-git-send-email-acme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "9a92b479b2f088ee2d3194243f4c8e59b1b8c9c2",
      "tree": "000ea4a4e36e37af2867ba8aaf7cf38210373974",
      "parents": [
        "016e92fbc9ef33689cf654f343a94383d43235e7"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Oct 08 16:37:12 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 16:56:33 2009 +0200"
      },
      "message": "perf tools: Improve thread comm resolution in perf sched\n\nWhen we get sched traces that involve a task that was already\ncreated before opening the event, we won\u0027t have the comm event for\nit.\n\nSo if we can\u0027t find the comm event for a given thread, we look at\nthe traces that may contain these informations.\n\nBefore:\n\n ata/1:371             |      0.000 ms |        1 | avg: 3988.693 ms | max: 3988.693 ms |\n kondemand/1:421       |      0.096 ms |        3 | avg:  345.346 ms | max: 1035.989 ms |\n kondemand/0:420       |      0.025 ms |        3 | avg:  421.332 ms | max:  964.014 ms |\n :5124:5124            |      0.103 ms |        5 | avg:   74.082 ms | max:  277.194 ms |\n :6244:6244            |      0.691 ms |        9 | avg:  125.655 ms | max:  271.306 ms |\n firefox:5080          |      0.924 ms |        5 | avg:   53.833 ms | max:  257.828 ms |\n npviewer.bin:6225     |     21.871 ms |       53 | avg:   22.462 ms | max:  220.835 ms |\n :6245:6245            |      9.631 ms |       21 | avg:   41.864 ms | max:  213.349 ms |\n\nAfter:\n\n ata/1:371             |      0.000 ms |        1 | avg: 3988.693 ms | max: 3988.693 ms |\n kondemand/1:421       |      0.096 ms |        3 | avg:  345.346 ms | max: 1035.989 ms |\n kondemand/0:420       |      0.025 ms |        3 | avg:  421.332 ms | max:  964.014 ms |\n firefox:5124          |      0.103 ms |        5 | avg:   74.082 ms | max:  277.194 ms |\n npviewer.bin:6244     |      0.691 ms |        9 | avg:  125.655 ms | max:  271.306 ms |\n firefox:5080          |      0.924 ms |        5 | avg:   53.833 ms | max:  257.828 ms |\n npviewer.bin:6225     |     21.871 ms |       53 | avg:   22.462 ms | max:  220.835 ms |\n npviewer.bin:6245     |      9.631 ms |       21 | avg:   41.864 ms | max:  213.349 ms |\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c1255012632-7882-1-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "016e92fbc9ef33689cf654f343a94383d43235e7",
      "tree": "edf9dc21d037ea138300b7e7e32574e6f6f17fb2",
      "parents": [
        "03456a158d9067d2f657bec170506009db81756d"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Wed Oct 07 12:47:31 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 08 16:56:32 2009 +0200"
      },
      "message": "perf tools: Unify perf.data mapping and events handling\n\nThis librarizes the perf.data file mapping and handling in various\nperf tools, roughly reducing the amount of code and fixing the\nplaces that mmap from beginning of the file whereas we want to mmap\nfrom the beginning of the data, leading to page fault because the\nmmap window is too small since the trace info are written in the\nfile too.\n\nTODO:\n\n - convert perf timechart too\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arjan van de Ven \u003carjan@infradead.org\u003e\nLKML-Reference: \u003c20091007104729.GD5043@nowhere\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "03456a158d9067d2f657bec170506009db81756d",
      "tree": "e242a1751bd48cf8731165d6b71a952fd1936a69",
      "parents": [
        "b209aa1f83964d49a332a7b6b818ebede5cdc6ef"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Tue Oct 06 23:36:47 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Oct 07 08:36:10 2009 +0200"
      },
      "message": "perf tools: Merge trace.info content into perf.data\n\nThis drops the trace.info file and move its contents into the\ncommon perf.data file.\n\nThis is done by creating a new trace_info section into this file. A\nuser of perf headers needs to call perf_header__set_trace_info() to\nsave the trace meta informations into the perf.data file.\n\nA file created by perf after his patch is unsupported by previous\nversion because the size of the headers have increased.\n\nThat said, it\u0027s two new fields that have been added in the end of\nthe headers, and those could be ignored by previous versions if\nthey just handled the dynamic header size and then ignore the\nunknow part. The offsets guarantee the compatibility. We\u0027ll do a\n-stable fix for that.\n\nBut current previous versions handle the header size using its\nstatic size, not dynamic, then it\u0027s not backward compatible with\ntrace records.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c20091006213643.GA5343@nowhere\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b209aa1f83964d49a332a7b6b818ebede5cdc6ef",
      "tree": "65899a686eedd374d0524a0812273bdeac5f08a3",
      "parents": [
        "42e59d7d19dc4b49feab2a860fd9a8ca3248c833"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Tue Oct 06 21:21:26 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Oct 07 08:36:10 2009 +0200"
      },
      "message": "perf tools: Start the perf.data mapping at data offset in perf trace\n\nCurrently, we are mapping perf.data in the beginning of the file\nand use the data offset as a buffer offset.\n\nThis may exceed the mapping area if the data offset is upper than\npage_size * mmap_window and result in a page fault (thing that\nhappen if we merge trace.info in perf.data).\n\nInstead, let\u0027s start the mapping in the page that matches our data\noffset.\n\nv2: Drop a junk from another patch (trace_report() removal)\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003c1254856886-10348-1-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "42e59d7d19dc4b49feab2a860fd9a8ca3248c833",
      "tree": "a1c597604dcb239804684f452263bec295d77ae3",
      "parents": [
        "064739bc4b3d7f424b2f25547e6611bcf0132415"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:14:21 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:41:09 2009 +0200"
      },
      "message": "perf tools: Default to 1 KHz auto-sampling freq events\n\nUse auto-freq events by default in perf record and\nperf top.\n\nThis allows more consistent hardware event sampling,\nregardless of the intensity of the underlying event.\n\nIt also keeps us from over-sampling on larger/busier\nsystems.\n\n(also make surrounding initializations more consistent)\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "064739bc4b3d7f424b2f25547e6611bcf0132415",
      "tree": "078924939969382e35548b9987ddf58d6572334b",
      "parents": [
        "2774601811bedd04ee7e38624343ea80b4a62d7e"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Oct 06 01:09:52 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:04:46 2009 +0200"
      },
      "message": "perf trace: Add string/dynamic cases to format_flags\n\nNeeded for distinguishing string fields in event stream processing.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: rostedt@goodmis.org\nCc: lizf@cn.fujitsu.com\nCc: hch@infradead.org\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c1254809398-8078-4-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2774601811bedd04ee7e38624343ea80b4a62d7e",
      "tree": "7338bfb51cbcdfa24beaeba885f88a9b5bb3fbb3",
      "parents": [
        "26a50744b21fff65bd754874072857bee8967f4d"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Oct 06 01:09:51 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:04:46 2009 +0200"
      },
      "message": "perf trace: Add subsystem string to struct event\n\nNeeded to fully qualify event names for event stream processing.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: rostedt@goodmis.org\nCc: lizf@cn.fujitsu.com\nCc: hch@infradead.org\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c1254809398-8078-3-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "26a50744b21fff65bd754874072857bee8967f4d",
      "tree": "4819820f0841090232fcd2525f496f787fd411c7",
      "parents": [
        "d9b2002c406011164f245de7a81304625989f1c9"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Oct 06 01:09:50 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:04:45 2009 +0200"
      },
      "message": "tracing/events: Add \u0027signed\u0027 field to format files\n\nThe sign info used for filters in the kernel is also useful to\napplications that process the trace stream.  Add it to the format\nfiles and make it available to userspace.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: rostedt@goodmis.org\nCc: lizf@cn.fujitsu.com\nCc: hch@infradead.org\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c1254809398-8078-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d9b2002c406011164f245de7a81304625989f1c9",
      "tree": "a2bb74773cd1409acbec5eb2fbba2ae9889d55e8",
      "parents": [
        "c3b32fcbc7f4fd9a9b84718b991b175b0fd53f8c",
        "906010b2134e14a2e377decbadd357b3d0ab9c6a"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:02:30 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 15:02:34 2009 +0200"
      },
      "message": "Merge branch \u0027perf/urgent\u0027 into perf/core\n\nMerge reason: Upcoming patch is dependent on a fix in perf/urgent.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "906010b2134e14a2e377decbadd357b3d0ab9c6a",
      "tree": "598b30d08f5ca8df1e00abc295b120fa1bd2c2e2",
      "parents": [
        "e13dbd7d75d1ecc315c6e3071b3c4e8fba4f6bec"
      ],
      "author": {
        "name": "Peter Zijlstra",
        "email": "a.p.zijlstra@chello.nl",
        "time": "Mon Sep 21 16:08:49 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 14:21:50 2009 +0200"
      },
      "message": "perf_event: Provide vmalloc() based mmap() backing\n\nSome architectures such as Sparc, ARM and MIPS (basically\neverything with flush_dcache_page()) need to deal with dcache\naliases by carefully placing pages in both kernel and user maps.\n\nThese architectures typically have to use vmalloc_user() for this.\n\nHowever, on other architectures, vmalloc() is not needed and has\nthe downsides of being more restricted and slower than regular\nallocations.\n\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nAcked-by: David Miller \u003cdavem@davemloft.net\u003e\nCc: Andrew Morton \u003cakpm@linux-foundation.org\u003e\nCc: Jens Axboe \u003cjens.axboe@oracle.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c1254830228.21044.272.camel@laptop\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "818331303bc7cb914351c992d3da00aae957eba7",
      "tree": "64a2023fb783dcd241bbeb84793112c6a23e8f98",
      "parents": [
        "ee949a86b3aef15845ea677aa60231008de62672"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Oct 05 23:35:03 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 12:08:08 2009 +0200"
      },
      "message": "perf tools: elf_sym__is_function() should accept \"zero\" sized functions\n\nAsm routines that end up having size equal to zero are not really\nzero sized, and as now we do kernel_maps__fixup_sym_end, at least\nfor kernel routines this gets fixed.\n\nA similar fixup needs to be done for the userspace bits as well,\nbut as this fixup started only because in /proc/kallsyms we don\u0027t\nhave the end address nor the function size, it appeared here first.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c1254796503-27203-1-git-send-email-acme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b934cdd55f2ac38c825f3d46cfa87a1654f1c849",
      "tree": "a16240d442acfc03d5b22270ddbe0c012be9ffd6",
      "parents": [
        "d4c3768faaae70cdcffc3a5e296bd99edfa7ddb2"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Oct 06 01:00:48 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 12:02:34 2009 +0200"
      },
      "message": "perf trace: Update eval_flag() flags array to match interrupt.h\n\nAdd missing BLOCK_IOPOLL_SOFTIRQ entry.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: rostedt@goodmis.org\nCc: lizf@cn.fujitsu.com\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c1254808849-7829-3-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d4c3768faaae70cdcffc3a5e296bd99edfa7ddb2",
      "tree": "62ae05e0cae3abfc2e12b783e0471fae12abbc2f",
      "parents": [
        "933da83aa17939a78d59708321c0b27d0ec8c6ce"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Oct 06 01:00:47 2009 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Oct 06 12:02:33 2009 +0200"
      },
      "message": "perf trace: Remove unused code in builtin-trace.c\n\nAnd some minor whitespace cleanup.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: rostedt@goodmis.org\nCc: lizf@cn.fujitsu.com\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003c1254808849-7829-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c3b32fcbc7f4fd9a9b84718b991b175b0fd53f8c",
      "tree": "a7e0198b04673b711aa67fae72788007af056039",
      "parents": [
        "a2a99e8e12798706ec1026e5d8fc36f7c86122ce"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Oct 05 14:26:16 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 05 20:35:24 2009 +0200"
      },
      "message": "perf report: Use kernel_maps__find_symbol as fallback to find vdsos, etc\n\nIn resolve_symbol, as we\u0027re moving to breaking the kernel symbols\nlist per address ranges, i.e. kernel linking sections, so that we\ndon\u0027t have a big kernel_map that in its range covers what is in the\nmodules.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a2a99e8e12798706ec1026e5d8fc36f7c86122ce",
      "tree": "e5f3f236ad600b5221d1ecd9217ca6fdbd2f7b58",
      "parents": [
        "af427bf529c5991be8d1a36f43e2d0141f532f63"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Oct 05 14:26:18 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 05 20:35:23 2009 +0200"
      },
      "message": "perf tools: /proc/modules names don\u0027t always match its name\n\n$ cut -d\u0027 \u0027 -f1 /proc/modules|grep _|wc -l\n 29\n $ cut -d\u0027 \u0027 -f1 /proc/modules|grep _|sed \u0027s/$/.ko\u0027/g|while read n;do find /lib/modules/`uname -r` -name $n;done|wc -l\n 12\n\nFor instance:\n\n $ grep ^aes_x86 /proc/modules\n aes_x86_64 9056 2 - Live 0xffffffffa0091000\n $ l /lib/modules/2.6.31-tip/kernel/arch/x86/crypto/aes-x86_64.ko\n -rw-r--r-- 1 root root 136438 2009-09-22 19:05 /lib/modules/2.6.31-tip/kernel/arch/x86/crypto/aes-x86_64.ko\n\nHandle that by introducing a strxfrchar routine that replaces\ndashes with underscores when matching file names to loaded modules.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "af427bf529c5991be8d1a36f43e2d0141f532f63",
      "tree": "9a90fcac2b44ef1b70ca9ca5b4ed6792179b976a",
      "parents": [
        "5c2068059a0e852f72b7c2608d92170b752d821f"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Oct 05 14:26:17 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 05 20:35:23 2009 +0200"
      },
      "message": "perf tools: Create maps for modules when processing kallsyms\n\nSo that we get kallsyms processing closer to vmlinux + modules\nsymtabs processing.\n\nOne change in behaviour is that since when one specifies --vmlinux\n-m should be used to ask for modules, so it is now for kallsyms as\nwell.\n\nAlso continue if one manages to load the vmlinux data but module\nprocessing fails, so that at least some analisys can be done with\npart of the needed symbols.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "5c2068059a0e852f72b7c2608d92170b752d821f",
      "tree": "940a885a6b910aded2826f6f6e6b362b6f89b0de",
      "parents": [
        "ec218fc4a796a1b584741d59ef22615d96981188"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Oct 05 14:26:15 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Oct 05 20:35:22 2009 +0200"
      },
      "message": "perf top: Keep the default of asking for kernel module symbols\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "933da83aa17939a78d59708321c0b27d0ec8c6ce",
      "tree": "623ef9032ef6321179a389147a3296f064037504",
      "parents": [
        "1ad0560e8cdb6d5b381220dc2da187691b5ce124"
      ],
      "author": {
        "name": "Chris Wilson",
        "email": "chris@chris-wilson.co.uk",
        "time": "Sun Oct 04 01:35:01 2009 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Oct 04 19:37:39 2009 +0200"
      },
      "message": "perf: Propagate term signal to child\n\nIf we launch the child on behalf of the user, ensure that it dies\nalong with ourselves when we are interrupted.\n\nSigned-off-by: Chris Wilson \u003cchris@chris-wilson.co.uk\u003e\nCc: Chris Wilson \u003cchris@chris-wilson.co.uk\u003e\nLKML-Reference: \u003c1254616502-4728-1-git-send-email-chris@chris-wilson.co.uk\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ec218fc4a796a1b584741d59ef22615d96981188",
      "tree": "59e1060af0aa674d32bb81701bd08802209ef416",
      "parents": [
        "9735abf11bec48bfbbb1b54772a02deb2ae0c403"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Oct 03 20:30:48 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Oct 04 19:37:11 2009 +0200"
      },
      "message": "perf tools: Remove show_mask bitmask\n\nAs it was not being exposed via any command line and with --dsos/--comms\nwe can do this and even more, like asking for just kernel + some module:\n\n[root@doppio linux-2.6-tip]# perf report --dsos \\[kernel\\],\\[drm\\]\n--vmlinux /home/acme/git/build/tip-recvmmsg/vmlinux --modules | head -15\n # Samples: 619669\n #\n # Overhead          Command  Shared Object  Symbol\n # ........  ...............  .............  ......\n #\n      7.12%          swapper  [kernel]       [k] read_hpet\n      6.86%             init  [kernel]       [k] read_hpet\n      6.22%             init  [kernel]       [k] mwait_idle_with_hints\n      5.34%          swapper  [kernel]       [k] mwait_idle_with_hints\n      3.01%          firefox  [kernel]       [.] vread_hpet\n      2.14%             Xorg  [drm]          [k] drm_clflush_pages\n      2.09%           pidgin  [kernel]       [.] vread_hpet\n      1.58%     npviewer.bin  [kernel]       [.] vread_hpet\n      1.37%          swapper  [kernel]       [k] hpet_next_event\n      1.23%             Xorg  [kernel]       [k] read_hpet\n[root@doppio linux-2.6-tip]#\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c20091003233048.GA30535@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "9735abf11bec48bfbbb1b54772a02deb2ae0c403",
      "tree": "9bb3c292419443619311b0eedb121149d33e7f59",
      "parents": [
        "439d473b4777de510e1322168ac6f2f377ecd5bc"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Oct 03 10:42:45 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Oct 03 16:01:59 2009 +0200"
      },
      "message": "perf tools: Move hist_entry__add common code to hist.c\n\nNow perf report and annotate do the callgraph/hit processing in\ntheir specialized hist_entry__add functions.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nAcked-by: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "439d473b4777de510e1322168ac6f2f377ecd5bc",
      "tree": "f33622a0b98c2b0ce16637322d48542eb93e2fa3",
      "parents": [
        "2ccdc450e658053681202d42ac64b3638f22dc1a"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Oct 02 03:29:58 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Oct 02 10:48:42 2009 +0200"
      },
      "message": "perf tools: Rewrite and improve support for kernel modules\n\nRepresenting modules as struct map entries, backed by a DSO, etc,\nusing /proc/modules to find where the module is loaded.\n\nDSOs now can have a short and long name, so that in verbose mode we\ncan show exactly which .ko or vmlinux image was used.\n\nAs kernel modules now are a DSO separate from the kernel, we can\nask for just the hits for a particular set of kernel modules, just\nlike we can do with shared libraries:\n\n[root@doppio linux-2.6-tip]# perf report -n --vmlinux\n/home/acme/git/build/tip-recvmmsg/vmlinux --modules --dsos \\[drm\\] | head -15\n    84.58%      13266             Xorg  [k] drm_clflush_pages\n     4.02%        630             Xorg  [k] trace_kmalloc.clone.0\n     3.95%        619             Xorg  [k] drm_ioctl\n     2.07%        324             Xorg  [k] drm_addbufs\n     1.68%        263             Xorg  [k] drm_gem_close_ioctl\n     0.77%        120             Xorg  [k] drm_setmaster_ioctl\n     0.70%        110             Xorg  [k] drm_lastclose\n     0.68%        106             Xorg  [k] drm_open\n     0.54%         85             Xorg  [k] drm_mm_search_free\n[root@doppio linux-2.6-tip]#\n\nSpecifying --dsos /lib/modules/2.6.31-tip/kernel/drivers/gpu/drm/drm.ko\nwould have the same effect. Allowing specifying just \u0027drm.ko\u0027 is left\nfor another patch.\n\nProcessing kallsyms so that per kernel module struct map are\ninstantiated was also left for another patch. That will allow\nremoving the module name from each of its symbols.\n\nstruct symbol was reduced by removing the -\u003emodule backpointer and\nmoving it (well now the map) to struct symbol_entry in perf top,\nthat is its only user right now.\n\nThe total linecount went down by ~500 lines.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Avi Kivity \u003cavi@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1ad0560e8cdb6d5b381220dc2da187691b5ce124",
      "tree": "f686fe2125b85a2192b2127a91166eba47446667",
      "parents": [
        "27f9994c50e95f3a5a81fe4c7491a9f9cffe6ec0"
      ],
      "author": {
        "name": "Mulyadi Santosa",
        "email": "mulyadi.santosa@gmail.com",
        "time": "Sat Sep 26 02:01:41 2009 +0700"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 01 10:12:03 2009 +0200"
      },
      "message": "perf tools: Run generate-cmdlist.sh properly\n\nRight now generate-cmdlist.sh is not executable, so we\nshould call it as an argument \".\".\n\nThis fixes cases where due to different umask defaults\nthe generate-cmdlist.sh script is not executable in\na kernel tree checkout.\n\nSigned-off-by: Mulyadi Santosa \u003cmulyadi.santosa@gmail.com\u003e\nAcked-by: Sam Ravnborg \u003csam@ravnborg.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cf284c33d0909251201w422e9687x8cd3a784e85adf7d@mail.gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "39a90a8ef17fe6fbf4b45e46e3c10d3b8b4a3dea",
      "tree": "8aa8c5b0486d1d2cedace07bcb9e42189b4ccda5",
      "parents": [
        "8357275bb919d91093bc5a959932ef7b1ea816e8"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Thu Sep 24 15:40:13 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 01 09:26:40 2009 +0200"
      },
      "message": "perf timechart: Add a power-only mode\n\nFor doing work on the Linux power management components, I need to\nmake long (30+ seconds) traces. Currently, this then results in a\nHUGE svg file, with mostly process data that isn\u0027t interesting.\n\nThis patch adds a --power-only mode to perf timechart that only\noutputs the CPU power section of the SVG; this significantly\nreduces the size of the SVG file, making even 30+ second traces\nviewable with inkscape.\n\nAs a minor tweak for the same effect, the minimum text size is\ndecreased; current inkscape cannot zoom in deep enough to show text\nthis small, but it reduces inkscape compute time.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: peterz@infradead.org\nLKML-Reference: \u003c20090924154013.0675ab71@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2ccdc450e658053681202d42ac64b3638f22dc1a",
      "tree": "58ca06856642b491bb6dc4cd0e9205a6a05f0242",
      "parents": [
        "cad3071424edd7854f63aa80d09473e84f49ed79"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Sep 24 14:24:00 2009 -0700"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 01 08:46:15 2009 +0200"
      },
      "message": "perf top: Remove dead {min,max}_ip unused variables\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c20090924212400.GA15321@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cad3071424edd7854f63aa80d09473e84f49ed79",
      "tree": "2541d843fa9b40e445ea1baa92e4b79d980b3680",
      "parents": [
        "a80deb622dba7dfb65d9e27b6b74b7c1963c3635"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Sep 28 17:08:18 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 30 13:57:57 2009 +0200"
      },
      "message": "perf trace: Remove dead code\n\nSeveral variables are not used at all, cut\u0027n\u0027paste leftovers.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nLKML-Reference: \u003c20090928200818.GF3361@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a80deb622dba7dfb65d9e27b6b74b7c1963c3635",
      "tree": "c7d9c5e1d6a222597b7a5784c846bdb4eb033c65",
      "parents": [
        "1b46cddfccfec4cc67b187fb53d78198de6a057c"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Sep 28 15:23:51 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 30 13:57:57 2009 +0200"
      },
      "message": "perf sched: Remove dead code\n\nSeveral variables are not used at all, cut\u0027n\u0027paste leftovers.\n\nAlso check if the sample_type is RAW earlier, to avoid needless\nsearches.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1b46cddfccfec4cc67b187fb53d78198de6a057c",
      "tree": "813836ec58396e15008bfb39e7209a6bcc6e2f58",
      "parents": [
        "3d1d07ecd2009f65cb2091563fa21f9600c36774"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Sep 28 14:48:46 2009 -0300"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 30 13:57:56 2009 +0200"
      },
      "message": "perf tools: Use rb_tree for maps\n\nThreads can have many and kernel modules will be represented as a\ntree of maps as well.\n\nAh, and for a perf.data with 146607 samples:\n\nBefore:\n\n[root@doppio ~]# perf stat -r 5 perf report \u003e /dev/null\n\n Performance counter stats for \u0027perf report\u0027 (5 runs):\n\n     699.823680  task-clock-msecs         #      0.991 CPUs    ( +-   0.454% )\n             74  context-switches         #      0.000 M/sec   ( +-   1.709% )\n              2  CPU-migrations           #      0.000 M/sec   ( +-  17.008% )\n          23114  page-faults              #      0.033 M/sec   ( +-   0.000% )\n     1381257019  cycles                   #   1973.721 M/sec   ( +-   0.290% )\n     1456894438  instructions             #      1.055 IPC     ( +-   0.007% )\n       18779818  cache-references         #     26.835 M/sec   ( +-   0.380% )\n         641799  cache-misses             #      0.917 M/sec   ( +-   1.200% )\n\n    0.705972729  seconds time elapsed   ( +-   0.501% )\n\n[root@doppio ~]#\n\nAfter\n\n Performance counter stats for \u0027perf report\u0027 (5 runs):\n\n     691.261451  task-clock-msecs         #      0.993 CPUs    ( +-   0.307% )\n             72  context-switches         #      0.000 M/sec   ( +-   0.829% )\n              6  CPU-migrations           #      0.000 M/sec   ( +-  18.409% )\n          23127  page-faults              #      0.033 M/sec   ( +-   0.000% )\n     1366395876  cycles                   #   1976.670 M/sec   ( +-   0.153% )\n     1443136016  instructions             #      1.056 IPC     ( +-   0.012% )\n       17956402  cache-references         #     25.976 M/sec   ( +-   0.325% )\n         661924  cache-misses             #      0.958 M/sec   ( +-   1.335% )\n\n    0.696127275  seconds time elapsed   ( +-   0.377% )\n\nI.e. we see some speedup too.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nLKML-Reference: \u003c20090928174846.GA3361@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "3d1d07ecd2009f65cb2091563fa21f9600c36774",
      "tree": "a1ef97a8264fc880ee8a9406a9be9070d0d12176",
      "parents": [
        "dd68ada2d417e57b848822a1407b5317a54136c5"
      ],
      "author": {
        "name": "John Kacur",
        "email": "jkacur@redhat.com",
        "time": "Mon Sep 28 15:32:55 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 30 13:57:56 2009 +0200"
      },
      "message": "perf tools: Put common histogram functions in their own file\n\nMove histogram related functions into their own files (hist.c and\nhist.h) and make use of them in builtin-annotate.c and\nbuiltin-report.c.\n\nSigned-off-by: John Kacur \u003cjkacur@redhat.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003calpine.LFD.2.00.0909281531180.8316@localhost.localdomain\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8357275bb919d91093bc5a959932ef7b1ea816e8",
      "tree": "34d4bec5725ce1f6e2212b4c64f9ef0578659586",
      "parents": [
        "17d857be649a21ca90008c6dc425d849fa83db5c"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Sep 25 15:02:39 2009 -0700"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 30 13:56:54 2009 +0200"
      },
      "message": "perf top: Add poll_idle to the skip list\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nAcked-by: Eric Dumazet \u003ceric.dumazet@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nLKML-Reference: \u003c20090925220239.GA5488@ghostprotocols.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "dd68ada2d417e57b848822a1407b5317a54136c5",
      "tree": "8d7cc54e3bcf063038532d88ac1f94a54b6650a5",
      "parents": [
        "8b40f521cf1c9750eab0c04da9075e7484675e9c"
      ],
      "author": {
        "name": "John Kacur",
        "email": "jkacur@redhat.com",
        "time": "Thu Sep 24 18:02:49 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 21:27:52 2009 +0200"
      },
      "message": "perf tools: Create util/sort.and use it\n\nCreate util/sort.[ch] and move common functionality for\nbuiltin-report.c and builtin-annotate.c there, and make use of it.\n\nSigned-off-by: John Kacur \u003cjkacur@redhat.com\u003e\nLKML-Reference: \u003calpine.LFD.2.00.0909241758390.11383@localhost.localdomain\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8b40f521cf1c9750eab0c04da9075e7484675e9c",
      "tree": "ccf78010cc05ca0e38ebf6f443fd507c287c2fdf",
      "parents": [
        "cbfeb267cb0ff632dbc8ff02685012bee2e87434"
      ],
      "author": {
        "name": "John Kacur",
        "email": "jkacur@redhat.com",
        "time": "Thu Sep 24 18:02:18 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 21:27:51 2009 +0200"
      },
      "message": "perf tools: Protect header files with a consistent style\n\nThere was a colorful mix of header guards - standardize them.\n\nSigned-off-by: John Kacur \u003cjkacur@redhat.com\u003e\nLKML-Reference: \u003calpine.LFD.2.00.0909241756530.11383@localhost.localdomain\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cbfeb267cb0ff632dbc8ff02685012bee2e87434",
      "tree": "24662435a423aa20aa4ac5468140b547f8afdd92",
      "parents": [
        "725b13685c61168f71825b3fb67d96d2d7aa3b0f"
      ],
      "author": {
        "name": "John Kacur",
        "email": "jkacur@redhat.com",
        "time": "Thu Sep 24 18:01:51 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 21:27:50 2009 +0200"
      },
      "message": "perf annotate: Add the cmp_null function and make use of it\n\nThis function exists in builtin-report.c but not in\nbuiltin-annotate.c Functions that use cmp_null are shorter and\nclearer.\n\nSynchronizing functions between these two files will also make it\neasier to potential share code in the future.\n\nSigned-off-by: John Kacur \u003cjkacur@redhat.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003calpine.LFD.2.00.0909241754031.11383@localhost.localdomain\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "725b13685c61168f71825b3fb67d96d2d7aa3b0f",
      "tree": "40fee1caa92c93691cb39f6a32b60a536a2e91e5",
      "parents": [
        "a255a9981a8566a1efabec983b7811e937e662d2"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "eric.dumazet@gmail.com",
        "time": "Thu Sep 24 15:39:09 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 21:20:08 2009 +0200"
      },
      "message": "perf tools: Dont use openat()\n\nopenat() is still a young glibc facility, better to not use it in a\nnon performance critical program (perf list)\n\nMany machines have older glibc (RHEL 4 Update 5 -\u003e glibc-2.3.4-2.36\non my dev machine for example).\n\nSigned-off-by: Eric Dumazet \u003ceric.dumazet@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Ulrich Drepper \u003cdrepper@redhat.com\u003e\nLKML-Reference: \u003c4ABB767D.6080004@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a255a9981a8566a1efabec983b7811e937e662d2",
      "tree": "a445c70426192ab086cb1a1fb7f704fe58442cc2",
      "parents": [
        "67030036ebb370b0aa5561ae2fe31668ed1ccd1c"
      ],
      "author": {
        "name": "Eric Dumazet",
        "email": "eric.dumazet@gmail.com",
        "time": "Thu Sep 24 15:05:59 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 15:11:23 2009 +0200"
      },
      "message": "perf tools: Fix buffer allocation\n\n\"perf top\" cores dump on my dev machine, if run from a directory\nwhere vmlinux is present:\n\n  *** glibc detected *** malloc(): memory corruption: 0x085670d0 ***\n\nSigned-off-by: Eric Dumazet \u003ceric.dumazet@gmail.com\u003e\nCc: \u003cstable@kernel.org\u003e\nLKML-Reference: \u003c4ABB6EB7.7000002@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "67030036ebb370b0aa5561ae2fe31668ed1ccd1c",
      "tree": "315afcefef41c73f79c4592e53ccf1538b9a5d7b",
      "parents": [
        "dd906a0fe8d78b925702cd3916a65f34dfdfc011"
      ],
      "author": {
        "name": "Kirill Smelkov",
        "email": "kirr@mns.spb.ru",
        "time": "Thu Sep 24 15:00:22 2009 +0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 14:01:22 2009 +0200"
      },
      "message": "perf tools: .gitignore +\u003d perf*.html\n\nI\u0027ve tried building the docs in tools/perf/Documentation/ , and after\nthat `git status` showed dozen of untracked htmls. Let\u0027s ignore them.\n\nSigned-off-by: Kirill Smelkov \u003ckirr@mns.spb.ru\u003e\nLKML-Reference: \u003c1253790022-10300-1-git-send-email-kirr@mns.spb.ru\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "dd906a0fe8d78b925702cd3916a65f34dfdfc011",
      "tree": "2f4b5c3505d4ad3b6b92c4e5e30cf16f82e2bd48",
      "parents": [
        "508c4d0874acf8584787bbab7e4a3798e2834c1a"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Thu Sep 24 10:07:08 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 24 11:40:35 2009 +0200"
      },
      "message": "perf tools: Handle relative paths while loading module symbols\n\nInform util/module.c::mod_dso__load_module_paths() that relative\npaths do exist in some modules.dep, and make it fail noisily should\nit encounter a path that it doesn\u0027t understand, or a module it\ncannot open.\n\nReported-by: Avi Kivity \u003cavi@redhat.com\u003e\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: rostedt@goodmis.org\nCc: Mathieu Desnoyers \u003cmathieu.desnoyers@polymtl.ca\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nLKML-Reference: \u003c1253779628.10513.8.camel@marge.simson.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "508c4d0874acf8584787bbab7e4a3798e2834c1a",
      "tree": "31af0531c1c74d4d64ad3ed6a6527db5458feceb",
      "parents": [
        "7d42896628202a551ad1107697cd215dc5fca099"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Wed Sep 23 11:20:58 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 23 13:45:48 2009 +0200"
      },
      "message": "perf tools: Fix module symbol loading bug\n\nAvi Kivity reported \u0027perf annotate\u0027 failures with modules, the\nrequested function was not annotated.\n\nIf there are no modules currently loaded, or the last module\nscanned is not loaded, dso__load_modules() steps on the value from\ndso__load_vmlinux(), so we happily load the kallsyms symbols on top\nof what we\u0027ve already loaded.\n\nFix that such that the total count of symbols loaded is returned.\nShould module symbol load fail after parsing of vmlinux, is\u0027s a\nhard failure, so do not silently fall-back to kallsyms.\n\nReported-by: Avi Kivity \u003cavi@redhat.com\u003e\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: rostedt@goodmis.org\nCc: Mathieu Desnoyers \u003cmathieu.desnoyers@polymtl.ca\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nLKML-Reference: \u003c1253697658.11461.36.camel@marge.simson.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c7f7fea30b7e52c9d4b9cef271110a98d59adcbc",
      "tree": "aa57c1290455298d178ed6880cd8157a3e738abd",
      "parents": [
        "a8f90e906783f1f815120eefe813b23cb396e9bd"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Sep 22 14:53:51 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Sep 22 15:01:47 2009 +0200"
      },
      "message": "perf stat: Fix zero total printouts\n\nBefore:\n\n           0  sched:sched_switch #        nan M/sec\n\nAfter:\n\n           0  sched:sched_switch #      0.000 M/sec\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cdd6c482c9ff9c55475ee7392ec8f672eddb7be6",
      "tree": "81f98a3ab46c589792057fe2392c1e10f8ad7893",
      "parents": [
        "dfc65094d0313cc48969fa60bcf33d693aeb05a7"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 21 12:02:48 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 21 14:28:04 2009 +0200"
      },
      "message": "perf: Do the big rename: Performance Counters -\u003e Performance Events\n\nBye-bye Performance Counters, welcome Performance Events!\n\nIn the past few months the perfcounters subsystem has grown out its\ninitial role of counting hardware events, and has become (and is\nbecoming) a much broader generic event enumeration, reporting, logging,\nmonitoring, analysis facility.\n\nNaming its core object \u0027perf_counter\u0027 and naming the subsystem\n\u0027perfcounters\u0027 has become more and more of a misnomer. With pending\ncode like hw-breakpoints support the \u0027counter\u0027 name is less and\nless appropriate.\n\nAll in one, we\u0027ve decided to rename the subsystem to \u0027performance\nevents\u0027 and to propagate this rename through all fields, variables\nand API names. (in an ABI compatible fashion)\n\nThe word \u0027event\u0027 is also a bit shorter than \u0027counter\u0027 - which makes\nit slightly more convenient to write/handle as well.\n\nThanks goes to Stephane Eranian who first observed this misnomer and\nsuggested a rename.\n\nUser-space tooling and ABI compatibility is not affected - this patch\nshould be function-invariant. (Also, defconfigs were not touched to\nkeep the size down.)\n\nThis patch has been generated via the following script:\n\n  FILES\u003d$(find * -type f | grep -vE \u0027oprofile|[^K]config\u0027)\n\n  sed -i \\\n    -e \u0027s/PERF_EVENT_/PERF_RECORD_/g\u0027 \\\n    -e \u0027s/PERF_COUNTER/PERF_EVENT/g\u0027 \\\n    -e \u0027s/perf_counter/perf_event/g\u0027 \\\n    -e \u0027s/nb_counters/nb_events/g\u0027 \\\n    -e \u0027s/swcounter/swevent/g\u0027 \\\n    -e \u0027s/tpcounter_event/tp_event/g\u0027 \\\n    $FILES\n\n  for N in $(find . -name perf_counter.[ch]); do\n    M\u003d$(echo $N | sed \u0027s/perf_counter/perf_event/g\u0027)\n    mv $N $M\n  done\n\n  FILES\u003d$(find . -name perf_event.*)\n\n  sed -i \\\n    -e \u0027s/COUNTER_MASK/REG_MASK/g\u0027 \\\n    -e \u0027s/COUNTER/EVENT/g\u0027 \\\n    -e \u0027s/\\\u003cevent\\\u003e/event_id/g\u0027 \\\n    -e \u0027s/counter/event/g\u0027 \\\n    -e \u0027s/Counter/Event/g\u0027 \\\n    $FILES\n\n... to keep it as correct as possible. This script can also be\nused by anyone who has pending perfcounters patches - it converts\na Linux kernel tree over to the new naming. We tried to time this\nchange to the point in time where the amount of pending patches\nis the smallest: the end of the merge window.\n\nNamespace clashes were fixed up in a preparatory patch - and some\nstylistic fallout will be fixed up in a subsequent patch.\n\n( NOTE: \u0027counters\u0027 are still the proper terminology when we deal\n  with hardware registers - and these sed scripts are a bit\n  over-eager in renaming them. I\u0027ve undone some of that, but\n  in case there\u0027s something left where \u0027counter\u0027 would be\n  better than \u0027event\u0027 we can undo that on an individual basis\n  instead of touching an otherwise nicely automated patch. )\n\nSuggested-by: Stephane Eranian \u003ceranian@google.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nAcked-by: Paul Mackerras \u003cpaulus@samba.org\u003e\nReviewed-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: Benjamin Herrenschmidt \u003cbenh@kernel.crashing.org\u003e\nCc: David Howells \u003cdhowells@redhat.com\u003e\nCc: Kyle McMartin \u003ckyle@mcmartin.ca\u003e\nCc: Martin Schwidefsky \u003cschwidefsky@de.ibm.com\u003e\nCc: \"David S. Miller\" \u003cdavem@davemloft.net\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: \"H. Peter Anvin\" \u003chpa@zytor.com\u003e\nCc: \u003clinux-arch@vger.kernel.org\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "611a546bec3e1af2a87af0862398fc711dc47aef",
      "tree": "ee2e222ab0f8a0bee4b6169e6e6a80332edcd10b",
      "parents": [
        "5094b655452dd48367fb28af74ffc76019b93dc2"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sun Sep 20 18:14:38 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 20 19:37:36 2009 +0200"
      },
      "message": "perf util: SVG performance improvements\n\nTweak the output SVG to increase performance in SVG viewers by\nlimiting the different types of font sizes and by smarter\ntransformations on the text.\n\nAt least with Inkscape this gives a notable performance improvement\nduring zoom and scrolling.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090920181438.3a49cb93@linux.intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "5094b655452dd48367fb28af74ffc76019b93dc2",
      "tree": "72412b375275b943fc417c7e3c55bf50833e9683",
      "parents": [
        "a92fe7b3063db2caa578872fce975ff53aa56214"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sun Sep 20 18:14:16 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 20 19:37:35 2009 +0200"
      },
      "message": "perf util: Make the timechart SVG width dynamic\n\nThis patch adds a command line option for timechart that allows the\nuser to specify the width of the SVG file.\n\nThis patch also makes sure that each second of recording has at\nleast 200 units (pixels at 96 DPI) of width.  This impacts\nrecordings longer than 5 seconds; recordings shorter than 5 second\nwill scale up to have a width of 1000 units for the whole recording\n(as before).\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090920181416.69570c5d@linux.intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a92fe7b3063db2caa578872fce975ff53aa56214",
      "tree": "ff864f33e311daacb119e578f39e1fcac2275240",
      "parents": [
        "4f1202c8e61478984ed2d0df616149faf84c2a7f"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sun Sep 20 18:13:53 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 20 19:37:35 2009 +0200"
      },
      "message": "perf timechart: Show the duration of scheduler delays in the SVG\n\nGiven that scheduler latencies are the hot thing nowadays, show the\nduration of said latencies in the SVG in text form.\n\nIn addition, if the latency is more than 10 msec, pick a brighter\nyellow color as a way to point these long delays out.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090920181353.796f4509@linux.intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4f1202c8e61478984ed2d0df616149faf84c2a7f",
      "tree": "540fb2e48d8b55bda2db75a61085908401453ac0",
      "parents": [
        "cdf8073d6b2c6c5a3cd6ce0e6c1297157f7f99ba"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sun Sep 20 18:13:28 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 20 19:37:34 2009 +0200"
      },
      "message": "perf timechart: Show the name of the waker/wakee in timechart\n\nTimechart currently shows thin green lines for sending or receiving\nwakeups. This patch also prints (in a very small font) the name of\nthe process that is being woken/wakes up this process.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090920181328.68baa978@linux.intel.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ec60a3fe478c0fc6d109eb5840b435ecee4d132b",
      "tree": "7ee4276e7bed9eeb427b40c4562ee7452408e774",
      "parents": [
        "151750cec5db3c7ea45255d2901e581e2162317a"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@infradead.org",
        "time": "Sat Sep 19 13:36:30 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 18:57:53 2009 +0200"
      },
      "message": "perf utils: Use a define for the maximum length of a trace event\n\nAs per Ingo\u0027s review: use a #define rather than an open coded constant\nfor the maximum length of a trace event for storing in the perf.data file.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: fweisbec@gmail.com\nCc: peterz@infradead.org\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c20090919133630.10533d3e@infradead.org\u003e\n[ add a few comments to nearby functions ]\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "151750cec5db3c7ea45255d2901e581e2162317a",
      "tree": "ffd67e15d30599094c4e389380c90d4085d58c38",
      "parents": [
        "288f023e708efd89d77ce9acf977a33a623ae83d"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@infradead.org",
        "time": "Sat Sep 19 13:36:04 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 18:57:53 2009 +0200"
      },
      "message": "perf: Add timechart help text and add timechart to \"perf help\"\n\nAs suggested by Ingo, add a timechart man page help text, as well\nas add it to the \"perf help\" overview.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: fweisbec@gmail.com\nCc: peterz@infradead.org\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c20090919133604.3767fa35@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "964a0b3d2b1b1cac1d01e29b635831b3d92a3fdd",
      "tree": "e8583a730594429444b00c7db8db95e914c20659",
      "parents": [
        "3c09eebd61eaacca866cd60b50416f18640bc731"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@infradead.org",
        "time": "Sat Sep 19 13:35:07 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 18:57:52 2009 +0200"
      },
      "message": "perf utils: Be consistent about minimum text size in the svghelper\n\nBe more consistent in the svghelper about the minimum text size\nby having a global #define for this.\n\nThere needs to be a minimum text size in order to keep the size\nof the SVG file within the reach of what current SVG viewers can\ncope with.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: fweisbec@gmail.com\nCc: peterz@infradead.org\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arjan van de Ven \u003carjan@infradead.org\u003e\nLKML-Reference: \u003c20090919133507.7374ef8b@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "3c09eebd61eaacca866cd60b50416f18640bc731",
      "tree": "ff4de07d2a8197943ff60f04bd60e18c6371346e",
      "parents": [
        "10274989fd595db455874fc2c83272fb33f6b27b"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@infradead.org",
        "time": "Sat Sep 19 13:34:42 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 18:57:51 2009 +0200"
      },
      "message": "perf timechart: Add \"perf timechart record\"\n\nAdd a command line option to record a trace, similar to \"perf sched record\".\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: fweisbec@gmail.com\nCc: peterz@infradead.org\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLKML-Reference: \u003c20090919133442.0dc2c7f5@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "10274989fd595db455874fc2c83272fb33f6b27b",
      "tree": "bb2396ee910f480b4859ca5c3554ed2f5a822d17",
      "parents": [
        "f48d55ce7871824eae3065f4d81956d7113eff19"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 07:53:05 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:13 2009 +0200"
      },
      "message": "perf: Add the timechart tool\n\ntimechart is a tool to visualize what is going on in the system.\n\nThe user makes a trace of what is going on with\n\n \u003e perf record --timechart /usr/bin/some_command\n\nand then can turn the output of this into an svg file\n\n \u003e perf timechart\n\nwhich then can be viewed with any SVG view; inkscape works well\nenough for me.\n\nThe idea behind timechart is to create a \"infinitely zoomable\"\npicture; something that has high level information on a 1:1 zoom\nlevel, but which exposes more details every time you zoom into a\nspecific area.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130713.6a77bbc0@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f48d55ce7871824eae3065f4d81956d7113eff19",
      "tree": "f38dca96a65f4da87f95770647b8d7aa49b1b809",
      "parents": [
        "6161352142d5fed4cd753b32e5ccde66e705b14e"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 12:52:11 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:13 2009 +0200"
      },
      "message": "perf: Add a SVG helper library file\n\nThe timechart tool writes out SVG format output; this patch adds a\nset of helper functions to abstract dealing with SVG from the core\ntimechart code.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130613.677f0516@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "fd39e055c4fefa4553efc9030f9903afdc6ee323",
      "tree": "0fa05c9b2ea8e8a406cba5638668bd175d69984a",
      "parents": [
        "a79d7db9fdb0037925ffa31f6ff9b189ff75d235"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 07:53:00 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:12 2009 +0200"
      },
      "message": "perf: Add a sample_event type to the event_union\n\nAdd a sample_event type to the event_union so that raw samples can\nbe processed easily.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130511.411434b5@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "a79d7db9fdb0037925ffa31f6ff9b189ff75d235",
      "tree": "8470443024de36918e192bb157e8b946899fb274",
      "parents": [
        "8755a8f27ae590dde225f9005ee18c6d9c4c6d78"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 07:52:54 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:11 2009 +0200"
      },
      "message": "perf: Allow perf utilities to have \"callback\" options without arguments\n\ntimechart needs to add a \"callback\" type command line argument that\ndoes not take arguments.\n\nThis patch adds the parse-options.h infrastructure to make this\npossible.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130440.548666c1@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8755a8f27ae590dde225f9005ee18c6d9c4c6d78",
      "tree": "1a86744bf0f5ee71bc5f2d0c29f86f9721aa6f4a",
      "parents": [
        "393b2ad8c757ba3ccd2a99ca5bbcd6db4d3fa53d"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 07:52:51 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:11 2009 +0200"
      },
      "message": "perf: Store trace event name/id pairs in perf.data\n\nThe trace event name\u003c-\u003eid mapping is dynamic for each kernel\ncompile. In order for perf.data to be useable outside the actual\nsystem, we thus need to store a table of this mapping for later\nuse.\n\nThis patch adds this table to perf.data, and provides helper\nfunctions for lookup up fields from this table.\n\nTo avoid mistakes, lookup-from-table is kept completely seprate\nfrom lookup-from-local-debugfs.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130405.6960d099@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "393b2ad8c757ba3ccd2a99ca5bbcd6db4d3fa53d",
      "tree": "8972e2e9647c814e71be74d37adb85b18e9c6732",
      "parents": [
        "929bf0d0156562ce631728b6fa53d68004d456d2"
      ],
      "author": {
        "name": "Arjan van de Ven",
        "email": "arjan@linux.intel.com",
        "time": "Sat Sep 12 07:52:47 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:42:10 2009 +0200"
      },
      "message": "perf: Add a timestamp to fork events\n\nperf timechart needs to know when a process forked, in order to be\nable to visualize properly when tasks start.\n\nThis patch adds a time field to the event structure, and fills it\nin appropriately.\n\nSigned-off-by: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c20090912130341.51ad2de2@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "929bf0d0156562ce631728b6fa53d68004d456d2",
      "tree": "739063990a8077b29ef97e69d73bce94573daae4",
      "parents": [
        "def0a9b2573e00ab0b486cb5382625203ab4c4a6",
        "202c4675c55ddf6b443c7e057d2dff6b42ef71aa"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:27:32 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Sep 19 11:28:41 2009 +0200"
      },
      "message": "Merge branch \u0027linus\u0027 into perfcounters/core\n\nMerge reason: Bring in tracing changes we depend on.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4b77a7297795229eca96c41e1709a3c87909fabe",
      "tree": "89c4a457b5d43d43c3fa68cb8c9d661167b4436f",
      "parents": [
        "1281a49b7aa865a1f0d60e2b28410e6234fc686b"
      ],
      "author": {
        "name": "Mike Galbraith",
        "email": "efault@gmx.de",
        "time": "Fri Sep 18 08:22:24 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 18 08:36:06 2009 +0200"
      },
      "message": "perf sched: Add --input\u003dfile option to builtin-sched.c\n\nperf sched record passes unparsed args on to perf record, so\nspecifying an output file via perf sched record -o FILE (cmd) just\nworks.  Ergo, provide an option to specify input file as well.\n\nAlso add the missing \u0027map\u0027 command to help.\n\nSigned-off-by: Mike Galbraith \u003cefault@gmx.de\u003e\nAcked-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003c1253254944.20589.11.camel@marge.simson.net\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1281a49b7aa865a1f0d60e2b28410e6234fc686b",
      "tree": "1baad8a9ce4caf99dd687b575a11d18a6ba54b52",
      "parents": [
        "270bbbe80d82fad8b698d0b407eb3ad67cc3492b"
      ],
      "author": {
        "name": "Li Zefan",
        "email": "lizf@cn.fujitsu.com",
        "time": "Thu Sep 17 16:49:43 2009 +0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 18 00:30:25 2009 +0200"
      },
      "message": "perf trace: Sample timestamp and cpu when using record flag\n\nSample timestamp and cpu just like the -R option.\n\nBefore:\n            init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq\u003d1 handler\u003di8042\n            init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [-01] 1266874889.17179869184709551615: irq_handler_entry: irq\u003d1 handler\u003di8042\n\nAfter:\n            init-0     [001]  7364.568965353: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [001]  7365.530226877: irq_handler_entry: irq\u003d1 handler\u003di8042\n            init-0     [001]  7365.542831563: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [001]  7365.644156299: irq_handler_entry: irq\u003d18 handler\u003deth0\n            init-0     [001]  7365.694556201: irq_handler_entry: irq\u003d18 handler\u003deth0\n\nSigned-off-by: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nLKML-Reference: \u003c4AB1F827.8040905@cn.fujitsu.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "270bbbe80d82fad8b698d0b407eb3ad67cc3492b",
      "tree": "4eb7f492e58bad126276682993a2fb4ca416bd23",
      "parents": [
        "6706ccf8e776e51e38ffa89fe7dd20e80eb1e860"
      ],
      "author": {
        "name": "Li Zefan",
        "email": "lizf@cn.fujitsu.com",
        "time": "Thu Sep 17 16:34:51 2009 +0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 18 00:30:25 2009 +0200"
      },
      "message": "perf tools: Increase MAX_EVENT_LENGTH\n\nThe name length of some trace events is longer than 30, like\nsys_enter_sched_get_priority_max and\next4_mb_discard_preallocations.\n\nPassing those events to perf-record will fail, try:\n\n  # ./perf record -f -e syscalls:sys_enter_sched_get_priority_max -F 1 -a\n\nSigned-off-by: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nLKML-Reference: \u003c4AB1F4AB.7050205@cn.fujitsu.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "6706ccf8e776e51e38ffa89fe7dd20e80eb1e860",
      "tree": "2e329cde9b0f1e589789327b5dec199eb146c8fa",
      "parents": [
        "40749d0ff49f99c3661b336fe5e5625207bd925a"
      ],
      "author": {
        "name": "Li Zefan",
        "email": "lizf@cn.fujitsu.com",
        "time": "Thu Sep 17 16:34:23 2009 +0800"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 18 00:30:24 2009 +0200"
      },
      "message": "perf tools: Fix memory leak in read_ftrace_printk()\n\nget_tracing_file() should be paired with put_tracing_file().\n\nSigned-off-by: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nLKML-Reference: \u003c4AB1F48F.4070807@cn.fujitsu.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "40749d0ff49f99c3661b336fe5e5625207bd925a",
      "tree": "29856d175cd23b90b67e2efaa7146ddf0f4c7612",
      "parents": [
        "8b412664d0a487c2e16ac43f4fcede346df33254"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 17 18:24:55 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 17 22:09:19 2009 +0200"
      },
      "message": "perf sched: Determine the number of CPUs automatically\n\nFor \u0027perf sched map\u0027 output, determine max_cpu automatically,\ninstead of the static default of 15.\n\n[ v2: use sysconf() pointed out by Arjan van de Ven \u003carjan@infradead.org\u003e ]\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "8b412664d0a487c2e16ac43f4fcede346df33254",
      "tree": "75914df712d93dcbf6fc82f80f4f2ecb6ce19e7d",
      "parents": [
        "2667de81f3256c944b06abdf2c56c2f192fcb724"
      ],
      "author": {
        "name": "Peter Zijlstra",
        "email": "a.p.zijlstra@chello.nl",
        "time": "Thu Sep 17 19:59:05 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 17 22:08:27 2009 +0200"
      },
      "message": "perf record: Disable profiling before draining the buffer\n\nI noticed that perf-record continues profiling itself after the\nchild terminated and we\u0027re draining the buffer.\n\nThis can cause a _lot_ of overhead with --all recording - we keep\nand keep recording, which produces new and new events.\n\nSigned-off-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0ec04e16d08b69d8da46abbcfa3e3f2cd9738852",
      "tree": "8a63209fd4f45ff1c15a89fd0e3aa5dbdbe58b33",
      "parents": [
        "80ed0987f363d7eb50193df3e6f6d71451f74bc3"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 17:40:48 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 16:41:30 2009 +0200"
      },
      "message": "perf sched: Add \u0027perf sched map\u0027 scheduling event map printout\n\nThis prints a textual context-switching outline of workload\ncaptured via perf sched record.\n\nFor example, on a 16 CPU box it outputs:\n\n   N1  O1  .   .   .   S1  .   .   .   B0  .  *I0  C1  .   M1  .    23002.773423 secs\n   N1  O1  .  *Q0  .   S1  .   .   .   B0  .   I0  C1  .   M1  .    23002.773423 secs\n   N1  O1  .   Q0  .   S1  .   .   .   B0  .  *R1  C1  .   M1  .    23002.773485 secs\n   N1  O1  .   Q0  .   S1  .  *S0  .   B0  .   R1  C1  .   M1  .    23002.773478 secs\n  *L0  O1  .   Q0  .   S1  .   S0  .   B0  .   R1  C1  .   M1  .    23002.773523 secs\n   L0  O1  .  *.   .   S1  .   S0  .   B0  .   R1  C1  .   M1  .    23002.773531 secs\n   L0  O1  .   .   .   S1  .   S0  .   B0  .   R1  C1 *T1  M1  .    23002.773547 secs T1 \u003d\u003e irqbalance:2089\n   L0  O1  .   .   .   S1  .   S0  .  *P0  .   R1  C1  T1  M1  .    23002.773549 secs\n  *N1  O1  .   .   .   S1  .   S0  .   P0  .   R1  C1  T1  M1  .    23002.773566 secs\n   N1  O1  .   .   .  *J0  .   S0  .   P0  .   R1  C1  T1  M1  .    23002.773571 secs\n   N1  O1  .   .   .   J0  .   S0 *B0  P0  .   R1  C1  T1  M1  .    23002.773592 secs\n   N1  O1  .   .   .   J0  .  *U0  B0  P0  .   R1  C1  T1  M1  .    23002.773582 secs\n   N1  O1  .   .   .  *S1  .   U0  B0  P0  .   R1  C1  T1  M1  .    23002.773604 secs\n   N1  O1  .   .   .   S1  .   U0  B0 *.   .   R1  C1  T1  M1  .    23002.773615 secs\n   N1  O1  .   .   .   S1  .   U0  B0  .   .  *K0  C1  T1  M1  .    23002.773631 secs\n   N1  O1  .  *M0  .   S1  .   U0  B0  .   .   K0  C1  T1  M1  .    23002.773624 secs\n   N1  O1  .   M0  .   S1  .   U0 *.   .   .   K0  C1  T1  M1  .    23002.773644 secs\n   N1  O1  .   M0  .   S1  .   U0  .   .   .  *R1  C1  T1  M1  .    23002.773662 secs\n   N1  O1  .   M0  .   S1  .  *.   .   .   .   R1  C1  T1  M1  .    23002.773648 secs\n   N1  O1  .  *.   .   S1  .   .   .   .   .   R1  C1  T1  M1  .    23002.773680 secs\n   N1  O1  .   .   .  *L0  .   .   .   .   .   R1  C1  T1  M1  .    23002.773717 secs\n  *N0  O1  .   .   .   L0  .   .   .   .   .   R1  C1  T1  M1  .    23002.773709 secs\n  *N1  O1  .   .   .   L0  .   .   .   .   .   R1  C1  T1  M1  .    23002.773747 secs\n\nColumns stand for individual CPUs, from CPU0 to CPU15, and the\ntwo-letter shortcuts stand for tasks that are running on a CPU.\n\n\u0027*\u0027 denotes the CPU that had the event.\n\nA dot signals an idle CPU.\n\nNew tasks are assigned new two-letter shortcuts - when they occur\nfirst they are printed. In the above example \u0027T1\u0027 stood for irqbalance:\n\n      T1 \u003d\u003e irqbalance:2089\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "80ed0987f363d7eb50193df3e6f6d71451f74bc3",
      "tree": "36ac94c42e234ade4c6a2ac4b8c2dcb3bfbd138f",
      "parents": [
        "c8a37751043427c6e4397a2cbfd617cb5f215c72"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 14:12:36 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 12:15:47 2009 +0200"
      },
      "message": "perf sched: Make idle thread and comm/pid names more consistent\n\nPeter noticed that we have 3 ways of referring to the idle thread:\n\n [idle]:0\n swapper:0\n swapper-0\n\nStandardize on \u0027swapper:0\u0027.\n\nReported-by: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c8a37751043427c6e4397a2cbfd617cb5f215c72",
      "tree": "b4399844d7064741c4df4098509b7dc3bd7d3493",
      "parents": [
        "dc02bf7178c8e2cb3d442ae19027b736d51c7dd5"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 14:07:00 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 12:08:28 2009 +0200"
      },
      "message": "perf sched: Sanity check context switch events\n\nUse \u0027perf sched latency\u0027 to track the current task based on\ncontext-switch events, and flag the cases where there\u0027s some\nimpossible transition: such as a PID being switched out that\nwas not switched in.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "dc02bf7178c8e2cb3d442ae19027b736d51c7dd5",
      "tree": "08e66e825e88e63e6b913245f02bc5c4c6358f83",
      "parents": [
        "39aeb52f99f2380c1f16036deed2f7bb8b2e0559"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 13:45:00 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 16 11:48:05 2009 +0200"
      },
      "message": "perf sched: Account for lost events, increase default buffering\n\nOutput such lost event and state machine weirdness stats:\n\n   TOTAL:                |  14974.910 ms |    46384 |\n  ---------------------------------------------------\n   INFO: 8.865% lost events (19132 out of 215819, in 8 chunks)\n   INFO: 0.198% state machine bugs (49 out of 24708) (due to lost events?)\n\nAnd increase buffering to -m 1024 (4 MB) by default. Since we\nuse output multiplexing that kind of space is needed.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "39aeb52f99f2380c1f16036deed2f7bb8b2e0559",
      "tree": "5d9c6dbc12da0bceb9776be4d1d7082d21850095",
      "parents": [
        "08f69e6c2e59b3d73343f8c9ecf758e0133dbc22"
      ],
      "author": {
        "name": "mingo",
        "email": "mingo@europe.(none)",
        "time": "Mon Sep 14 20:04:48 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 20:08:23 2009 +0200"
      },
      "message": "perf sched: Add support for sched:sched_stat_runtime events\n\nThis allows more precise \u0027perf sched latency\u0027 output:\n\n ---------------------------------------------------------------------------------------\n  Task                  |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n ---------------------------------------------------------------------------------------\n  ksoftirqd/0-4         |    0.010 ms |        2 | avg:    2.476 ms | max:    2.977 ms |\n  perf-12328            |   15.844 ms |       66 | avg:    1.118 ms | max:    9.979 ms |\n  bdi-default-235       |    0.009 ms |        1 | avg:    0.998 ms | max:    0.998 ms |\n  events/1-8            |    0.020 ms |        2 | avg:    0.998 ms | max:    0.998 ms |\n  events/0-7            |    0.018 ms |        2 | avg:    0.992 ms | max:    0.996 ms |\n  sleep-12329           |    0.742 ms |        3 | avg:    0.906 ms | max:    2.289 ms |\n  sshd-12122            |    0.163 ms |        2 | avg:    0.283 ms | max:    0.562 ms |\n  loop-getpid-lon-12322 | 1023.636 ms |       69 | avg:    0.208 ms | max:    5.996 ms |\n  loop-getpid-lon-12321 | 1038.638 ms |        5 | avg:    0.073 ms | max:    0.171 ms |\n  migration/1-5         |    0.000 ms |        1 | avg:    0.006 ms | max:    0.006 ms |\n ---------------------------------------------------------------------------------------\n  TOTAL:                | 2079.078 ms |      153 |\n -------------------------------------------------\n\nAlso, streamline the code a bit more, add asserts for various state\nmachine failures (they should be debugged if they occur) and fix\na few odd ends.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "08f69e6c2e59b3d73343f8c9ecf758e0133dbc22",
      "tree": "4e979b37f653004d849c04f96b098610a0356218",
      "parents": [
        "d11533893b31ab7806ff04bfa69ae646068610ce"
      ],
      "author": {
        "name": "mingo",
        "email": "mingo@europe.(none)",
        "time": "Mon Sep 14 18:30:44 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 18:34:57 2009 +0200"
      },
      "message": "perf sched: Print PIDs too\n\nOften it\u0027s useful to know the PID of the task as well - print it\nout too.\n\n( While at it, reformat the output to be a bit more\n  paste-into-commit-logs friendly. )\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d11533893b31ab7806ff04bfa69ae646068610ce",
      "tree": "332f701f1aeea75abf7dd885e86baff5014dc9f6",
      "parents": [
        "ea57c4f5203d82c7844c54cdef54e972cf4e9d1f"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 18:22:53 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 18:22:53 2009 +0200"
      },
      "message": "perf sched: Fix \u0027perf sched latency\u0027 output on 32-bit systems\n\nBefore:\n\n  -----------------------------------------------------------------------------------\n   Task              |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n  -----------------------------------------------------------------------------------\n   perf              |4853313.251 ms |       10 | avg:    0.046 ms | max:    0.337 ms |\n   flush-8:0         |2426659.202 ms |        5 | avg:    0.015 ms | max:    0.016 ms |\n   sleep             |485331.966 ms |        1 | avg:    0.012 ms | max:    0.012 ms |\n   ksoftirqd/1       |485331.320 ms |        1 | avg:    0.005 ms | max:    0.005 ms |\n  -----------------------------------------------------------------------------------\n   TOTAL:            |8250635.739 ms |       17 |\n  ---------------------------------------------\n\nAfter:\n\n  -----------------------------------------------------------------------------------\n   Task              |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n  -----------------------------------------------------------------------------------\n   perf              |    0.206 ms |       10 | avg:    0.046 ms | max:    0.337 ms |\n   flush-8:0         |    2.680 ms |        5 | avg:    0.015 ms | max:    0.016 ms |\n   sleep             |    0.662 ms |        1 | avg:    0.012 ms | max:    0.012 ms |\n   ksoftirqd/1       |    0.015 ms |        1 | avg:    0.005 ms | max:    0.005 ms |\n  -----------------------------------------------------------------------------------\n   TOTAL:            |    3.563 ms |       17 |\n  ---------------------------------------------\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ea57c4f5203d82c7844c54cdef54e972cf4e9d1f",
      "tree": "13eb76a07480adbfe1bcabd25cde7cdd12907ddb",
      "parents": [
        "aa1ab9d26ae9fe2566a9036e3cb83e7d555b3987"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 18:15:54 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 15:45:11 2009 +0200"
      },
      "message": "perf tools: Implement counter output multiplexing\n\nFinish the -M/--multiplex option implementation:\n\n - separate it out from group_fd\n\n - correctly set it via the ioctl and dont mmap counters that\n   are multiplexed\n\n - modify the perf record event loop to deal with buffer-less\n   counters.\n\n - remove the -g option from perf sched record\n\n - account for unordered events in perf sched latency\n\n - (add -f to perf sched record to ease measurements)\n\n - skip idle threads (pid\u003d\u003d0) in latency output\n\nThe result is better latency output by \u0027perf sched latency\u0027:\n\n -----------------------------------------------------------------------------------\n  Task              |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n -----------------------------------------------------------------------------------\n  ksoftirqd/8       |    0.071 ms |        2 | avg:    0.458 ms | max:    0.913 ms |\n  at-spi-registry   |    0.609 ms |       19 | avg:    0.013 ms | max:    0.023 ms |\n  perf              |    3.316 ms |       16 | avg:    0.013 ms | max:    0.054 ms |\n  Xorg              |    0.392 ms |       19 | avg:    0.011 ms | max:    0.018 ms |\n  sleep             |    0.537 ms |        2 | avg:    0.009 ms | max:    0.009 ms |\n -----------------------------------------------------------------------------------\n  TOTAL:            |    4.925 ms |       58 |\n ---------------------------------------------\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "aa1ab9d26ae9fe2566a9036e3cb83e7d555b3987",
      "tree": "bd9a25fdf5e53d29b5c062a3b8291fbafeedd35a",
      "parents": [
        "d13025222cdb0043e2239b3b819389358bb31bc0"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Mon Sep 14 03:01:12 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 15:45:10 2009 +0200"
      },
      "message": "perf tools: Fix processing of randomly serialized sched traces\n\nCurrently it\u0027s possible to meet such too high latency results\nwith \u0027perf sched latency\u0027.\n\n -----------------------------------------------------------------------------------\n Task              |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n -----------------------------------------------------------------------------------\n xfce4-panel       |    0.222 ms |        2 | avg: 4718.345 ms | max: 9436.493 ms |\n scsi_eh_3         |    3.962 ms |       36 | avg:   55.957 ms | max: 1977.829 ms |\n\nThe origin is on traces that are sometimes badly serialized across cpus.\nFor example the raw traces that raised such results for xfce4-panel:\n\n(1)          [init]-0     [000]  1494.663899990: sched_switch: task swapper:0 [140] (R) \u003d\u003d\u003e xfce4-panel:4569 [120]\n(2)     xfce4-panel-4569  [000]  1494.663928373: sched_switch: task xfce4-panel:4569 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n(3)            Xorg-4276  [001]  1494.663860125: sched_wakeup: task xfce4-panel:4569 [120] success\u003d1 [000]\n(4)            Xorg-4276  [001]  1504.098252756: sched_wakeup: task xfce4-panel:4569 [120] success\u003d1 [000]\n(5)            perf-5219  [000]  1504.100353302: sched_switch: task perf:5219 [120] (S) \u003d\u003d\u003e xfce4-panel:4569 [120]\n\nThe traces are processed in the order they arrive. Then in (2),\nxfce4-panel sleeps, it is first waken up in (3) and eventually\nscheduled in (5).\n\nThe latency reported is then 1504 - 1495 \u003d 9 secs, as reported by perf\nsched. But this is wrong, we are confident in the fact the traces are\nnicely serialized while we should actually more trust the timestamps.\n\nIf we reorder by timestamps we get:\n\n(1)            Xorg-4276  [001]  1494.663860125: sched_wakeup: task xfce4-panel:4569 [120] success\u003d1 [000]\n(2)          [init]-0     [000]  1494.663899990: sched_switch: task swapper:0 [140] (R) \u003d\u003d\u003e xfce4-panel:4569 [120]\n(3)     xfce4-panel-4569  [000]  1494.663928373: sched_switch: task xfce4-panel:4569 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n(4)            Xorg-4276  [001]  1504.098252756: sched_wakeup: task xfce4-panel:4569 [120] success\u003d1 [000]\n(5)            perf-5219  [000]  1504.100353302: sched_switch: task perf:5219 [120] (S) \u003d\u003d\u003e xfce4-panel:4569 [120]\n\nNow the trace make more sense, xfce4-panel is sleeping. Then it is\nwoken up in (1), scheduled in (2)\nIt goes to sleep in (3), woken up in (4) and scheduled in (5).\n\nNow, latency captured between (1) and (2) is of 39 us.\nAnd between (4) and (5) it is 2.1 ms.\n\nSuch pattern of bad serializing is the origin of the high latencies\nreported by perf sched.\n\nBasically, we need to check whether wake up time is higher than\nschedule out time. If it\u0027s not the case, we need to tag the current\nwork atom as invalid.\n\nBeside that, we may need to work later on a better ordering of the\ntraces given by the kernel.\n\nAfter this patch:\n\nxfce4-session     |    0.221 ms |        1 | avg:    0.538 ms | max:    0.538 ms |\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d13025222cdb0043e2239b3b819389358bb31bc0",
      "tree": "9bac1060f41da9f2d35f194749428a23dde8290c",
      "parents": [
        "f977bb4937857994312fff4f9c2cad336a36a932"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Mon Sep 14 08:57:15 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Sep 14 09:52:23 2009 +0200"
      },
      "message": "perf tools: Add an option to multiplex counters in a single channel\n\nAdd an option to multiplex counters output in the channel of\nthe group leader, ie: the first counter opened:\n\n\t-M --multiplex\n\nThe effect is better serialized samples. This is especially\nuseful for tracepoint samples that need to be well serialized\nfor their post-processing.\n\nAlso make use of this option in \u0027perf sched\u0027.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c13f0d3c8165e9592102687fa999da0a0d9c3724",
      "tree": "5f679c0b390a7b7f3b0e116c75ecc0f1784c56a2",
      "parents": [
        "459ec28ab404d7afcd512ce9b855959ad301605a"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 16:51:04 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 17:55:23 2009 +0200"
      },
      "message": "perf sched: Add \u0027perf sched trace\u0027, improve documentation\n\nAlias \u0027perf sched trace\u0027 to \u0027perf trace\u0027, for workflow completeness.\n\nAdd a bit of documentation for perf sched.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1fc35b29b4098aa3bf9fc9acb4c1615d0b5dd95d",
      "tree": "f4646be85f1f52c5f239ca47930958e85ed119ff",
      "parents": [
        "b5fae128e41021889777f8ead810cbd2a8b249fc"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 09:44:29 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:51 2009 +0200"
      },
      "message": "perf sched: Implement the \u0027perf sched record\u0027 subcommand\n\nImplement the \u0027perf sched record\u0027 subcommand that adds a\ndefault list of events, turns on raw sampling and system-wide\ntracing and passes off the rest of the command to perf record.\n\nThis is more convenient than having to specify the events all\nthe time.\n\nBefore:\n\n $ perf record -a -R -e sched:sched_switch:r -e sched:sched_stat_wait:r -e sched:sched_stat_sleep:r -e sched:sched_stat_iowait:r -e sched:sched_process_exit:r -e sched:sched_process_fork:r -e sched:sched_wakeup:r -e sched:sched_migrate_task:r -c 1 sleep 1\n\nAfter:\n\n $ perf sched record -f sleep 1\n\nAlso fix an assumption in the event string parser that assumed\nthat strings passed in can be modified. (In this case they wont\nbe as they come from a readonly constant section.)\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b5fae128e41021889777f8ead810cbd2a8b249fc",
      "tree": "4fb7885dc9d9232c6c8fb4f45b95dfedcdbac175",
      "parents": [
        "b1ffe8f3e0c96f5527a89e24410d6b0e59b3554a"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 11 12:12:54 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:50 2009 +0200"
      },
      "message": "perf sched: Clean up PID sorting logic\n\nUse a sort list for thread atoms insertion as well - instead of\nhardcoded for PID.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b1ffe8f3e0c96f5527a89e24410d6b0e59b3554a",
      "tree": "f766ae671c3528186c4bbe313e178f77b0f52478",
      "parents": [
        "f2858d8ad9858e63c87257553c5721cba5db95ae"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 11 12:12:54 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:49 2009 +0200"
      },
      "message": "perf sched: Finish latency \u003d\u003e atom rename and misc cleanups\n\n- Rename \u0027latency\u0027 field/variable names to the better \u0027atom\u0027 ones\n\n - Reduce the number of #include lines and consolidate them\n\n - Gather file scope variables at the top of the file\n\n - Remove unused bits\n\nNo change in functionality.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f2858d8ad9858e63c87257553c5721cba5db95ae",
      "tree": "6b3d74454ec63901f28d0acd2144429167ec6fcb",
      "parents": [
        "daa1d7a5eafc0a3a91a9add6a9a9f1bcaed63108"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Sep 11 12:12:54 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:49 2009 +0200"
      },
      "message": "perf sched: Add \u0027perf sched latency\u0027 and \u0027perf sched replay\u0027\n\nSeparate the option parsing cleanly and add two variants:\n\n - \u0027perf sched latency\u0027 (can be abbreviated via \u0027perf sched lat\u0027)\n - \u0027perf sched replay\u0027  (can be abbreviated via \u0027perf sched rep\u0027)\n\nAlso add a repeat count option to replay and add a separation\nset of options for replay.\n\nDo the sorting setup only in the latency sub-command.\n\nDisplay separate help screens for \u0027perf sched\u0027 and\n\u0027perf sched replay -h\u0027 - i.e. further separation of the\nsub-commands.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "daa1d7a5eafc0a3a91a9add6a9a9f1bcaed63108",
      "tree": "061114ddcf5247fe11f5afdec7bc3015e9fc2640",
      "parents": [
        "7362262687b21b0d04927a7615c162a3d064849e"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sun Sep 13 03:36:29 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:48 2009 +0200"
      },
      "message": "perf sched: Implement multidimensional sorting\n\nImplement multidimensional sorting on perf sched so that\nyou can sort either by number of switches, latency average,\nlatency maximum, runtime.\n\nperf sched -l -s avg,max  (this is the default)\n\n-----------------------------------------------------------------------------------\n Task              |  Runtime ms | Switches | Average delay ms | Maximum delay ms |\n-----------------------------------------------------------------------------------\n gnome-power-man   |    0.113 ms |        1 | avg: 4998.531 ms | max: 4998.531 ms |\n xfdesktop         |    1.190 ms |        7 | avg:  136.475 ms | max:  940.933 ms |\n xfce-mcs-manage   |    2.194 ms |       22 | avg:   38.534 ms | max:  735.174 ms |\n notification-da   |    2.749 ms |       31 | avg:   27.436 ms | max:  731.791 ms |\n xfce4-session     |    3.343 ms |       28 | avg:   26.796 ms | max:  734.891 ms |\n xfwm4             |    3.159 ms |       22 | avg:   12.406 ms | max:  241.333 ms |\n xchat             |   42.789 ms |      214 | avg:   11.886 ms | max:  100.349 ms |\n xfce4-terminal    |    5.386 ms |       22 | avg:   11.414 ms | max:  241.611 ms |\n firefox           |  151.992 ms |      123 | avg:    9.543 ms | max:  153.717 ms |\n xfce4-panel       |   24.324 ms |       47 | avg:    8.189 ms | max:  242.352 ms |\n :5090             |    6.932 ms |      111 | avg:    8.131 ms | max:  102.665 ms |\n events/0          |    0.758 ms |       12 | avg:    1.964 ms | max:   21.879 ms |\n Xorg              |  280.558 ms |      340 | avg:    1.864 ms | max:   99.526 ms |\n geany             |   63.391 ms |      295 | avg:    1.099 ms | max:    9.334 ms |\n reiserfs/0        |    0.039 ms |        2 | avg:    0.854 ms | max:    1.487 ms |\n kondemand/0       |    8.251 ms |      245 | avg:    0.691 ms | max:   34.372 ms |\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "7362262687b21b0d04927a7615c162a3d064849e",
      "tree": "58bfdd62cb077bbe5e6dee2d6caa67bf650ea840",
      "parents": [
        "66685678a03d0d8e8ba015472f280fb4f12f84c1"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sun Sep 13 01:59:05 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:48 2009 +0200"
      },
      "message": "perf sched: Fix nsec to msec conversion\n\nWe are dividing a time in ns by 1e9. This is a nsec to sec\nconversion. What we want is msecs. Fix it by dividing by 1e6.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "66685678a03d0d8e8ba015472f280fb4f12f84c1",
      "tree": "60e9cbe8809c0977bf02e3257116d4a296ff798b",
      "parents": [
        "c6ced61112f1e6139914149fab65695801a74f0f"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sun Sep 13 01:56:25 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Sep 13 10:22:47 2009 +0200"
      },
      "message": "perf sched: Export the total, max latency and total runtime to thread atoms list\n\nAdd a field in the thread atom list that keeps track of the\ntotal and max latencies and also the total runtime. This makes\na faster output and also prepares for sorting.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    }
  ],
  "next": "c6ced61112f1e6139914149fab65695801a74f0f"
}
