)]}'
{
  "commit": "b5c874f14c5f57cc8654e9184694196c466147bb",
  "tree": "91d1a814fb1bf3ccaf68140b45dd18ba4ed5e146",
  "parents": [
    "c02514850d67be8db6b2b6658cbc23ac1fbf8bc7"
  ],
  "author": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Tue Jun 01 12:37:05 2010 -0300"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Tue Jun 01 16:16:11 2010 -0300"
  },
  "message": "perf buildid-list: Fix --with-hits event processing\n\nWhen we use plain \u0027perf buildid-list\u0027 we use only what is in the buildid\ntable in the perf.data header. And those have absolute pathnames because\nat \u0027perf record\u0027 time we used __perf_session__process_events and that\ndoesn\u0027t sets up the path shortening code in map__new() that happens if\nsymbol_conf.full_paths is false, the default.\n\nOn the other hand, when we use \u0027perf buildid-list --with-hits\u0027 we\nprocess all the events using perf_session__process_events, adding\nentries to the global DSO list _after_ removing the current directory\nfrom the DSO name, for presentation purposes.\n\nBecause of that we end up having two entries in the DSO list when\nrecording events for binaries using relative pathnames.\n\nFix it minimally by setting symbol_conf.full_paths to true when marking\nthe DSOs with hits in \u0027perf buildid-list --with-hits\u0027, as used by \u0027perf\narchive\u0027\n\nRight fix longer term is to shorten the path only at presentation time.\nWill be done for 2.6.36.\n\nReported-by: Stephane Eranian \u003ceranian@google.com\u003e\nTested-by: Stephane Eranian \u003ceranian@google.com\u003e\nCc: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: Frédéric 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: \u003c20100601183837.GC4093@ghostprotocols.net\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "44a47e13bd673eb362f956b80bd02adbec367d45",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-buildid-list.c",
      "new_id": "99890728409eba3bc390d2060a58d140f543c488",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-buildid-list.c"
    }
  ]
}
