)]}'
{
  "log": [
    {
      "commit": "fbe96f29ce4b33e0a22219cc7f5996d9157717e3",
      "tree": "8261187a9ecfc43c144c8a85d4c1cf884154c059",
      "parents": [
        "be83f5ed6bc46cd89b4a102b6e341ecddf7abf91"
      ],
      "author": {
        "name": "Stephane Eranian",
        "email": "eranian@google.com",
        "time": "Fri Sep 30 15:40:40 2011 +0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Oct 07 17:01:24 2011 -0300"
      },
      "message": "perf tools: Make perf.data more self-descriptive (v8)\n\nThe goal of this patch is to include more information about the host\nenvironment into the perf.data so it is more self-descriptive. Overtime,\nprofiles are captured on various machines and it becomes hard to track\nwhat was recorded, on what machine and when.\n\nThis patch provides a way to solve this by extending the perf.data file\nwith basic information about the host machine. To add those extensions,\nwe leverage the feature bits capabilities of the perf.data format.  The\nchange is backward compatible with existing perf.data files.\n\nWe define the following useful new extensions:\n - HEADER_HOSTNAME: the hostname\n - HEADER_OSRELEASE: the kernel release number\n - HEADER_ARCH: the hw architecture\n - HEADER_CPUDESC: generic CPU description\n - HEADER_NRCPUS: number of online/avail cpus\n - HEADER_CMDLINE: perf command line\n - HEADER_VERSION: perf version\n - HEADER_TOPOLOGY: cpu topology\n - HEADER_EVENT_DESC: full event description (attrs)\n - HEADER_CPUID: easy-to-parse low level CPU identication\n\nThe small granularity for the entries is to make it easier to extend\nwithout breaking backward compatiblity. Many entries are provided as\nASCII strings.\n\nPerf report/script have been modified to print the basic information as\neasy-to-parse ASCII strings. Extended information about CPU and NUMA\ntopology may be requested with the -I option.\n\nThanks to David Ahern for reviewing and testing the many versions of\nthis patch.\n\n $ perf report --stdio\n # \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n # captured on : Mon Sep 26 15:22:14 2011\n # hostname : quad\n # os release : 3.1.0-rc4-tip\n # perf version : 3.1.0-rc4\n # arch : x86_64\n # nrcpus online : 4\n # nrcpus avail : 4\n # cpudesc : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz\n # cpuid : GenuineIntel,6,15,11\n # total memory : 8105360 kB\n # cmdline : /home/eranian/perfmon/official/tip/build/tools/perf/perf record date\n # event : name \u003d cycles, type \u003d 0, config \u003d 0x0, config1 \u003d 0x0, config2 \u003d 0x0, excl_usr \u003d 0, excl_kern \u003d 0, id \u003d { 29, 30, 31,\n # HEADER_CPU_TOPOLOGY info available, use -I to display\n # HEADER_NUMA_TOPOLOGY info available, use -I to display\n # \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n #\n ...\n\n $ perf report --stdio -I\n # \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n # captured on : Mon Sep 26 15:22:14 2011\n # hostname : quad\n # os release : 3.1.0-rc4-tip\n # perf version : 3.1.0-rc4\n # arch : x86_64\n # nrcpus online : 4\n # nrcpus avail : 4\n # cpudesc : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz\n # cpuid : GenuineIntel,6,15,11\n # total memory : 8105360 kB\n # cmdline : /home/eranian/perfmon/official/tip/build/tools/perf/perf record date\n # event : name \u003d cycles, type \u003d 0, config \u003d 0x0, config1 \u003d 0x0, config2 \u003d 0x0, excl_usr \u003d 0, excl_kern \u003d 0, id \u003d { 29, 30, 31,\n # sibling cores   : 0-3\n # sibling threads : 0\n # sibling threads : 1\n # sibling threads : 2\n # sibling threads : 3\n # node0 meminfo  : total \u003d 8320608 kB, free \u003d 7571024 kB\n # node0 cpu list : 0-3\n # \u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\n #\n ...\n\nReviewed-by: David Ahern \u003cdsahern@gmail.com\u003e\nTested-by: David Ahern \u003cdsahern@gmail.com\u003e\nCc: David Ahern \u003cdsahern@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Robert Richter \u003crobert.richter@amd.com\u003e\nCc: Andi Kleen \u003cak@linux.intel.com\u003e\nLink: http://lkml.kernel.org/r/20110930134040.GA5575@quad\nSigned-off-by: Stephane Eranian \u003ceranian@google.com\u003e\n[ committer notes: Use --show-info in the tools as was in the docs, rename\n  perf_header_fprintf_info to perf_file_section__fprintf_info, fixup\n  conflict with f69b64f7 \"perf: Support setting the disassembler style\" ]\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "5d67be97f8903d05ce53597fb5f3bc25a45e8026",
      "tree": "5ce8c2407d50570d7fee79b9c7f24e8eb89384b4",
      "parents": [
        "9f8b6a6cf0ee78de87ebe1e87f54bec1c1741ef7"
      ],
      "author": {
        "name": "Anton Blanchard",
        "email": "anton@samba.org",
        "time": "Mon Jul 04 21:57:50 2011 +1000"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Jul 05 10:44:44 2011 +0200"
      },
      "message": "perf report/annotate/script: Add option to specify a CPU range\n\nAdd an option to perf report/annotate/script to specify which\nCPUs to operate on. This enables us to take a single system wide\nprofile and analyse each CPU (or group of CPUs) in isolation.\n\nThis was useful when profiling a multiprocess workload where the\nbottleneck was on one CPU but this was hidden in the overall\nprofile. Per process and per thread breakdowns didn\u0027t help\nbecause multiple processes were running on each CPU and no\nsingle process consumed an entire CPU.\n\nThe patch converts the list of CPUs returned by cpu_map__new\ninto a bitmap for fast lookup. I wanted to use -C to be\nconsistent with perf top/record/stat, but unfortunately perf\nreport already uses -C \u003ccomms\u003e.\n\n v2: Incorporate suggestions from David Ahern:\n\t- Added -c to perf script\n\t- Check that SAMPLE_CPU is set when -c is used\n\t- Update documentation\n\n v3: Create perf_session__cpu_bitmap()\n\nSigned-off-by: Anton Blanchard \u003canton@samba.org\u003e\nAcked-by: David Ahern \u003cdsahern@gmail.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLink: http://lkml.kernel.org/r/20110704215750.11647eb9@kryten\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "7cec0922389e080d11ec43dd23aa778e136bd1e1",
      "tree": "0d772b32f38b4ef16e4256711e947b38baa2c2f9",
      "parents": [
        "610723f24eeb842025178a6722fa9108c4e157b6"
      ],
      "author": {
        "name": "David Ahern",
        "email": "dsahern@gmail.com",
        "time": "Mon May 30 13:08:23 2011 -0600"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Jun 02 13:31:01 2011 -0300"
      },
      "message": "perf script: Add printing of sample address\n\nResolve to a function or variable if possible and if the sym option is\nenabled.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLink: http://lkml.kernel.org/r/1306782503-22002-1-git-send-email-dsahern@gmail.com\nSigned-off-by: David Ahern \u003cdsahern@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "610723f24eeb842025178a6722fa9108c4e157b6",
      "tree": "e184c3b2242ba9b9da065221d4673603dd9d8e86",
      "parents": [
        "787bef174f055343c69a9639e6e05a564980ed4c"
      ],
      "author": {
        "name": "David Ahern",
        "email": "dsahern@gmail.com",
        "time": "Fri May 27 14:28:44 2011 -0600"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Jun 02 13:29:14 2011 -0300"
      },
      "message": "perf script: Make printing of dso a separate field option\n\nThe \u0027sym\u0027 option displays both the function name and the DSO it comes\nfrom. Split the display of the dso into a separate option.  This allows\ndisplay of the ip address and symbol without the dso, thus shortening\nline lengths - and decluttering the output a bit.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLink: http://lkml.kernel.org/r/1306528124-25861-3-git-send-email-dsahern@gmail.com\nSigned-off-by: David Ahern \u003cdsahern@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "787bef174f055343c69a9639e6e05a564980ed4c",
      "tree": "d37e4fae03454e74684798bc112ba161786f978a",
      "parents": [
        "2cee77c4505fc581f41b44e18ffc0953b67a414c"
      ],
      "author": {
        "name": "David Ahern",
        "email": "dsahern@gmail.com",
        "time": "Fri May 27 14:28:43 2011 -0600"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Jun 02 13:28:34 2011 -0300"
      },
      "message": "perf script: \"sym\" field really means show IP data\n\nCurrently the \"sym\" output field is used to dump instruction pointers\nand callchain stack. Sample addresses can also be converted to symbols,\nso the meaning of \"sym\" needs to be fixed. This patch adds an \"ip\"\noption and if it is selected the user can also opt to dump symbols for\nthem. If the user opts to dump IP without syms only the address is\nshown.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLink: http://lkml.kernel.org/r/1306528124-25861-2-git-send-email-dsahern@gmail.com\nSigned-off-by: David Ahern \u003cdsahern@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "ea7659fb2b876337aee719d9d5ddb05531dfb334",
      "tree": "899b5d257959d8071b7a9d579c9fb6a8545a77d9",
      "parents": [
        "1102c660dd35725a11c7ca9365c237f2f42f6b30"
      ],
      "author": {
        "name": "Jesper Juhl",
        "email": "jj@chaosbits.net",
        "time": "Thu May 26 10:21:05 2011 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu May 26 13:49:57 2011 +0200"
      },
      "message": "perf: Remove duplicate headers\n\nSigned-off-by: Jesper Juhl \u003cjj@chaosbits.net\u003e\nCc: Tom Zanussi \u003ctom.zanussi@linux.intel.com\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\nCc: trivial@kernel.org\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nLink: http://lkml.kernel.org/r/alpine.LNX.2.00.1105261011290.17400@swampdragon.chaosbits.net\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "9cbdb702092a2d82f909312f4ec3eeded77bb82e",
      "tree": "db5f06a2b534c2731c5da085a5a995b230c0091c",
      "parents": [
        "0817a6a3a4fc7c069111083351ca33a78da2a0c9"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Apr 06 21:54:20 2011 -0600"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Apr 20 07:27:52 2011 -0300"
      },
      "message": "perf script: improve validation of sample attributes for output fields\n\nCheck for required sample attributes using evsel rather than sample_type\nin the session header. If the attribute for a default field is not\npresent for the event type (e.g., new command operating on file from\nolder kernel) the field is removed from the output list.\n\nExpected event types must exist. For example, if a user specifies\n\n  -f trace:time,trace -f sw:time,cpu,sym\n\nthe perf.data file must contain both tracepoints and software events\n(ie., it is an error if either does not exist in the file).\n\nAttribute checking is done once at the beginning of perf-script rather\nthan for each sample.\n\nv1 -\u003e v2:\n- addressed comments from acme\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nLink: http://lkml.kernel.org/r/1302148460-570-1-git-send-email-daahern@cisco.com\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "0817a6a3a4fc7c069111083351ca33a78da2a0c9",
      "tree": "704a8f256421f30a488fe44998726ed52bb7bc18",
      "parents": [
        "f18568aae5612ab37f20e5f383d6154ea69c9dfc"
      ],
      "author": {
        "name": "Arun Sharma",
        "email": "asharma@fb.com",
        "time": "Thu Apr 14 10:38:18 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Apr 19 11:08:58 2011 -0300"
      },
      "message": "perf script: Add support for PERF_TYPE_RAW\n\nUseful for getting stack traces for hardware events not handled by\nPERF_TYPE_HARDWARE.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nSigned-off-by: Arun Sharma \u003casharma@fb.com\u003e\nLink: http://lkml.kernel.org/n/tip-qimdcdpekjqxuyqovy4kjusx@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "2c9e45f7a287384e1382932597e41a9a567811ba",
      "tree": "eb52ca0be0f02bf93fb77c53e8eb5cf97019a74c",
      "parents": [
        "ae18cbfe9f147085426635763f1fe0c68f1071e2"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Thu Mar 17 10:03:21 2011 -0600"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Mar 30 14:43:11 2011 -0300"
      },
      "message": "perf script: If type not given fields apply to all event types\n\nAllow:\n  perf script -f \u003cfields\u003e\n\nto be equivalent to:\n  perf script -f trace:\u003cfields\u003e -f sw:\u003cfields\u003e -f hw:\u003cfields\u003e\n\ni.e., the specified fields apply to all event types if the type string\nis not given.\n\nThe field (-f) arguments are processed in the order received. A later\nusage can reset a prior request. e.g.,\n\n  -f trace: -f comm,tid,time,sym\n\nThe first -f suppresses trace events (field list is \"\"), but then the second\ninvocation sets the fields to comm,tid,time,sym. In this case a warning is\ngiven to the user:\n\n  \"Overriding previous field request for all events.\"\n\nAlternativey, consider the order:\n\n  -f comm,tid,time,sym -f trace:\n\nThe first -f sets the fields for all events and the second -f suppresses trace\nevents. The user is given a warning message about the override, and the result\nof the above is that only S/W and H/W events are displayed with the given\nfields.\n\nFor the \u0027wildcard\u0027 option if a user selected field is invalid for an event\ntype, a message is displayed to the user that the option is ignored for that\ntype. For example:\n\n  perf script -f comm,tid,trace 2\u003e\u00261 | less\n  \u0027trace\u0027 not valid for hardware events. Ignoring.\n  \u0027trace\u0027 not valid for software events. Ignoring.\n\nAlternatively, if the type is given an invalid field is specified it is an\nerror. For example:\n\n    perf script -v -f sw:comm,tid,trace 2\u003e\u00261 | less\n    \u0027trace\u0027 not valid for software events.\n\nAt this point usage is displayed, and perf-script exits.\n\nFinally, a user may not set fields to none for all event types.\ni.e., -f \"\" is not allowed.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: linux-kernel@vger.kernel.org\nLPU-Reference: \u003c1300377801-27246-1-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "9e69c210822c4035708a6111567c96364ca244d5",
      "tree": "3bae4b7f4309ec18bf4628b81cf85bb1570f6a31",
      "parents": [
        "880f57318450dbead6a03f9e31a1468924d6dd88"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Mar 15 15:44:01 2011 -0300"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Mar 23 19:28:58 2011 -0300"
      },
      "message": "perf session: Pass evsel in event_ops-\u003esample()\n\nResolving the sample-\u003eid to an evsel since the most advanced tools,\nreport and annotate, and the others will too when they evolve to\nproperly support multi-event perf.data files.\n\nGood also because it does an extra validation, checking that the ID is\nvalid when present. When that is not the case, the overhead is just a\nbranch + function call (perf_evlist__id2evsel).\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "1424dc96807909438282663079adc7f27c10b4a5",
      "tree": "1201a9cbe3bf34584f67ea3ddeef3c93bcd5ecc6",
      "parents": [
        "c0230b2bfbd16e42d937c34aed99e5d6493eb5e4"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Mar 09 22:23:28 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Mar 14 17:07:20 2011 -0300"
      },
      "message": "perf script: Add support for H/W and S/W events\n\nCustom fields set for each type by prepending field argument with type.\nFor file with multiple event types (e.g., trace and S/W) display of an\nevent type suppressed by setting output fields to \"\".\n\ne.g.,\nperf record -ga -e sched:sched_switch -e cpu-clock -c 10000000 -R -- sleep 1\nperf script\n\nopenssl 11496 [000]  9711.807107: cpu-clock-msecs:\n        ffffffff810c22dc arch_local_irq_restore ([kernel.kallsyms])\n        ffffffff810c518c __alloc_pages_nodemask ([kernel.kallsyms])\n        ffffffff810297b2 pte_alloc_one ([kernel.kallsyms])\n        ffffffff810d8b98 __pte_alloc ([kernel.kallsyms])\n        ffffffff810daf07 handle_mm_fault ([kernel.kallsyms])\n        ffffffff8138763a do_page_fault ([kernel.kallsyms])\n        ffffffff81384a65 page_fault ([kernel.kallsyms])\n            7f6130507d70 asn1_check_tlen (/lib64/libcrypto.so.1.0.0c)\n                       0  ()\n\n         openssl 11496 [000]  9711.808042: sched_switch: prev_comm\u003dopenssl ...\n     kworker/0:0     4 [000]  9711.808067: sched_switch: prev_comm\u003dkworker/...\n         swapper     0 [001]  9711.808090: sched_switch: prev_comm\u003dkworker/...\n            sshd 11451 [001]  9711.808185: sched_switch: prev_comm\u003dsshd pre...\nswapper     0 [001]  9711.816155: cpu-clock-msecs:\n        ffffffff81023609 native_safe_halt ([kernel.kallsyms])\n        ffffffff8100132a cpu_idle ([kernel.kallsyms])\n        ffffffff8137cf9b start_secondary ([kernel.kallsyms])\n\nopenssl 11496 [000]  9711.817104: cpu-clock-msecs:\n            7f61304ad723 AES_cbc_encrypt (/lib64/libcrypto.so.1.0.0c)\n            7fff3402f950  ()\n        12f0debc9a785634  ()\n\nswapper     0 [001]  9711.826155: cpu-clock-msecs:\n        ffffffff81023609 native_safe_halt ([kernel.kallsyms])\n        ffffffff8100132a cpu_idle ([kernel.kallsyms])\n        ffffffff8137cf9b start_secondary ([kernel.kallsyms])\n\nTo suppress trace events within the file and use default output for S/W events:\nperf script -f trace:\n\nor to suppress S/W events and do default display for trace events:\nperf script -f sw:\n\nCustom field selections:\nperf script -f sw:comm,tid,time -f trace:time,trace\n\n         openssl 11496  9711.797162:\n         swapper     0  9711.807071:\n         openssl 11496  9711.807107:\n 9711.808042: prev_comm\u003dopenssl prev_pid\u003d11496 prev_prio\u003d120 prev_state\u003dR ...\n 9711.808067: prev_comm\u003dkworker/0:0 prev_pid\u003d4 prev_prio\u003d120 prev_state\u003dS ...\n 9711.808090: prev_comm\u003dkworker/0:0 prev_pid\u003d0 prev_prio\u003d120 prev_state\u003dR ...\n 9711.808185: prev_comm\u003dsshd prev_pid\u003d11451 prev_prio\u003d120 prev_state\u003dS \u003d\u003d\u003e...\n         swapper     0  9711.816155:\n         openssl 11496  9711.817104:\n         swapper     0  9711.826155:\n\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1299734608-5223-7-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "c0230b2bfbd16e42d937c34aed99e5d6493eb5e4",
      "tree": "352cbe720b4b0bbe65c302c4a3977e21ba722a78",
      "parents": [
        "745f43e3433a7939bd9c351c8106e0c1db2044c6"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Mar 09 22:23:27 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Mar 14 17:06:50 2011 -0300"
      },
      "message": "perf script: Add support for dumping symbols\n\nAdd option to dump symbols found in events.\n\ne.g., perf script -f comm,pid,tid,time,trace,sym\n\nswapper     0/0       537.037184: prev_comm\u003dswapper prev_pid\u003d0 prev_prio\u003d120...\n        ffffffff81030350 perf_trace_sched_switch ([kernel.kallsyms])\n        ffffffff81382ac5 schedule ([kernel.kallsyms])\n        ffffffff8100134a cpu_idle ([kernel.kallsyms])\n        ffffffff81370b39 rest_init ([kernel.kallsyms])\n        ffffffff81696c23 start_kernel ([kernel.kallsyms].init.text)\n        ffffffff816962af x86_64_start_reservations ([kernel.kallsyms].init.text)\n        ffffffff816963b9 x86_64_start_kernel ([kernel.kallsyms].init.text)\n\nsshd  1675/1675    537.037309: prev_comm\u003dsshd prev_pid\u003d1675 prev_prio\u003d120...\n        ffffffff81030350 perf_trace_sched_switch ([kernel.kallsyms])\n        ffffffff81382ac5 schedule ([kernel.kallsyms])\n        ffffffff813837aa schedule_hrtimeout_range_clock ([kernel.kallsyms])\n        ffffffff81383886 schedule_hrtimeout_range ([kernel.kallsyms])\n        ffffffff8110c4f9 poll_schedule_timeout ([kernel.kallsyms])\n        ffffffff8110cd20 do_select ([kernel.kallsyms])\n        ffffffff8110ced8 core_sys_select ([kernel.kallsyms])\n        ffffffff8110d00d sys_select ([kernel.kallsyms])\n        ffffffff81002bc2 system_call ([kernel.kallsyms])\n            7f1647e56e93 __GI_select (/lib64/libc-2.12.90.so)\n\nnetstat  1692/1692    537.038664: prev_comm\u003dnetstat prev_pid\u003d1692 prev_prio\u003d...\n        ffffffff81030350 perf_trace_sched_switch ([kernel.kallsyms])\n        ffffffff81382ac5 schedule ([kernel.kallsyms])\n        ffffffff81002c3a sysret_careful ([kernel.kallsyms])\n            7f7a6cd1b210 __GI___libc_read (/lib64/libc-2.12.90.so)\n\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1299734608-5223-6-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "745f43e3433a7939bd9c351c8106e0c1db2044c6",
      "tree": "68955a0bd5e4d179194bf3296c946e5bf745dae8",
      "parents": [
        "c70c94b47405d2c94df19c16273daf1f5fb9193d"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Mar 09 22:23:26 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Mar 14 17:06:16 2011 -0300"
      },
      "message": "perf script: Support custom field selection for output\n\nAllow a user to select which fields to print to stdout for event data.\nOptions include comm (command name), tid (thread id), pid (process id),\ntime (perf timestamp), cpu, event (for event name), and trace (for\ntrace data).\n\nDefault is set to maintain compatibility with current output; this\nfeature does alter output format slightly -- no \u0027-\u0027 between command\nand pid/tid.\n\nThanks to Frederic Weisbecker for detailed suggestions on this approach.\n\nExamples (output compressed)\n\n1. trace, default format\n\nperf record -ga -e sched:sched_switch\nperf script\n\nswapper    0 [000] 537.037184: sched_switch: prev_comm\u003dswapper prev_pid\u003d0...\n   sshd 1675 [000] 537.037309: sched_switch: prev_comm\u003dsshd prev_pid\u003d1675...\nnetstat 1692 [001] 537.038664: sched_switch: prev_comm\u003dnetstat prev_pid\u003d1692...\n\n2. trace, custom format\n\nperf record -ga -e sched:sched_switch\nperf script -f comm,pid,time,trace     \u003c--- omitting cpu and event name\n\nswapper    0 537.037184: prev_comm\u003dswapper prev_pid\u003d0 prev_prio\u003d120 ...\n   sshd 1675 537.037309: prev_comm\u003dsshd prev_pid\u003d1675 prev_prio\u003d120 ...\nnetstat 1692 537.038664: prev_comm\u003dnetstat prev_pid\u003d1692 prev_prio\u003d120 ...\n\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1299734608-5223-5-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "c70c94b47405d2c94df19c16273daf1f5fb9193d",
      "tree": "44e1f7bb1752bfde03e65b1435a4172a6d67a0d2",
      "parents": [
        "2ee7a49f935b19f7daf0a110800488acd2479cba"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Mar 09 22:23:25 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Mar 14 17:05:55 2011 -0300"
      },
      "message": "perf script: Move printing of \u0027common\u0027 data from print_event and rename\n\nThis change does impact output: latency data is trace specific and is\nnow printed after the common data - comm, tid, cpu, time and event name.\n\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1299734608-5223-4-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "be6d842a65babc54e2b204b382df2529e304be48",
      "tree": "d8f3c9fb9f1457dcfa782102d2b27e0212bad009",
      "parents": [
        "cfd748ae066e776d45bdce550b47cd00c67d55de"
      ],
      "author": {
        "name": "David Ahern",
        "email": "daahern@cisco.com",
        "time": "Wed Mar 09 22:23:23 2011 -0700"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Mar 14 17:05:50 2011 -0300"
      },
      "message": "perf script: Change process_event prototype\n\nPrepare for handling of samples for any event type.\n\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1299734608-5223-2-git-send-email-daahern@cisco.com\u003e\nSigned-off-by: David Ahern \u003cdaahern@cisco.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "8115d60c323dd9931b95221c0a392aeddc1d6ef3",
      "tree": "13e75d71c5163c78efc9d8ab33988cc6c7be74a1",
      "parents": [
        "8d50e5b4171a69cf48ca94a1e7c14033d0b4771d"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 29 14:01:45 2011 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 29 16:25:37 2011 -0200"
      },
      "message": "perf tools: Kill event_t typedef, use \u0027union perf_event\u0027 instead\n\nAnd move the event_t methods to the perf_event__ too.\n\nNo code changes, just namespace consistency.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "8d50e5b4171a69cf48ca94a1e7c14033d0b4771d",
      "tree": "6ebf659f92f0770917c7f47c24449ebfe048ce61",
      "parents": [
        "93fc64f14472ae24fd640bf3834a178f59142842"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 29 13:02:00 2011 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 29 16:25:20 2011 -0200"
      },
      "message": "perf tools: Rename \u0027struct sample_data\u0027 to \u0027struct perf_sample\u0027\n\nMaking the namespace more uniform.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "9486aa38771661e96fbb51c549b9901b5df609d8",
      "tree": "72cecbff0cb5124c960feeec3a6ac1fff75c649a",
      "parents": [
        "57b84e53171ce672683faf1cab2e660965a6bdaf"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 22 20:37:02 2011 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Jan 22 23:41:57 2011 -0200"
      },
      "message": "perf tools: Fix 64 bit integer format strings\n\nUsing %L[uxd] has issues in some architectures, like on ppc64.  Fix it\nby making our 64 bit integers typedefs of stdint.h types and using\nPRI[ux]64 like, for instance, git does.\n\nReported by Denis Kirjanov that provided a patch for one case, I went\nand changed all cases.\n\nReported-by: Denis Kirjanov \u003cdkirjanov@kernel.org\u003e\nTested-by: Denis Kirjanov \u003cdkirjanov@kernel.org\u003e\nLKML-Reference: \u003c20110120093246.GA8031@hera.kernel.org\u003e\nCc: Denis Kirjanov \u003cdkirjanov@kernel.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Pingtian Han \u003cphan@redhat.com\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "eccdfe2d245a882feacc4630c9bc29805e9929c8",
      "tree": "f89d85a9c56dac2cfc96b3c0f3ec045bc706177b",
      "parents": [
        "6d8afb56300c53a250c6de0f973ef502e54aabf3"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Jan 04 16:32:52 2011 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Jan 05 14:53:59 2011 -0200"
      },
      "message": "perf script: Make some lists static\n\nNot accessed outside builtin-script, so make them static.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "6d8afb56300c53a250c6de0f973ef502e54aabf3",
      "tree": "d184ba187d150ac84f53190b44be021b92e38829",
      "parents": [
        "1109599458c06256064213dc44ca5f5fa8ee3833"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Jan 04 16:27:30 2011 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Jan 05 14:53:43 2011 -0200"
      },
      "message": "perf script: Use the default lost event handler\n\nThat already does what was being done here. The warning is now unconditionally\ngiven by __perf_session__process_pipe_events, just like for non pipe processing.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "ce0ac9e1851364fa67c991659ce1db05ab82c6ae",
      "tree": "af460ad0c8e6cd30728ee025dbcf77c0aaea189c",
      "parents": [
        "a43d3f08c64125edbdfdc3d3aa512d3e37321f37"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Dec 25 18:33:12 2010 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Dec 25 18:33:12 2010 -0200"
      },
      "message": "perf script: Fix event ordering settings to work with older kernels\n\nIf we don\u0027t use .ordering_requires_timestamps we\u0027ll end up trying to order\nevents with no timestamps when running on older kernels.\n\nProblem introduced in eac23d1c.\n\nAfter the last three fixes, perf scripting is back working, tested with\nnew perf userspace on old and new (with sample_id_all) kernels.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ian Munsie \u003cimunsie@au1.ibm.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Torok Edwin \u003cedwintorok@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "21ef97f05a7da5bc23b26cb34d6746f83ca9bf20",
      "tree": "c47c09c178f7929f01dcb7b302ceed21f3758ded",
      "parents": [
        "7639dae0ca11038286bbbcda05f2bef601c1eb8d"
      ],
      "author": {
        "name": "Ian Munsie",
        "email": "imunsie@au1.ibm.com",
        "time": "Fri Dec 10 14:09:16 2010 +1100"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Dec 21 20:17:51 2010 -0200"
      },
      "message": "perf session: Fallback to unordered processing if no sample_id_all\n\nIf we are running the new perf on an old kernel without support for\nsample_id_all, we should fall back to the old unordered processing of\nevents. If we didn\u0027t than we would *always* process events without\ntimestamps out of order, whether or not we hit a reordering race. In\nother words, instead of there being a chance of not attributing samples\ncorrectly, we would guarantee that samples would not be attributed.\n\nWhile processing all events without timestamps before events with\ntimestamps may seem like an intuitive solution, it falls down as\nPERF_RECORD_EXIT events would also be processed before any samples.\nEven with a workaround for that case, samples before/after an exec would\nnot be attributed correctly.\n\nThis patch allows commands to indicate whether they need to fall back to\nunordered processing, so that commands that do not care about timestamps\non every event will not be affected. If we do fallback, this will print\nout a warning if report -D was invoked.\n\nThis patch adds the test in perf_session__new so that we only need to\ntest once per session. Commands that do not use an event_ops (such as\nrecord and top) can simply pass NULL in it\u0027s place.\n\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1291951882-sup-6069@au1.ibm.com\u003e\nSigned-off-by: Ian Munsie \u003cimunsie@au1.ibm.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "965bb6beaf70862d3846e330ea7a14996d82c499",
      "tree": "e4a24575429fd2432ef75fdb25d94f7e4d91b6cc",
      "parents": [
        "cbf41645f35224798cb61641766e6a16e141ffe4"
      ],
      "author": {
        "name": "Stephane Eranian",
        "email": "eranian@google.com",
        "time": "Fri Dec 03 17:52:01 2010 +0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Dec 06 12:44:27 2010 -0200"
      },
      "message": "perf script: Fix compiler warning in builtin_script.c:is_top_script()\n\nFix annoying compiler warning in the is_top_script() function.\n\nThe issue was that a const char * was cast into a char * to call\nends_with(). We fix the users of ends_with() instead. Some are passing a\nchar *, but it is okay to cast the return value of ends_with() to char *\n(because we understand what ends_with() does).\n\nCc: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Robert Richter \u003crobert.richter@amd.com\u003e\nCc: Stephane Eranian \u003ceranian@gmail.com\u003e\nLKML-Reference: \u003c4cf92096.17edd80a.1540.5d60@mx.google.com\u003e\nSigned-off-by: Stephane Eranian \u003ceranian@google.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "640c03ce837fe8d4b56342aba376ea0da3960459",
      "tree": "e954290ccacf032ab4d9052eac01710fda1b7fab",
      "parents": [
        "c980d1091810df13f21aabbce545fd98f545bbf7"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Dec 02 14:10:21 2010 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Dec 04 23:05:19 2010 -0200"
      },
      "message": "perf session: Parse sample earlier\n\nAt perf_session__process_event, so that we reduce the number of lines in eache\ntool sample processing routine that now receives a sample_data pointer already\nparsed.\n\nThis will also be useful in the next patch, where we\u0027ll allow sample the\nidentity fields in MMAP, FORK, EXIT, etc, when it will be possible to see (cpu,\ntimestamp) just after before every event.\n\nAlso validate callchains in perf_session__process_event, i.e. as early as\npossible, and keep a counter of the number of events discarded due to invalid\ncallchains, warning the user about it if it happens.\n\nThere is an assumption that was kept that all events have the same sample_type,\nthat will be dealt with in the future, when this preexisting limitation will be\nremoved.\n\nTested-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nReviewed-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nAcked-by: Ian Munsie \u003cimunsie@au1.ibm.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ian Munsie \u003cimunsie@au1.ibm.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: Stephane Eranian \u003ceranian@google.com\u003e\nLKML-Reference: \u003c1291318772-30880-4-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "b3d006c0e745bfd2dab4984ffe3279d5cf4e926a",
      "tree": "4d1e831872d397cc5bb9cdab6c0e239a0080909c",
      "parents": [
        "4c635a4e04700a371ef7e4d4bb33ed88747e801e",
        "133dc4c39c57eeef2577ca5b4ed24765b7a78ce2"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 01 09:18:12 2010 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 01 09:22:19 2010 +0100"
      },
      "message": "Merge branch \u0027perf/rename\u0027 into perf/core\n\nMerge reason: This is an older commit under testing that was not pushed yet - merge it.\n\nAlso fix up the merge in command-list.txt.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nAcked-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\n"
    },
    {
      "commit": "133dc4c39c57eeef2577ca5b4ed24765b7a78ce2",
      "tree": "88309b8336fccfd8fea52a5c1e107d6ca2060a39",
      "parents": [
        "e53beacd23d9cb47590da6a7a7f6d417b941a994"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Nov 16 18:45:39 2010 +0100"
      },
      "committer": {
        "name": "Thomas Gleixner",
        "email": "tglx@linutronix.de",
        "time": "Tue Nov 16 19:37:44 2010 +0100"
      },
      "message": "perf: Rename \u0027perf trace\u0027 to \u0027perf script\u0027\n\nFree the perf trace name space and rename the trace to \u0027script\u0027 which is a\nbetter match for the scripting engine.\n\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n"
    },
    {
      "commit": "7e55055e5bb00085051ca59c570c83a820e1e0ee",
      "tree": "20684d0f272e2999c597cc8376592a75b297fa37",
      "parents": [
        "d3c4f798ac4b7337b417467f36f4b2e6dcb49240"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:20:45 2010 -0600"
      },
      "committer": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:20:45 2010 -0600"
      },
      "message": "perf trace: update usage\n\nUpdate usage to reflect the different perf trace variants.\n\nSigned-off-by: Tom Zanussi \u003ctom.zanussi@linux.intel.com\u003e\nAcked-by: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\n"
    },
    {
      "commit": "b5b8731219ddd007c229feacbfe745d1be070e6a",
      "tree": "c9e5b7bf73da3a963664d28dbc7ed25c1f313aee",
      "parents": [
        "34c86ea97ed811bb40ee4db63f710eb522162c77"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:16:51 2010 -0600"
      },
      "committer": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:16:51 2010 -0600"
      },
      "message": "perf trace: live-mode command-line cleanup\n\nThis patch attempts to make the perf trace command-line for live-mode\ncommands more user-friendly and consistent with other perf commands.\n\nThe main change it makes is to allow \u003ccommands\u003e to be run as part of\nperf trace live-mode commands, as other perf commands do, instead of\nthe system-wide traces they\u0027re currently hard-coded to by the shell\nscripts.\n\nWith this patch, the following live-mode trace now works as expected:\n\n $ perf trace rw-by-pid ls -al\n\nThe previous system-wide behavior for this command would still be\navailable by explicitly specifying -a:\n\n $ perf trace rw-by-pid -a ls -al\n\nand if no \u003ccommand\u003e is specified, the output is also system-wide:\n\n $ perf trace rw-by-pid\n\nBecause live-mode requires both record and report steps to be invoked,\nit isn\u0027t always possible to know which args to send to the report and\nwhich to send to the record steps - mainly this is the case for report\nscripts with optional args - in those cases it would be necessary to\nuse separate \u0027perf trace record\u0027 and \u0027perf trace report\u0027 steps.\n\nFor example:\n\n $ perf trace syscall-counts ls\n\nHere we can\u0027t decide whether ls should be passed as a param to the\nsyscall-counts script or whether we should invoke ls as a \u003ccommand\u003e.\nIn these cases, we just say that we\u0027ll ignore optional script params\nand always interpret the extra arguments as a \u003ccommand\u003e.\n\nIf the user instead wants the other interpretation, that can be\naccomplished by using separate record and report commands explicitly:\n\n $ perf trace record syscall-counts\n $ perf trace report syscall-counts ls\n\nSo the rules that this patch implements, which seem to make the most\nintuitive sense for live-mode commands:\n\n- for commands with optional args and commands with no args, no args\n  are sent to the report script, all are sent to the record step\n\n- for \u0027top\u0027 commands i.e. that end with \u0027top\u0027, \u003ccommands\u003e can\u0027t be\n  used - all extra args are send to the report script as params\n\n- for commands with required args, the n required args are taken to be\n  the first n args after the script name and sent to the report\n  script, and the rest are sent to the record step\n\nSigned-off-by: Tom Zanussi \u003ctom.zanussi@linux.intel.com\u003e\nAcked-by: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\n"
    },
    {
      "commit": "34c86ea97ed811bb40ee4db63f710eb522162c77",
      "tree": "c1236cd3272988ed78ad827c14dd2769e13c0b26",
      "parents": [
        "bca647aac5067fec8dfcbf8ddb79a4c0d5afdfdd"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:15:43 2010 -0600"
      },
      "committer": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 08:15:43 2010 -0600"
      },
      "message": "perf trace record: handle commands correctly\n\nBecause the perf-trace shell scripts hard-coded the use of the\nperf-record system-wide param, a perf trace record session was always\nsystem wide, even if it was given a command.\n\nIf given a command, perf trace record now only records the events for\nthe command, as users expect.\n\nIf no command is given, or if the \u0027-a\u0027 option is used, the recorded\nevents are system-wide, as before.\n\nroot@tropicana:~# perf trace record syscall-counts ls -al\nroot@tropicana:~# perf trace\n              ls-23152 [000] 39984.890387: sys_enter: NR 12 (0, 0, 0, 0, 0, 0)\n              ls-23152 [000] 39984.890404: sys_enter: NR 9 (0, 0, 0, 0, 0, 0)\n\nroot@tropicana:~# perf trace record syscall-counts -a ls -al\nroot@tropicana:~# perf trace\n    npviewer.bin-22297 [000] 39831.102709: sys_enter: NR 168 (0, 0, 0, 0, 0, 0)\n              ls-23111 [000] 39831.107679: sys_enter: NR 59 (0, 0, 0, 0, 0, 0)\n\nSigned-off-by: Tom Zanussi \u003ctom.zanussi@linux.intel.com\u003e\nAcked-by: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\n"
    },
    {
      "commit": "e8719adf30c136319a77824d032b3a185148f8f9",
      "tree": "55773bb481e65568be3093aaf205303d3f01592d",
      "parents": [
        "01797c599816d39dfea47864c0f90cd50845811f"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 07:52:32 2010 -0600"
      },
      "committer": {
        "name": "Tom Zanussi",
        "email": "tom.zanussi@linux.intel.com",
        "time": "Wed Nov 10 07:52:32 2010 -0600"
      },
      "message": "perf trace scripting: fix some small memory leaks and missing error checks\n\nFree the other two fields of script_desc which somehow got overlooked,\nfree malloc\u0027ed args in case exec fails, and add missing checks for\nfailed mallocs.\n\nSigned-off-by: Tom Zanussi \u003ctom.zanussi@linux.intel.com\u003e\nAcked-by: Arnaldo Carvalho de Melo \u003cacme@ghostprotocols.net\u003e\n"
    },
    {
      "commit": "b44308f54062a4c1dee2602946f481f03739b76d",
      "tree": "d94e0f700473e418d967051b71e052277e9fbd08",
      "parents": [
        "0ab7368f8dad561b6164b3e942cab00f9565bd37"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Oct 26 15:20:09 2010 -0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Oct 26 15:20:09 2010 -0200"
      },
      "message": "perf scripting: Shut up \u0027perf record\u0027 final status\n\nWe want just the script output, not internal details about the record phase.\n\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "d1e95bb5309f98368dd4fbef6ff3a8f573b24506",
      "tree": "08ab235d89d8caf267263c133b5ad27801b494de",
      "parents": [
        "44e668c6faa9a6c477a32788e7e88f0754c54a4e"
      ],
      "author": {
        "name": "Ben Hutchings",
        "email": "ben@decadent.org.uk",
        "time": "Sun Oct 10 16:11:02 2010 +0100"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Oct 23 15:31:20 2010 -0200"
      },
      "message": "perf trace: Fix detection of script extension\n\nThe extension starts with the last dot in the name, not the first.\n\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003c1286723462.2955.206.camel@localhost\u003e\nSigned-off-by: Ben Hutchings \u003cben@decadent.org.uk\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "44e668c6faa9a6c477a32788e7e88f0754c54a4e",
      "tree": "59f100bc808cdd232d0896b348144e6482a4ca76",
      "parents": [
        "ffec516976f64b4e3e59ba1bb8a5020008cc678a"
      ],
      "author": {
        "name": "Ben Hutchings",
        "email": "ben@decadent.org.uk",
        "time": "Sun Oct 10 16:10:03 2010 +0100"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sat Oct 23 15:31:20 2010 -0200"
      },
      "message": "perf trace: Use $PERF_EXEC_PATH in canned report scripts\n\nSet $PERF_EXEC_PATH before starting the record and report scripts, and\nmake them use it where necessary.\n\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLKML-Reference: \u003c1286723403.2955.205.camel@localhost\u003e\nSigned-off-by: Ben Hutchings \u003cben@decadent.org.uk\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "b7eead86d2951dab733d36554e8166a2a91d7363",
      "tree": "b8ab87603885420c78665d98fc65dcc30251bee1",
      "parents": [
        "7935f65f77e1cd19fe0a094fc1b34e258565751e"
      ],
      "author": {
        "name": "Andrea Gelmini",
        "email": "andrea.gelmini@gelma.net",
        "time": "Thu Aug 05 15:51:38 2010 +0200"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Aug 05 19:38:02 2010 -0300"
      },
      "message": "perf trace: Clean up #includes\n\nRemoved duplicated #includes util/trace-event.h and\nutil/exec_cmd.h.\nGrouped and sorted all the #includes.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1281016299-23958-14-git-send-email-andrea.gelmini@gelma.net\u003e\nSigned-off-by: Andrea Gelmini \u003candrea.gelmini@gelma.net\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "ffabd99e051e73344efe4e53d58f11643f180512",
      "tree": "89de8034980b80c05982b0854f31bb42a53ff1f0",
      "parents": [
        "6fcf7ddbb73d677b3bb7b16f0fff1419cb8349e9"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu May 27 16:27:47 2010 +0200"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Jun 24 23:36:23 2010 +0200"
      },
      "message": "perf: Report lost events in perf trace debug mode\n\nAccount and report lost events in perf trace debugging mode,\nuseful to check the reliability of the traces.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\n"
    },
    {
      "commit": "6fcf7ddbb73d677b3bb7b16f0fff1419cb8349e9",
      "tree": "03d0135d2857251361bc3c1bdd728146ce9f6e94",
      "parents": [
        "aa59a48596d8358a908bfb458300b5625cd47785"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu May 27 15:46:25 2010 +0200"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Jun 24 23:36:05 2010 +0200"
      },
      "message": "perf: Don\u0027t print traces when debugging ordering\n\nErrors due to ordering bugs are easily lost in the middle\nof traces.\n\nWhen we are in this mode, don\u0027t print the traces so that\nwe don\u0027t miss the debugging messages.\nBut display a comforting message if we didn\u0027t encounter any\nordering problem.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\n"
    },
    {
      "commit": "cee75ac7ecc27084accdb9d9d6fde65a09f047ae",
      "tree": "686208e18b1ab5356658980ee92c96486384412e",
      "parents": [
        "c8446b9bdabcb0caa61bb341bd73c58f7104b503"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri May 14 13:16:55 2010 -0300"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri May 14 13:16:55 2010 -0300"
      },
      "message": "perf hist: Clarify events_stats fields usage\n\nThe events_stats.total field is too generic, rename it to .total_period,\nand also add a comment explaining that it is the sum of all the .period\nfields in samples, that is needed because we use auto-freq to avoid\nsampling artifacts.\n\nDitto for events_stats.lost, that is the sum of all lost_event.lost\nfields, i.e. the number of events the kernel dropped.\n\nLooking at the users, builtin-sched.c can make use of these fields and\nstop doing it again.\n\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "3824a4e8da9791f4eed99d69bfcdb3b42f440426",
      "tree": "970679392b4f1372f0d5c8a19c83f96a1101d646",
      "parents": [
        "a3412d9b358d37fce4527fd67ea601635f2b9496"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Sun May 09 23:46:57 2010 -0500"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon May 10 19:50:59 2010 -0300"
      },
      "message": "perf/trace/scripting: don\u0027t show script start/stop messages by default\n\nOnly print the script start/stop messages in verbose mode - users\nnormally don\u0027t care and it just clutters up the output.\n\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nLKML-Reference: \u003c1273466820-9330-7-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "1c02c4d2e92f2097f1bba63ec71560b0e05a7f36",
      "tree": "ad2a722931398ce3cd3ae850c4cfa148558a52ea",
      "parents": [
        "d118f8ba6ac2af2bf11d40cba657c813f0f39ca2"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon May 10 13:04:11 2010 -0300"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon May 10 13:13:49 2010 -0300"
      },
      "message": "perf hist: Introduce hists class and move lots of methods to it\n\nIn cbbc79a we introduced support for multiple events by introducing a\nnew \"event_stat_id\" struct and then made several perf_session methods\nreceive a point to it instead of a pointer to perf_session, and kept the\nevent_stats and hists rb_tree in perf_session.\n\nWhile working on the new newt based browser, I realised that it would be\nbetter to introduce a new class, \"hists\" (short for \"histograms\"),\nrenaming the \"event_stat_id\" struct and the perf_session methods that\nwere really \"hists\" methods, as they manipulate only struct hists\nmembers, not touching anything in the other perf_session members.\n\nOther optimizations, such as calculating the maximum lenght of a symbol\nname present in an hists instance will be possible as we add them,\navoiding a re-traversal just for finding that information.\n\nThe rationale for the name \"hists\" to replace \"event_stat_id\" is that we\nmay have multiple sets of hists for the same event_stat id, as, for\ninstance, the \u0027perf diff\u0027 tool has, so event stat id is not what\ncharacterizes what this struct and the functions that manipulate it do.\n\nCc: Eric B Munson \u003cebmunson@us.ibm.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "454c407ec17a0c63e4023ac0877d687945a7df4a",
      "tree": "1271299a59a89419c0dd4dcbf29b4492b63555ca",
      "parents": [
        "789688faef5b3ba78065beaf2f3d6f1c839f74a3"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Sat May 01 01:41:20 2010 -0500"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun May 02 13:36:56 2010 -0300"
      },
      "message": "perf: add perf-inject builtin\n\nCurrently, perf \u0027live mode\u0027 writes build-ids at the end of the\nsession, which isn\u0027t actually useful for processing live mode events.\n\nWhat would be better would be to have the build-ids sent before any of\nthe samples that reference them, which can be done by processing the\nevent stream and retrieving the build-ids on the first hit.  Doing\nthat in perf-record itself, however, is off-limits.\n\nThis patch introduces perf-inject, which does the same job while\nleaving perf-record untouched.  Normal mode perf still records the\nbuild-ids at the end of the session as it should, but for live mode,\nperf-inject can be injected in between the record and report steps\ne.g.:\n\nperf record -o - ./hackbench 10 | perf inject -v -b | perf report -v -i -\n\nperf-inject reads a perf-record event stream and repipes it to stdout.\nAt any point the processing code can inject other events into the\nevent stream - in this case build-ids (-b option) are read and\ninjected as needed into the event stream.\n\nBuild-ids are just the first user of perf-inject - potentially\nanything that needs userspace processing to augment the trace stream\nwith additional information could make use of this facility.\n\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c1272696080-16435-3-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    },
    {
      "commit": "e1889d75aff0c3786bc53aeb7d9eaca0691c19c5",
      "tree": "a7d3448ffe47bb806e9af85c6935fdc43c837eff",
      "parents": [
        "9df9bbba9f7e2e4ffdc51bbbfa524b67691321d2"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sat Apr 24 01:55:09 2010 +0200"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sat Apr 24 03:50:48 2010 +0200"
      },
      "message": "perf: Add a perf trace option to check samples ordering reliability\n\nTo ensure sample events time reordering is reliable, add a -d option\nto perf trace to check that automatically.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Hitoshi Mitake \u003cmitake@dcl.info.waseda.ac.jp\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\n"
    },
    {
      "commit": "e0a808c65c23f88e48a5fff48775b90e7919c64f",
      "tree": "32917c494f67d3fc87af6a1ef5e898d62bc7da76",
      "parents": [
        "587570d4cc3cac80da7d569bee9cea3ca104d60e"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sat Apr 24 00:38:33 2010 +0200"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Sat Apr 24 03:50:45 2010 +0200"
      },
      "message": "perf: Use generic sample reordering in perf trace\n\nUse the new generic sample events reordering from perf trace.\nBefore that, the displayed traces were ordered as they were\nin the input as recorded by perf record (not time ordered).\n\nThis makes eventually perf trace displaying the events as beeing\ntime ordered.\n\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Hitoshi Mitake \u003cmitake@dcl.info.waseda.ac.jp\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\n"
    },
    {
      "commit": "a0cccc2e8e9fb16cbed3a117b30e3fbac3092ee3",
      "tree": "0ded739033fb9f9c5ab4ea39bae9622538cd9371",
      "parents": [
        "00b21a01935892a2b97613f10300434998f45093"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:25 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:09 2010 +0200"
      },
      "message": "perf trace: Invoke live mode automatically if record/report not specified\n\nCurrently, live mode is invoked by explicitly invoking the\nrecord and report sides and connecting them with a pipe e.g.\n\n $ perf trace record rwtop -o - | perf trace report rwtop 5 -i -\n\nIn terms of usability, it\u0027s not that bad, but it does require\nthe user to type and remember more than necessary.\n\nThis patch allows the user to accomplish the same thing without\nspecifying the separate record/report steps or the pipe.  So the\nsame command as above can be accomplished more simply as:\n\n $ perf trace rwtop 5\n\nNotice that the \u0027-i -\u0027 and \u0027-o -\u0027 aren\u0027t required in this case -\nthey\u0027re added internally, and that any extra arguments are\npassed along to the report script (but not to the record\nscript).\n\nThe overall effect is that any of the scripts listed in \u0027perf\ntrace -l\u0027 can now be used directly in live mode, with the\nexpected arguments, by simply specifying the script and args to\n\u0027perf trace\u0027.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-12-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c7929e4727e8ff2d6fc8327188820e3b1c2f1dc3",
      "tree": "59f85cc7a5a381761f1583624f1ce2d62c060e5d",
      "parents": [
        "9215545e99d8c0b27323df2de504f4294bf5e407"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:22 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:08 2010 +0200"
      },
      "message": "perf: Convert perf header build_ids into build_id events\n\nBypasses the build_id perf header code and replaces it with a\nsynthesized event and processing function that accomplishes the\nsame thing, used when reading/writing perf data to/from a pipe.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-9-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "9215545e99d8c0b27323df2de504f4294bf5e407",
      "tree": "b53dde70374d2f8a8cd12c44c3637665e559cb16",
      "parents": [
        "cd19a035f3b63fee6dcbdb5371c4b22276f7dc8c"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:21 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:07 2010 +0200"
      },
      "message": "perf: Convert perf tracing data into a tracing_data event\n\nBypasses the tracing_data perf header code and replaces it with\na synthesized event and processing function that accomplishes\nthe same thing, used when reading/writing perf data to/from a\npipe.\n\nThe tracing data is pretty large, and this patch doesn\u0027t attempt\nto break it down into component events.  The tracing_data event\nitself doesn\u0027t actually contain the tracing data, rather it\narranges for the event processing code to skip over it after\nit\u0027s read, using the skip return value added to the event\nprocessing loop in a previous patch.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-8-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cd19a035f3b63fee6dcbdb5371c4b22276f7dc8c",
      "tree": "0d0f6ce913a070372854d524bca068032dd3ff8f",
      "parents": [
        "2c46dbb517a10b18d459e6ceffefde5bfb290cf6"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:20 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:07 2010 +0200"
      },
      "message": "perf: Convert perf event types into event type events\n\nBypasses the event type perf header code and replaces it with a\nsynthesized event and processing function that accomplishes the\nsame thing, used when reading/writing perf data to/from a pipe.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-7-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "2c46dbb517a10b18d459e6ceffefde5bfb290cf6",
      "tree": "20853decc73cd1fc69c2db7d8227d11cce6ee4de",
      "parents": [
        "c239da3b4b55dbb8f30bcb8d1a0d63fc44a567c3"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:19 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:07 2010 +0200"
      },
      "message": "perf: Convert perf header attrs into attr events\n\nBypasses the attr perf header code and replaces it with a\nsynthesized event and processing function that accomplishes the\nsame thing, used when reading/writing perf data to/from a pipe.\n\nMaking the attrs into events allows them to be streamed over a\npipe along with the rest of the header data (in later patches).\nIt also paves the way to allowing events to be added and removed\nfrom perf sessions dynamically.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-6-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c239da3b4b55dbb8f30bcb8d1a0d63fc44a567c3",
      "tree": "c7bbe718db4ff6bb82b2eac9870f5cbabdf8b988",
      "parents": [
        "46656ac7fb3252f8a3db29b18638e0e8067849ba"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Thu Apr 01 23:59:18 2010 -0500"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:56:06 2010 +0200"
      },
      "message": "perf trace: Introduce special handling for pipe input\n\nAdds special treatment for stdin - if the user specifies \u0027-i -\u0027\nto perf trace, the intent is that the event stream be read from\nstdin rather than from a disk file.\n\nThe actual handling of the \u0027-\u0027 filename is done by the session;\nthis just adds a signal handler to stop reporting, and turns off\ninterference by the pager.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: k-keiichi@bx.jp.nec.com\nCc: acme@ghostprotocols.net\nLKML-Reference: \u003c1270184365-8281-5-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c05556421742eb47f80301767653a4bcb19de9de",
      "tree": "1e9c441a457acee41d2585e05692cc90c1d88be2",
      "parents": [
        "53e5b5c215ce8372250e227f2c9acf9892de8434"
      ],
      "author": {
        "name": "Ian Munsie",
        "email": "imunsie@au.ibm.com",
        "time": "Tue Apr 13 18:37:33 2010 +1000"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Apr 14 11:26:44 2010 +0200"
      },
      "message": "perf: Fix endianness argument compatibility with OPT_BOOLEAN() and introduce OPT_INCR()\n\nParsing an option from the command line with OPT_BOOLEAN on a\nbool data type would not work on a big-endian machine due to the\nmanner in which the boolean was being cast into an int and\nincremented. For example, running \u0027perf probe --list\u0027 on a\nPowerPC machine would fail to properly set the list_events bool\nand would therefore print out the usage information and\nterminate.\n\nThis patch makes OPT_BOOLEAN work as expected with a bool\ndatatype. For cases where the original OPT_BOOLEAN was\nintentionally being used to increment an int each time it was\npassed in on the command line, this patch introduces OPT_INCR\nwith the old behaviour of OPT_BOOLEAN (the verbose variable is\ncurrently the only such example of this).\n\nI have reviewed every use of OPT_BOOLEAN to verify that a true\nC99 bool was passed. Where integers were used, I verified that\nthey were only being used for boolean logic and changed them to\nbools to ensure that they would not be mistakenly used as ints.\nThe major exception was the verbose variable which now uses\nOPT_INCR instead of OPT_BOOLEAN.\n\nSigned-off-by: Ian Munsie \u003cimunsie@au.ibm.com\u003e\nAcked-by: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: \u003cstable@kernel.org\u003e # NOTE: wont apply to .3[34].x cleanly, please backport\nCc: Git development list \u003cgit@vger.kernel.org\u003e\nCc: Ian Munsie \u003cimunsie@au1.ibm.com\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\nCc: KOSAKI Motohiro \u003ckosaki.motohiro@jp.fujitsu.com\u003e\nCc: Hitoshi Mitake \u003cmitake@dcl.info.waseda.ac.jp\u003e\nCc: Rusty Russell \u003crusty@rustcorp.com.au\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Eric B Munson \u003cebmunson@us.ibm.com\u003e\nCc: Valdis.Kletnieks@vt.edu\nCc: WANG Cong \u003camwang@redhat.com\u003e\nCc: Thiago Farina \u003ctfransosi@gmail.com\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Xiao Guangrong \u003cxiaoguangrong@cn.fujitsu.com\u003e\nCc: Jaswinder Singh Rajput \u003cjaswinderrajput@gmail.com\u003e\nCc: Arjan van de Ven \u003carjan@linux.intel.com\u003e\nCc: OGAWA Hirofumi \u003chirofumi@mail.parknet.co.jp\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Anton Blanchard \u003canton@samba.org\u003e\nCc: John Kacur \u003cjkacur@redhat.com\u003e\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nLKML-Reference: \u003c1271147857-11604-1-git-send-email-imunsie@au.ibm.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cf4fee50282312528e1f8adf73b1831d1d6ae389",
      "tree": "f2157a75a4b4e30e4b6c747d5cc218ce61e92bd8",
      "parents": [
        "10c95f4f41889daaa8130e0bd12209825dbe8d39"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Mar 03 01:04:33 2010 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Mar 04 12:19:55 2010 +0100"
      },
      "message": "perf trace: Don\u0027t use pager if scripting\n\nIt\u0027s useful for paging through raw traces, but just gets in the\nway when scripting.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nLKML-Reference: \u003c1267599873-8193-3-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "10c95f4f41889daaa8130e0bd12209825dbe8d39",
      "tree": "7498ca6847199d32459944efb1dfaa5bd573f2f9",
      "parents": [
        "da7196e1f986c846ffa8b2ec385223fad38e8518"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Mar 03 01:04:32 2010 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Mar 04 12:19:54 2010 +0100"
      },
      "message": "perf trace/scripting: Remove extraneous header read\n\nperf_header__read() is already done in perf_session__open(), so\nremove it from the script gen case.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nLKML-Reference: \u003c1267599873-8193-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "7e4b21b84c43bb8a80b916e40718ca4ed1fc52e6",
      "tree": "cafeb2a119cfa4aad3252f8d9ad164b276153f3e",
      "parents": [
        "266fe2f217d1dc9f8041e395c0ab4569a5bad91a"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Jan 27 02:27:57 2010 -0600"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Thu Feb 25 04:07:29 2010 +0100"
      },
      "message": "perf/scripts: Add Python scripting engine\n\nAdd base support for Python scripting to perf trace.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: Keiichi KII \u003ck-keiichi@bx.jp.nec.com\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\nLKML-Reference: \u003c1264580883-15324-6-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\n"
    },
    {
      "commit": "f526d68b6ce9ba7a2bd94e663e240a022524c58a",
      "tree": "26b1477259ac0563ba90106a451e40aaa7904321",
      "parents": [
        "faa5c5c36ec50bf43e39c7798ce9701e6b002db3"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Jan 27 02:27:52 2010 -0600"
      },
      "committer": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Tue Feb 23 20:34:42 2010 +0100"
      },
      "message": "perf/scripts: Fix supported language listing option\n\n\u0027perf trace -s list\u0027 prints a list of the supported scripting\nlanguages.  One problem with it is that it falls through and prints\nthe trace as well.  The use of \u0027list\u0027 for this also makes it easy to\nconfuse with \u0027perf trace -l\u0027, used for listing available scripts.  So\nchange \u0027perf trace -s list\u0027 to \u0027perf trace -s lang\u0027 and fixes the\nfall-through problem.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: Keiichi KII \u003ck-keiichi@bx.jp.nec.com\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\nLKML-Reference: \u003c1264580883-15324-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\n"
    },
    {
      "commit": "408f0d18ba6b9bb447f807f621b2c9663c5cf638",
      "tree": "d5bd67efd985f2d4d15d8f0d6418e27f420bcff0",
      "parents": [
        "19fc2dedff448120a7aeaa3c136689c6b71777c6"
      ],
      "author": {
        "name": "Hitoshi Mitake",
        "email": "mitake@dcl.info.waseda.ac.jp",
        "time": "Fri Jan 22 22:45:29 2010 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Jan 27 13:01:34 2010 +0100"
      },
      "message": "perf trace: Add -i option for choosing input file\n\nperf trace lacks -i option for choosing input file.\nThis patch adds it to perf trace.\n\nSigned-off-by: Hitoshi Mitake \u003cmitake@dcl.info.waseda.ac.jp\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: \u003c1264167929-6741-1-git-send-email-mitake@dcl.info.waseda.ac.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0d755034dbd01e240eadf2d31f4f75d3088ccd21",
      "tree": "922b509d4bf2964ea369c8586f9f2931065e0191",
      "parents": [
        "66aeb6d5cb701aedd508187e08612bfd1e108e2e"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Thu Jan 14 12:23:09 2010 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Jan 16 10:58:45 2010 +0100"
      },
      "message": "perf tools: Don\u0027t cast RIP to pointers\n\nSince they can come from another architecture with bigger\npointers, i.e. processing a 64-bit perf.data on a 32-bit arch.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1263478990-8200-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "55aa640f54280da25046acd2075842d464f451e6",
      "tree": "ab9f390de0a7315bbcac3dc7105673d3eeb8c521",
      "parents": [
        "f7d87444e6ee6f4a19634e5412664c1c529a2370"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 27 21:37:05 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 28 09:03:35 2009 +0100"
      },
      "message": "perf session: Remove redundant prefix \u0026 suffix from perf_event_ops\n\nSince now all that we have are perf event handlers, leave just\nthe name of the event.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1261957026-15580-9-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d549c7690190d9739005e19604faad6da4b802ac",
      "tree": "1a03376ecc41ecd9495298ed3ad34f72da7ecea0",
      "parents": [
        "27295592c22e71bbd38110c302da8dbb43912a60"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 27 21:37:02 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 28 09:03:34 2009 +0100"
      },
      "message": "perf session: Remove sample_type_check from event_ops\n\nThis is really something tools need to do before asking for the\nevents to be processed, leaving perf_session__process_events to\ndo just that, process events.\n\nAlso add a msg parameter to perf_session__has_traces() so that\nthe right message can be printed, fixing a regression added by\nme in the previous cset (right timechart message) and also\nfixing \u0027perf kmem\u0027, that was not asking if \u0027perf kmem record\u0027\nwas ran.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1261957026-15580-6-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "27295592c22e71bbd38110c302da8dbb43912a60",
      "tree": "01442f9b788e3b0a01bc29e22a0e799e1c45c91d",
      "parents": [
        "4a58e61161074776aa34187ea369414ce4852394"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 27 21:37:01 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 28 09:03:33 2009 +0100"
      },
      "message": "perf session: Share the common trace sample_check routine as perf_session__has_traces\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1261957026-15580-5-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "0422a4fc2c6a41c3d4184984797512af2650014e",
      "tree": "9360c59733c31e1bbf160c4d089942c04082cfb4",
      "parents": [
        "b5b60fda1e462a849bc37dfbace2888191be82cc"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Dec 18 16:35:58 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Dec 18 20:01:52 2009 +0100"
      },
      "message": "perf diff: Fix usage array, it must end with a NULL entry\n\nFixing this:\n\n [acme@doppio linux-2.6-tip]$ perf diff --hell\n   Error: unknown option `hell\u0027\n\n  usage: perf diff [\u003coptions\u003e] [old_file] [new_file]\n Segmentation fault\n [acme@doppio linux-2.6-tip]$\n\nAlso go over the other such arrays to check if they all were OK,\nthey are, but there were some minor changes to do like making\none static and renaming another to match the command it refers\nto.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: 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\nLKML-Reference: \u003c1261161358-23959-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "655000e7c75a559681ee7f15f6fa870c80ae3194",
      "tree": "69a56e19c818b0929dbea8d119fa133853c5ee80",
      "parents": [
        "75be6cf48738aec68aac49b428423569492cfba3"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Dec 15 20:04:40 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 16 08:53:49 2009 +0100"
      },
      "message": "perf symbols: Adopt the strlists for dso, comm\n\nWill be used in perf diff too.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260914682-29652-2-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "75be6cf48738aec68aac49b428423569492cfba3",
      "tree": "d7f5ceb028361e8b725ba6f3b8219e66c7b89790",
      "parents": [
        "7ef17aafc98406d01ebbf7fe98ef1332b70d20bb"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Dec 15 20:04:39 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Dec 16 08:53:48 2009 +0100"
      },
      "message": "perf symbols: Make symbol_conf global\n\nThis simplifies a lot of functions, less stuff to be done by\ntool writers.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260914682-29652-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "3875294f5c0d7b9ef96ffc373d8a956ebd7c0c7f",
      "tree": "546faf7874c7147c0f30f2e393b14e481c6b5407",
      "parents": [
        "4b9c0c596ea826ef784eb83f663c5351ed01ba6d"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Dec 15 02:53:39 2009 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 15 10:31:33 2009 +0100"
      },
      "message": "perf trace/scripting: Add \u0027record\u0027 and \u0027report\u0027 options\n\nAllow scripts to be recorded/executed by simply specifying the\nscript root name (the script name minus extension) along with\n\u0027record\u0027 or \u0027report\u0027 to \u0027perf trace\u0027.\n\nThe script names shown by \u0027perf trace -l\u0027 can be directly used\nto run the command-line contained within the corresponding\n\u0027-record\u0027 and \u0027-report\u0027 versions of scripts in the scripts/*/bin\ndirectories.\n\nFor example, to record the trace data needed to run the\nwakeup-latency.pl script, the user can easily find the name of\nthe corresponding script from the script list and invoke it\nusing \u0027perf trace record\u0027, without having to remember the\ndetails of how to do the same thing using the lower-level perf\ntrace command-line options:\n\nroot@tropicana:~# perf trace -l\nList of available trace scripts:\n  workqueue-stats                      workqueue stats (ins/exe/create/destroy)\n  wakeup-latency                       system-wide min/max/avg wakeup latency\n  rw-by-file \u003ccomm\u003e                    r/w activity for a program, by file\n  check-perf-trace                     useless but exhaustive test script\n  rw-by-pid                            system-wide r/w activity\n\nroot@tropicana:~# perf trace record wakeup-latency\n^C[ perf record: Woken up 1 times to write data ]\n[ perf record: Captured and wrote 0.296 MB perf.data (~12931\nsamples) ]\n\nTo run the wakeup-latency.pl script using the captured data,\nchange \u0027record\u0027 to \u0027report\u0027 in the command-line:\n\nroot@tropicana:~# perf trace report wakeup-latency\n\nwakeup_latency stats:\n\ntotal_wakeups: 65\navg_wakeup_latency (ns): 22417\nmin_wakeup_latency (ns): 3470\nmax_wakeup_latency (ns): 223311\n\nperf trace Perl script stopped\n\nIf the script takes options, thay can be simply added to the end\nof the \u0027report\u0027 invocation:\n\nroot@tropicana:~# perf trace record rw-by-file\n^C[ perf record: Woken up 2 times to write data ]\n[ perf record: Captured and wrote 0.782 MB perf.data (~34171\nsamples) ]\n\nroot@tropicana:~# perf trace report rw-by-file perf\n\nfile read counts for perf:\n\n    fd     # reads  bytes_requested\n------  ----------  -----------\n   122        1934     1980416\n   120           1          32\n\nfile write counts for perf:\n\n    fd    # writes  bytes_written\n------  ----------  -----------\n     3        4006      280568\n\nperf trace Perl script stopped\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nLKML-Reference: \u003c1260867220-15699-6-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4b9c0c596ea826ef784eb83f663c5351ed01ba6d",
      "tree": "8e22badb64e744d61d2ed4f6d12a0ebeb05a61c3",
      "parents": [
        "8f11d85a0e7e9025acea7493e6864089c8b52f42"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Dec 15 02:53:38 2009 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 15 10:31:32 2009 +0100"
      },
      "message": "perf trace/scripting: List available scripts\n\nLists the available perf trace scripts, one per line e.g.:\n\nroot@tropicana:~# perf trace -l\nList of available trace scripts:\n  workqueue-stats                      workqueue stats (ins/exe/create/destroy)\n  wakeup-latency                       system-wide min/max/avg wakeup latency\n  rw-by-file \u003ccomm\u003e                    r/w activity for a program, by file\n  check-perf-trace                     useless but exhaustive test script\n  rw-by-pid                            system-wide r/w activity\n\nTo be consistent with the other listing options in perf, the\ncurrent latency trace option was changed to \u0027-L\u0027, and \u0027-l\u0027 is\nnow used to access the script listing as:\n\nTo create the list, it searches each scripts/*/bin directory for\nfiles ending with \"-report\" and reads information found in\ncertain comment lines contained in those shell scripts:\n\n  - if the comment line starts with \"description:\", the rest of the\n    line is used as a \u0027half-line\u0027 description.  To keep each line in\n    the list to a single line, the description should be limited to 40\n    characters (the rest of the line contains the script name and\n    args)\n\n  - if the comment line starts with \"args:\", the rest of the line\n    names the args the script supports.  Required args should be\n    surrounded by \u003c\u003e brackets, optional args by [] brackets.\n\nThe current scripts in scripts/perl/bin have also been updated\nwith description: and args: comments.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nLKML-Reference: \u003c1260867220-15699-5-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "586bc5cce88be993dad584c3936c49f945368551",
      "tree": "f335951b59c1106918ced48a6e1242e131808225",
      "parents": [
        "c249a4ce796b30b742bb4854bf3039ced12ef8e5"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Tue Dec 15 02:53:35 2009 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 15 10:31:31 2009 +0100"
      },
      "message": "perf trace/scripting: Add support for script args\n\nOne oversight of the original scripting_ops patch was a lack of\nsupport for passing args to handler scripts.  This adds\nargc/argv to the start_script() scripting_op, and changes the\nrw-by-file script to take \u0027comm\u0027 arg rather than the \u0027perf\u0027\nvalue currently hard-coded.  It also takes the opportunity to do\nsome related minor cleanup.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nLKML-Reference: \u003c1260867220-15699-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f823e441ab4dfaeaf17832fa1931e0dc0fde304d",
      "tree": "6bfaf4a3c4c5e2d5f65abece7996b005302e6af6",
      "parents": [
        "c019879bcc5692ec9267c1cedad91f1794d0b693"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Dec 14 15:06:01 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Dec 15 08:50:28 2009 +0100"
      },
      "message": "perf session: Event statistics also are per session\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260810361-22828-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "c019879bcc5692ec9267c1cedad91f1794d0b693",
      "tree": "ec499400b1ee0b1d93e961cc67b9dead9cd8c9a9",
      "parents": [
        "a328626b61aeda1a7d00a80c475c76ca1b815e0d"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Dec 14 14:23:00 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 17:34:56 2009 +0100"
      },
      "message": "perf session: Adopt the sample_type variable\n\nAll tools had copies, and perf diff would have to specify a\nsample_type_check method just for copying it.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260807780-19377-2-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4e4f06e4c8f17ea96f7dd76251cab99511026401",
      "tree": "18b7f83b664939be0a9bde8e43daf9db8ca7fccc",
      "parents": [
        "b9bf089212d95746ce66482bcdbc7e77a0651088"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Dec 14 13:10:39 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:18 2009 +0100"
      },
      "message": "perf session: Move the hist_entries rb tree to perf_session\n\nAs we\u0027ll need to sort multiple times for multiple perf sessions,\nso that we can then do a diff.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260803439-16783-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4aa65636411ccb12f006a6ad593930655c445ff6",
      "tree": "0f494705a2a7631070a5372bb53f873684b001c2",
      "parents": [
        "b3165f414416a717f72a376720564012af5a2e01"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:29 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:17 2009 +0100"
      },
      "message": "perf session: Move kmaps to perf_session\n\nThere is still some more work to do to disentangle map creation\nfrom DSO loading, but this happens only for the kernel, and for\nthe early adopters of perf diff, where this disentanglement\nmatters most, we\u0027ll be testing different kernels, so no problem\nhere.\n\nFurther clarification: right now we create the kernel maps for\nthe various modules and discontiguous kernel text maps when\nloading the DSO, we should do it as a two step process, first\ncreating the maps, for multiple mappings with the same DSO\nstore, then doing the dso load just once, for the first hit on\none of the maps sharing this DSO backing store.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-6-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b3165f414416a717f72a376720564012af5a2e01",
      "tree": "b066e4ae00b7d4bdb7386f4054e6e3ace0b976c3",
      "parents": [
        "ec913369733923dbfd6bdff5953a918107059701"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:28 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:16 2009 +0100"
      },
      "message": "perf session: Move the global threads list to perf_session\n\nSo that we can process two perf.data files.\n\nWe still need to add a O_MMAP mode for perf_session so that we\ncan do all the mmap stuff in it.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-5-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "ec913369733923dbfd6bdff5953a918107059701",
      "tree": "4c4397f5de47bb1352bfed874919bb438b6e4816",
      "parents": [
        "13df45ca1c9a430d5f53862854070fcc324e015c"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:27 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:16 2009 +0100"
      },
      "message": "perf session: Reduce the number of parms to perf_session__process_events\n\nBy having the cwd/cwdlen in the perf_session struct and\nfull_paths in perf_event_ops.\n\nNow its just a matter of passing the ops.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-4-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "13df45ca1c9a430d5f53862854070fcc324e015c",
      "tree": "d20c0bfe5d0caedb2f2dd1f0959255127a7e9a26",
      "parents": [
        "301a0b020210360c6e441c7765521248bc87d58e"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:26 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:15 2009 +0100"
      },
      "message": "perf session: Register the idle thread in perf_session__process_events\n\nNo need for all tools to register it and then immediately call\nperf_session__process_events.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-3-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "301a0b020210360c6e441c7765521248bc87d58e",
      "tree": "5321a8ab67584d0aac0e3df9a749df1b4206460b",
      "parents": [
        "d8f66248d6f25f7c935cc5307c43bf394db07272"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:25 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:15 2009 +0100"
      },
      "message": "perf session: Ditch register_perf_file_handler\n\nPass the event_ops to perf_session__process_events instead.\n\nAlso move the event_ops definition to session.h, starting to\nmove things around to their right place, trimming the many\nunneeded headers we have.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-2-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "d8f66248d6f25f7c935cc5307c43bf394db07272",
      "tree": "f30b5512dd08e6a8713fa9fde158c75d57ce1d6b",
      "parents": [
        "2cd9046cc53dd2625e2cf5854d6cbb1ba61de914"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Sun Dec 13 19:50:24 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Dec 14 16:57:13 2009 +0100"
      },
      "message": "perf session: Pass the perf_session to the event handling operations\n\nThey will need it to get the right threads list, etc.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260741029-4430-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "94c744b6c0c6c5802a85ebfebbec429ac5851f2b",
      "tree": "e34dcaca54f1d7752ab1e7974bb73f94ff3cf94c",
      "parents": [
        "ea08d8cbd162fe3756e3e2298efbe0b8b12f92d1"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Dec 11 21:24:02 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Dec 12 07:42:12 2009 +0100"
      },
      "message": "perf tools: Introduce perf_session class\n\nThat does all the initialization boilerplate, opening the file,\nreading the header, checking if it is valid, etc.\n\nAnd that will as well have the threads list, kmap (now) global\nvariable, etc, so that we can handle two (or more) perf.data files\ndescribing sessions to compare.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1260573842-19720-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "180f95e29aa8782c019caa64ede2a28d8ab62564",
      "tree": "eefd1631820b00992f4495cc8cdba66a9155ee6c",
      "parents": [
        "028c515253761084c6594bf9ac9b194b51d87065"
      ],
      "author": {
        "name": "OGAWA Hirofumi",
        "email": "hirofumi@mail.parknet.co.jp",
        "time": "Sun Dec 06 20:08:24 2009 +0900"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sun Dec 06 18:15:01 2009 +0100"
      },
      "message": "perf: Make common SAMPLE_EVENT parser\n\nCurrently, sample event data is parsed for each commands, and it\nis assuming that the data is not including other data. (E.g.\ntimechart, trace, etc. can\u0027t parse the event if it has\nPERF_SAMPLE_CALLCHAIN)\n\nSo, even if we record the superset data for multiple commands at\na time, commands can\u0027t parse. etc.\n\nTo fix it, this makes common sample event parser, and use it to\nparse sample event correctly. (PERF_SAMPLE_READ is unsupported\nfor now though, it seems to be not using.)\n\nSigned-off-by: OGAWA Hirofumi \u003chirofumi@mail.parknet.co.jp\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\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nLKML-Reference: \u003c87hbs48imv.fsf@devron.myhome.or.jp\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cf72344d1ad7b33805ef8d65e758b267e6f4cb8d",
      "tree": "b30935162790b1a1ba8988c7587d4f89edbe171a",
      "parents": [
        "1ae4a971250c55e473ca53c78011fcf73809885d"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Nov 28 10:11:00 2009 +0100"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Nov 28 10:11:00 2009 +0100"
      },
      "message": "perf scripting: Fix build\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": "16c632de64a74644a46e7636db26b2cfb530ca13",
      "tree": "4e7fdb4f84a1fba8b299c61a97bc76a8033e0565",
      "parents": [
        "eb9a42caa7a926beb935a22bc59d981b35f0b652"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Nov 25 01:15:48 2009 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Nov 28 10:04:26 2009 +0100"
      },
      "message": "perf trace: Add Perl scripting support\n\nImplement trace_scripting_ops to make Perl a supported perf\ntrace scripting language.\n\nAdditionally adds code that allows Perl trace scripts to access\nthe \u0027flag\u0027 and \u0027symbolic\u0027 (__print_flags(), __print_symbolic())\nfield information parsed from the trace format files.\n\nAlso adds the Perl implementation of the generate_script()\ntrace_scripting_op, which creates a ready-to-run perf trace Perl\nscript based on existing trace data.  Scripts generated by this\nimplementation print out all the fields for each event mentioned\nin perf.data (and will detect and generate the proper scripting\ncode for \u0027flag\u0027 and \u0027symbolic\u0027 fields), and will additionally\ngenerate handlers for the special \u0027trace_unhandled\u0027,\n\u0027trace_begin\u0027 and \u0027trace_end\u0027 handlers.  Script authors can\nsimply remove the printing code to implement their own custom\nevent handling.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: anton@samba.org\nCc: hch@infradead.org\nLKML-Reference: \u003c1259133352-23685-4-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "956ffd027bedc4106b901eb6a50f0a6c6de4113d",
      "tree": "11634edc2ac27a81db9a5d2a15b3897992761272",
      "parents": [
        "1ed091c45ae33b2179d387573c3fe3f3b4adf60a"
      ],
      "author": {
        "name": "Tom Zanussi",
        "email": "tzanussi@gmail.com",
        "time": "Wed Nov 25 01:15:46 2009 -0600"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Nov 28 10:04:24 2009 +0100"
      },
      "message": "perf trace: Add scripting ops\n\nAdds an interface, scripting_ops, that when implemented for a\nparticular scripting language enables built-in support for trace\nstream processing using that language.\n\nThe interface is designed to enable full-fledged language\ninterpreters to be embedded inside the perf executable and\nthereby make the full capabilities of the supported languages\navailable for trace processing.\n\nSee below for details on the interface.\n\nThis patch also adds a couple command-line options to \u0027perf\ntrace\u0027:\n\nThe -s option option is used to specify the script to be run.\nScript names that can be used with -s take the form:\n\n[language spec:]scriptname[.ext]\n\nScripting languages register a set of \u0027language specs\u0027 that can\nbe used to specify scripts for the registered languages.  The\nspecs can be used either as prefixes or extensions.\n\nIf [language spec:] is used, the script is taken as a script of\nthe matching language regardless of any extension it might have.\n If [language spec:] is not used, [.ext] is used to look up the\nlanguage it corresponds to.  Language specs are case\ninsensitive.\n\ne.g. Perl scripts can be specified in the following ways:\n\nPerl:scriptname\npl:scriptname.py # extension ignored\nPL:scriptname\nscriptname.pl\nscriptname.perl\n\nThe -g [language spec] option gives users an easy starting point\nfor writing scripts in the specified language.  Scripting\nsupport for a particular language can implement a\ngenerate_script() scripting op that outputs an empty (or\nnear-empty) set of handlers for all the events contained in a\ngiven perf.data trace file - this option gives users a direct\nway to access that.\n\nAdding support for a scripting language\n---------------------------------------\n\nThe main thing that needs to be done do add support for a new\nlanguage is to implement the scripting_ops interface:\n\nIt consists of the following four functions:\n\n    start_script()\n    stop_script()\n    process_event()\n    generate_script()\n\nstart_script() is called before any events are processed, and is\nmeant to give the scripting language support an opportunity to\nset things up to receive events e.g. create and initialize an\ninstance of a language interpreter.\n\nstop_script() is called after all events are processed, and is\nmeant to give the scripting language support an opportunity to\nclean up e.g. destroy the interpreter instance, etc.\n\nprocess_event() is called once for each event and takes as its\nmain parameter a pointer to the binary trace event record to be\nprocessed. The implementation is responsible for picking out the\nbinary fields from the event record and sending them to the\nscript handler function associated with that event e.g. a\nfunction derived from the event name it\u0027s meant to handle e.g.\n\u0027sched::sched_switch()\u0027.  The \u0027format\u0027 information for trace\nevents can be used to parse the binary data and map it into a\nform usable by a given scripting language; see the Perl\nimplemention in subsequent patches for one possible way to\nleverage the existing trace format parsing code in perf and map\nthat info into specific scripting language types.\n\ngenerate_script() should generate a ready-to-run script for the\ncurrent set of events in the trace, preferably with bodies that\nprint out every field for each event.  Again, look at the Perl\nimplementation for clues as to how that can be done.  This is an\noptional, but very useful op.\n\nSupport for a given language should also add a language-specific\nsetup function and call it from setup_scripting().  The\nlanguage-specific setup function associates the the scripting\nops for that language with one or more \u0027language specifiers\u0027\n(see below) using script_spec_register().  When a script name is\nspecified on the command line, the scripting ops associated with\nthe specified language are used to instantiate and use the\nappropriate interpreter to process the trace stream.\n\nIn general, it should be relatively easy to add support for a\nnew language, especially if the language implementation supports\nan interface allowing an interpreter to be \u0027embedded\u0027 inside\nanother program (in this case the containing program will be\n\u0027perf trace\u0027). If so, it should be relatively straightforward to\ntranslate trace events into invocations of user-defined script\nfunctions where e.g. the function name corresponds to the event\ntype and the function parameters correspond to the event fields.\n The event and field type information exported by the event\ntracing infrastructure (via the event \u0027format\u0027 files) should be\nenough to parse and send any piece of trace data to the user\nscript.  The easiest way to see how this can be done would be to\nlook at the Perl implementation contained in\nperf/util/trace-event-perl.c/.h.\n\nThere are a couple of other things that aren\u0027t covered by the\nscripting_ops or setup interface and are technically optional,\nbut should be implemented if possible.  One of these is support\nfor \u0027flag\u0027 and \u0027symbolic\u0027 fields e.g. being able to use more\nhuman-readable values such as \u0027GFP_KERNEL\u0027 or\nHI/BLOCK_IOPOLL/TASKLET in place of raw flag values.  See the\nPerl implementation to see how this can be done. The other thing\nis support for \u0027calling back\u0027 into the perf executable to access\ne.g. uncommon fields not passed by default into handler\nfunctions, or any metadata the implementation might want to make\navailable to users via the language interface.  Again, see the\nPerl implementation for examples.\n\nSigned-off-by: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: fweisbec@gmail.com\nCc: rostedt@goodmis.org\nCc: anton@samba.org\nCc: hch@infradead.org\nLKML-Reference: \u003c1259133352-23685-2-git-send-email-tzanussi@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "62daacb51a2bf8480e6f6b3696b03f102fc15eb0",
      "tree": "5b9ed87005a5e59bcc95dd9a42e3d09d6481362d",
      "parents": [
        "1de8e24520ffdcf2a90c842eed937f59079a2abd"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Nov 27 16:29:22 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Nov 27 20:22:01 2009 +0100"
      },
      "message": "perf tools: Reorganize event processing routines, lotsa dups killed\n\nWhile implementing event__preprocess_sample, that will do all of\nthe symbol lookup in one convenient function, I noticed that\nutil/process_event.[ch] were not being used at all, then started\nlooking if there were other functions that could be shared\nand...\n\nAll those functions really don\u0027t need to receive offset + head,\nthe only thing they did was common to all of them, so do it at\none place instead.\n\nStats about number of each type of event processed now is done\nin a central place.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: John Kacur \u003cjkacur@redhat.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\nLKML-Reference: \u003c1259346563-12568-11-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "b32d133aec5dc882cf783a293f393bfb3f4379e1",
      "tree": "41fc56a4aaec8892a235ffd530b36278d147dc4e",
      "parents": [
        "7cc017edb9459193d3b581155a14029e4bef0c49"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Tue Nov 24 12:05:15 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Nov 24 16:37:02 2009 +0100"
      },
      "message": "perf symbols: Simplify symbol machinery setup\n\nAnd also express its configuration toggles via a struct.\n\nNow all one has to do is to call symbol__init(NULL) if the\ndefaults are OK, or pass a struct symbol_conf pointer with the\ndesired configuration.\n\nIf a tool uses kernel_maps__find_symbol() to look at the kernel\nand modules mappings for a symbol but didn\u0027t call symbol__init()\nfirst, that will generate a one time warning too, alerting the\nsubcommand developer that symbol__init() must be called.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1259071517-3242-2-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cc612d8199089413719397c9d92e5823da578eac",
      "tree": "aec84294a839bc82b738326ed5f338e6ebc47a30",
      "parents": [
        "1b290d670ffa883b7e062177463a8efd00eaa2c1"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Mon Nov 23 16:39:10 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Nov 23 19:51:48 2009 +0100"
      },
      "message": "perf symbols: Look for vmlinux in more places\n\nNow that we can check the buildid to see if it really matches,\nthis can be done safely:\n\n  vmlinux\n  /boot/vmlinux\n  /boot/vmlinux-\u003cuts.release\u003e\n  /lib/modules/\u003cuts.release\u003e/build/vmlinux\n  /usr/lib/debug/lib/modules/%s/vmlinux\n\nMore can be added - if you know about distros that put the\nvmlinux somewhere else please let us know.\n\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nCc: Frédéric 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\nLKML-Reference: \u003c1259001550-8194-1-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "00a192b395b0606ad0265243844b3cd68e73420a",
      "tree": "09149f550807c365f170c857b1021d66e5bb8b4b",
      "parents": [
        "afb7b4f08e274cecd8337f9444affa288a9cd4c1"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Fri Oct 30 16:28:24 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Nov 02 16:52:11 2009 +0100"
      },
      "message": "perf tools: Simplify the symbol priv area mechanism\n\nBefore we were storing this in the DSO, but in fact this is a\nproperty of the \u0027symbol\u0027 class, not something that will vary\namong DSOs, so move it to a global variable and initialize it\nusing the existing symbol__init routine.\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: \u003c1256927305-4628-2-git-send-email-acme@infradead.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "6beba7adbe092e63dfe8d09fbd1e3ec140474a13",
      "tree": "d45a3347de224513c6d3d0e1061b78641f9aaf8a",
      "parents": [
        "802da5f2289bbe363acef084805195c11f453c48"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Oct 21 17:34:06 2009 -0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Oct 23 08:22:47 2009 +0200"
      },
      "message": "perf tools: Unify debug messages mechanisms\n\nWe were using eprintf in some places, that looks at a global\n\u0027verbose\u0027 level, and at other places passing a \u0027v\u0027 parameter to\nspecify the verbosity level, unify it by introducing\npr_{err,warning,debug,etc}, just like in the kernel.\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: \u003c1256153646-10097-1-git-send-email-acme@redhat.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "f39cdf25bf77219676ec5360980ac40b1a7e144a",
      "tree": "2143a3653933efc5ffacea647ce8be72952b3a44",
      "parents": [
        "434a83c3fbb951908a3a52040f7f0e0b8ba00dd0"
      ],
      "author": {
        "name": "Julia Lawall",
        "email": "julia@diku.dk",
        "time": "Sat Oct 17 08:43:17 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Sat Oct 17 09:29:10 2009 +0200"
      },
      "message": "perf tools: Move dereference after NULL test\n\nIn each case, if the NULL test on thread is needed, then the\ndereference should be after the NULL test.\n\nA simplified version of the semantic match that detects this\nproblem is as follows (http://coccinelle.lip6.fr/):\n\n// \u003csmpl\u003e\n@match exists@\nexpression x, E;\nidentifier fld;\n@@\n\n* x-\u003efld\n  ... when !\u003d \\(x \u003d E\\|\u0026x\\)\n* x \u003d\u003d NULL\n// \u003c/smpl\u003e\n\nSigned-off-by: Julia Lawall \u003cjulia@diku.dk\u003e\nLKML-Reference: \u003cPine.LNX.4.64.0910170842500.9213@ask.diku.dk\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "cda48461c7fb8431a99b7960480f5f42cc1a5324",
      "tree": "89afa42fb7136ac1086d1736529f59cfe4ac1ce3",
      "parents": [
        "0d1da915c76838c9ee7af7cdefbcb2bae9424161"
      ],
      "author": {
        "name": "Steven Rostedt",
        "email": "srostedt@redhat.com",
        "time": "Wed Oct 14 15:43:42 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Oct 15 10:42:39 2009 +0200"
      },
      "message": "perf tools: Add latency format to trace output\n\nAdd the irqs disabled, preemption count, need resched, and other\ninfo that is shown in the latency format of ftrace.\n\n # perf trace -l\n    perf-16457   2..s2. 53636.260344: kmem_cache_free: call_site\u003dffffffff811198f\n    perf-16457   2..s2. 53636.264330: kmem_cache_free: call_site\u003dffffffff811198f\n    perf-16457   2d.s4. 53636.300006: kmem_cache_free: call_site\u003dffffffff810d889\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: \u003c20091014194400.076588953@goodmis.org\u003e\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": "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": "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": "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": "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": "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": "8886f42d6d8dabeb488c706c339634a0e3e08df4",
      "tree": "21774d1711bfe4f4e49c126f27ff31a5d059bd0c",
      "parents": [
        "6ddf259da76cab6555c2086386f8bcd10bbb86d2"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 03 16:19:57 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 03 16:19:57 2009 +0200"
      },
      "message": "perf trace: Fix parsing of perf.data\n\nWe started parsing perf.data at head 0. This caused -D to\nsegfault and it could possibly also case incorrect trace\nentries to be displayed.\n\nParse it at data_offset instead.\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": "6ddf259da76cab6555c2086386f8bcd10bbb86d2",
      "tree": "5f0b4a8eab0ffd31a72366e94ee7b7ba525066ee",
      "parents": [
        "0fbdea19e9394a5cb5f2f5081b028c50b558910a"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 03 12:00:22 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Thu Sep 03 15:45:49 2009 +0200"
      },
      "message": "perf trace: Sample timestamps as well\n\nBefore:\n\n            perf-21082 [013]     0.000000: sched_wakeup_new: task perf:21083 [120] success\u003d1 [015]\n            perf-21082 [013]     0.000000: sched_migrate_task: task perf:21082 [120] from: 13  to: 15\n            perf-21082 [013]     0.000000: sched_process_fork: parent perf:21082  child perf:21083\n            true-21083 [015]     0.000000: sched_wakeup: task migration/15:33 [0] success\u003d1 [015]\n            perf-21082 [013]     0.000000: sched_switch: task perf:21082 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n            true-21083 [015]     0.000000: sched_switch: task perf:21083 [120] (R) \u003d\u003d\u003e migration/15:33 [0]\n            true-21083 [011]     0.000000: sched_process_exit: task true:21083 [120]\n\nAfter:\n\n            perf-21082 [013] 14674.797613: sched_wakeup_new: task perf:21083 [120] success\u003d1 [015]\n            perf-21082 [013] 14674.797506: sched_migrate_task: task perf:21082 [120] from: 13  to: 15\n            perf-21082 [013] 14674.797610: sched_process_fork: parent perf:21082  child perf:21083\n            true-21083 [015] 14674.797725: sched_wakeup: task migration/15:33 [0] success\u003d1 [015]\n            perf-21082 [013] 14674.797722: sched_switch: task perf:21082 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n            true-21083 [015] 14674.797729: sched_switch: task perf:21083 [120] (R) \u003d\u003d\u003e migration/15:33 [0]\n            true-21083 [011] 14674.798159: sched_process_exit: task true:21083 [120]\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": "cd6feeeafddbef6abfe4d90fb26e42fd844d34ed",
      "tree": "382a1afe242e7b8e8e7691a03e9ab39016c5c24b",
      "parents": [
        "65014ab36196f6d86edc9ee23759d6930b9d89a8"
      ],
      "author": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 02 20:20:38 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Wed Sep 02 21:28:50 2009 +0200"
      },
      "message": "perf trace: Sample the CPU too\n\nSample, record, parse and print the CPU field - it had all zeroes before.\n\nBefore (watch the second column, the CPU values):\n\n            perf-32685 [000]     0.000000: sched_wakeup_new: task perf:32686 [120] success\u003d1 [011]\n            perf-32685 [000]     0.000000: sched_migrate_task: task perf:32685 [120] from: 1  to: 11\n            perf-32685 [000]     0.000000: sched_process_fork: parent perf:32685  child perf:32686\n            true-32686 [000]     0.000000: sched_wakeup: task migration/11:25 [0] success\u003d1 [011]\n            true-32686 [000]     0.000000: sched_wakeup: task distccd:12793 [125] success\u003d1 [015]\n            true-32686 [000]     0.000000: sched_wakeup: task distccd:12793 [125] success\u003d1 [015]\n            perf-32685 [000]     0.000000: sched_switch: task perf:32685 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n            true-32686 [000]     0.000000: sched_switch: task perf:32686 [120] (R) \u003d\u003d\u003e migration/11:25 [0]\n            true-32686 [000]     0.000000: sched_switch: task perf:32686 [120] (R) \u003d\u003d\u003e distccd:12793 [125]\n            true-32686 [000]     0.000000: sched_switch: task true:32686 [120] (R) \u003d\u003d\u003e distccd:12793 [125]\n            true-32686 [000]     0.000000: sched_process_exit: task true:32686 [120]\n            true-32686 [000]     0.000000: sched_stat_wait: task: distccd:12793 wait: 6767985949080 [ns]\n            true-32686 [000]     0.000000: sched_stat_wait: task: distccd:12793 wait: 6767986139446 [ns]\n            true-32686 [000]     0.000000: sched_stat_sleep: task: distccd:12793 sleep: 132844 [ns]\n            true-32686 [000]     0.000000: sched_stat_sleep: task: distccd:12793 sleep: 131724 [ns]\n\nAfter:\n\n            perf-32685 [001]     0.000000: sched_wakeup_new: task perf:32686 [120] success\u003d1 [011]\n            perf-32685 [001]     0.000000: sched_migrate_task: task perf:32685 [120] from: 1  to: 11\n            perf-32685 [001]     0.000000: sched_process_fork: parent perf:32685  child perf:32686\n            true-32686 [011]     0.000000: sched_wakeup: task migration/11:25 [0] success\u003d1 [011]\n            true-32686 [015]     0.000000: sched_wakeup: task distccd:12793 [125] success\u003d1 [015]\n            true-32686 [015]     0.000000: sched_wakeup: task distccd:12793 [125] success\u003d1 [015]\n            perf-32685 [001]     0.000000: sched_switch: task perf:32685 [120] (S) \u003d\u003d\u003e swapper:0 [140]\n            true-32686 [011]     0.000000: sched_switch: task perf:32686 [120] (R) \u003d\u003d\u003e migration/11:25 [0]\n            true-32686 [015]     0.000000: sched_switch: task perf:32686 [120] (R) \u003d\u003d\u003e distccd:12793 [125]\n            true-32686 [015]     0.000000: sched_switch: task true:32686 [120] (R) \u003d\u003d\u003e distccd:12793 [125]\n            true-32686 [015]     0.000000: sched_process_exit: task true:32686 [120]\n            true-32686 [015]     0.000000: sched_stat_wait: task: distccd:12793 wait: 6767985949080 [ns]\n            true-32686 [015]     0.000000: sched_stat_wait: task: distccd:12793 wait: 6767986139446 [ns]\n            true-32686 [015]     0.000000: sched_stat_sleep: task: distccd:12793 sleep: 132844 [ns]\n            true-32686 [015]     0.000000: sched_stat_sleep: task: distccd:12793 sleep: 131724 [ns]\n\nSo we can now see how this workload migrated between CPUs.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "3a2684ca58e06941ff00e3f096ca44f898a6d13e",
      "tree": "f4b369d1823001d967c590543763f27bf9573d84",
      "parents": [
        "5b447a6a13ea823b698bf4c01193654fd7ebf4ec"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Mon Aug 31 06:45:19 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Aug 31 10:04:48 2009 +0200"
      },
      "message": "perf tools: Resolve idle thread cmdline for perf trace\n\nThe cmd-trace tool used the cmdline file and resolved the idle\nthread using a hardcoded check for the 0 task pid.\n\nNow we have a centralized way to do that from perf using\nregister_idle_thread() API.\n\nBefore:\n\t:0-0     [000]     0.000000: irq_handler_entry: irq\u003d0 handler\u003dname\n\t:0-0     [000]     0.000000: irq_handler_entry: irq\u003d0 handler\u003dname\n\nAfter:\n\t[idle]-0     [000]     0.000000: irq_handler_entry: irq\u003d0 handler\u003dname\n\t[idle]-0     [000]     0.000000: irq_handler_entry: irq\u003d0 handler\u003dname\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\nLKML-Reference: \u003c1251693921-6579-2-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "1909629fb1ec9800cf2cb0091870d6a1c1ca665f",
      "tree": "1e9860ba5ef7cd187a779d904b54b1b83baa1a7d",
      "parents": [
        "3f9edc2382d5f7c97c693838abb207a9d6bab1fa"
      ],
      "author": {
        "name": "Masami Hiramatsu",
        "email": "mhiramat@redhat.com",
        "time": "Fri Aug 21 14:56:03 2009 -0400"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Fri Aug 21 21:42:43 2009 +0200"
      },
      "message": "perf trace: Add OPT_END to option array of perf-trace\n\nAdd OPT_END to option array of perf-trace for fixing a SEGV bug when\nshowing perf-trace help message.\n\nWithout this patch;\n ./perf trace -h\n\n usage: perf trace [\u003coptions\u003e] \u003ccommand\u003e\n\n    -D, --dump-raw-trace  dump raw trace in ASCII\n    -v, --verbose         be more verbose (show symbol address, etc)\n    -f, Segmentation fault\n\nWith this patch:\n ./perf trace -h\n\n usage: perf trace [\u003coptions\u003e] \u003ccommand\u003e\n\n    -D, --dump-raw-trace  dump raw trace in ASCII\n    -v, --verbose         be more verbose (show symbol address, etc)\n\nSigned-off-by: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: systemtap \u003csystemtap@sources.redhat.com\u003e\nCc: DLE \u003cdle-develop@lists.sourceforge.net\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Steven Rostedt \u003crostedt@goodmis.org\u003e\nCc: 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: Xiao Guangrong \u003cxiaoguangrong@cn.fujitsu.com\u003e\nCc: Zhaolei \u003czhaolei@cn.fujitsu.com\u003e\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Lai Jiangshan \u003claijs@cn.fujitsu.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003c20090821185603.11039.62109.stgit@localhost.localdomain\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "4bf2364a951d3c043e132e4451d90c7bc74dee83",
      "tree": "601f1b7147a0f498d704b464a4d43add530ae8b4",
      "parents": [
        "6ede59c412579303a25c11f93d4d262e100fc7e6"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Mon Aug 17 23:07:49 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Tue Aug 18 00:00:18 2009 +0200"
      },
      "message": "perf tools: Warn while running perf trace without sample\n\nWhen a user runs perf trace using an input with logged\ncounters without PERF_SAMPLE_RAW attribute, warn by giving a\nnice tip.\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: Steven Rostedt \u003crostedt@goodmis.org\u003e\nLKML-Reference: \u003c1250543271-8383-2-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    },
    {
      "commit": "5f9c39dca52d3e639ac899e169f408c6fd8396cc",
      "tree": "c4274c18c95e686312744cebad45d1537c606807",
      "parents": [
        "ea4010d1363699770a9894493bafe556a59a144c"
      ],
      "author": {
        "name": "Frederic Weisbecker",
        "email": "fweisbec@gmail.com",
        "time": "Mon Aug 17 16:18:08 2009 +0200"
      },
      "committer": {
        "name": "Ingo Molnar",
        "email": "mingo@elte.hu",
        "time": "Mon Aug 17 16:32:39 2009 +0200"
      },
      "message": "perf tools: Add perf trace\n\nThis adds perf trace into the set of perf tools.\n\nIt is written to fetch the tracepoint samples from perf events\nand display them, according to the events information given by\nthe debugfs files through the util/trace* tools.\n\nIt is a rough first shot and doesn\u0027t yet handle the cpu,\ntimestamps fields and some other things.\n\nExample:\n\n perf record -f -e workqueue:workqueue_execution:record -F 1 -a\n perf trace\n\n       kblockd/0-236   [000]     0.000000: workqueue_execution: thread\u003d:236 func\u003dcfq_kick_queue+0x0\n     kondemand/0-360   [000]     0.000000: workqueue_execution: thread\u003d:360 func\u003ddo_dbs_timer+0x0\n     kondemand/0-360   [000]     0.000000: workqueue_execution: thread\u003d:360 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n     kondemand/1-361   [000]     0.000000: workqueue_execution: thread\u003d:361 func\u003ddo_dbs_timer+0x0\n\nTodo:\n\n- A lot of things!\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: \"Luis Claudio R. Goncalves\" \u003clclaudio@uudg.org\u003e\nCc: Clark Williams \u003cwilliams@redhat.com\u003e\nCc: Jon Masters \u003cjonathan@jonmasters.org\u003e\nCc: Mathieu Desnoyers \u003cmathieu.desnoyers@polymtl.ca\u003e\nCc: Christoph Hellwig \u003chch@infradead.org\u003e\nCc: Xiao Guangrong \u003cxiaoguangrong@cn.fujitsu.com\u003e\nCc: Zhaolei \u003czhaolei@cn.fujitsu.com\u003e\nCc: Li Zefan \u003clizf@cn.fujitsu.com\u003e\nCc: Lai Jiangshan \u003claijs@cn.fujitsu.com\u003e\nCc: Masami Hiramatsu \u003cmhiramat@redhat.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nCc: \"Frank Ch. Eigler\" \u003cfche@redhat.com\u003e\nCc: Roland McGrath \u003croland@redhat.com\u003e\nCc: Jason Baron \u003cjbaron@redhat.com\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Jiaying Zhang \u003cjiayingz@google.com\u003e\nCc: Anton Blanchard \u003canton@samba.org\u003e\nLKML-Reference: \u003c1250518688-7207-4-git-send-email-fweisbec@gmail.com\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n"
    }
  ]
}
