)]}'
{
  "commit": "f0c55bcf4aa41b4b1dbee826513b1acb01bf65e1",
  "tree": "00ebfe5e00bf70a27f404c161c16b59ad1fcca62",
  "parents": [
    "4498062e72fd55b2a9a4ac1b44fab8cb44ad5367"
  ],
  "author": {
    "name": "Stephane Eranian",
    "email": "eranian@google.com",
    "time": "Wed Feb 16 15:10:01 2011 +0200"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Thu Feb 17 10:29:19 2011 -0200"
  },
  "message": "perf: make perf stat print user provided full event names\n\nThis patch changes the way perf stat prints event names at the end of a\nrun. Until now, it was trying to reconstruct the event name from its\nencoding. The problem is that it would only print generic events without\ntheir modifiers (u, k, pp).\n\nThis patch saves the event name as passed by the user in the evsel\nstruct and uses it to print the final event name.\n\nThis would also work in case perf is linked with a library (such as\nlibpfm4) which provides full PMU event tables.\n\n$ perf stat -e cycles:u,cycles:k date\nWed Feb 16 14:58:52 CET 2011\n\n Performance counter stats for \u0027date\u0027:\n\n            568600 cycles:u\n           2779715 cycles:k\n\n        0.001908182  seconds time elapsed\n\nCc: Arun Sharma \u003carun@sharma-home.net\u003e\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\nLPU-Reference: \u003c4d5bdc64.98a1df0a.7aa3.06c2@mx.google.com\u003e\nSigned-off-by: Stephane Eranian \u003ceranian@google.com\u003e\n[ committer note: Fixed a merge problem with 023695d \"Add cgroup support\" ]\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c974e08d07abc39ea1257e3d614f674b6882f3e8",
      "old_mode": 33188,
      "old_path": "tools/perf/util/evsel.c",
      "new_id": "63cadaf3e2083f8f131f2cd1343556e578ed8fbc",
      "new_mode": 33188,
      "new_path": "tools/perf/util/evsel.c"
    },
    {
      "type": "modify",
      "old_id": "1d3d5a3dbe603d13ce92539b57481fc8f4a489b9",
      "old_mode": 33188,
      "old_path": "tools/perf/util/evsel.h",
      "new_id": "f6fc8f651a256c91d9a7429cf52fbb396cb544a3",
      "new_mode": 33188,
      "new_path": "tools/perf/util/evsel.h"
    },
    {
      "type": "modify",
      "old_id": "cf082daa43e3a61a7b2c225cd0aec874a494ef4d",
      "old_mode": 33188,
      "old_path": "tools/perf/util/parse-events.c",
      "new_id": "80a3dd5ef5735b132b873c6327c99ea1f78c4ce1",
      "new_mode": 33188,
      "new_path": "tools/perf/util/parse-events.c"
    }
  ]
}
