)]}'
{
  "commit": "108553e1f3c45a92d23681a378ad9e4c3230eebc",
  "tree": "27cde88dbb3ec8438d100032135e845bd43ad92d",
  "parents": [
    "97aa1052739c6a06cb6b0467dbf410613d20bc97"
  ],
  "author": {
    "name": "Frederic Weisbecker",
    "email": "fweisbec@gmail.com",
    "time": "Thu Jul 08 03:41:46 2010 +0200"
  },
  "committer": {
    "name": "Frederic Weisbecker",
    "email": "fweisbec@gmail.com",
    "time": "Thu Jul 08 06:26:56 2010 +0200"
  },
  "message": "perf: Sync callchains with period based hits\n\nHists have their hits increased by the event period. And this\nperiod based counting is the foundation of all the stats in\nperf report.\n\nBut callchains still use the raw number of hits, without taking\nthe period into account. So when we compute the percentage,\nabsolute based percentages are totally broken, and relative ones\ntoo in the first parent level. Because we pass the number of events\nmuliplied by their period as the total number of hits to the\ncallchain filtering, while callchains expect this number to be\nthe number of raw hits.\n\nperf report -g graph was simply not working, showing no graph unless\nthe min percent was zero. And even there the percentage of the\nbranches was always 0. And may be fractal filtering was broken on\nthe first branch level too.\n\nflat also was broken, but it was hidden because of other breakages.\n\nAnyway fix this by counting using periods on callchains.\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",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "3592057829648a8d3f8ac909f93a10a729640b68",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-report.c",
      "new_id": "fd7407c7205c7be809ce4c3b048e68ab9b7b9487",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-report.c"
    },
    {
      "type": "modify",
      "old_id": "62b69ad4aa735bc0ec146277661e30f9c0e3d4e9",
      "old_mode": 33188,
      "old_path": "tools/perf/util/callchain.c",
      "new_id": "52c777e451ed8ebc049f39edfb651bfe848d66cc",
      "new_mode": 33188,
      "new_path": "tools/perf/util/callchain.c"
    },
    {
      "type": "modify",
      "old_id": "22dbaec003d544d8da71bee8fe435d4e700feaf9",
      "old_mode": 33188,
      "old_path": "tools/perf/util/callchain.h",
      "new_id": "f2e9ee164bd8ce7bcf2bb7c7af5901e6c78ebcc3",
      "new_mode": 33188,
      "new_path": "tools/perf/util/callchain.h"
    }
  ]
}
