)]}'
{
  "commit": "0e2a5f10fb550835e199a3b56a80ed88232188e9",
  "tree": "576df20527a565f7f1a23447ebe6289b05975321",
  "parents": [
    "4a1dba72384193753e44e15d9d05a50be6587271"
  ],
  "author": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Fri Nov 04 08:16:58 2011 -0200"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Wed Nov 16 10:02:26 2011 -0200"
  },
  "message": "perf python: Fix undefined symbol problem\n\nRecently we made perf_evsel__init call hists__init, which broke the perf\npython binding:\n\n[root@emilia linux]# ./tools/perf/python/twatch.py\nTraceback (most recent call last):\n  File \"./tools/perf/python/twatch.py\", line 16, in \u003cmodule\u003e\n    import perf\nImportError: /home/acme/git/build/perf/python/perf.so: undefined symbol: hists__init\n\nFix it by moving the hists__init function to its only caller, evsel.c.\n\nThis way we avoid dragging in other parts of tools/perf/util/ to the\nperf python binding.\n\nCc: David Ahern \u003cdsahern@gmail.com\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\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\nLink: http://lkml.kernel.org/n/tip-5nffmdt5mu6ozxgj54oi4qon@git.kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "e42626422587851b9c1b6e755dfdb09858640124",
      "old_mode": 33188,
      "old_path": "tools/perf/util/evsel.c",
      "new_id": "d7915d4e77cb629e4560d499ac2c1c902ecce5db",
      "new_mode": 33188,
      "new_path": "tools/perf/util/evsel.c"
    },
    {
      "type": "modify",
      "old_id": "a36a3fa81ffba45ea6602145530289c1c326acbc",
      "old_mode": 33188,
      "old_path": "tools/perf/util/hist.c",
      "new_id": "abef2703cd242eb8b8e5f1763cadd50286bdc8be",
      "new_mode": 33188,
      "new_path": "tools/perf/util/hist.c"
    },
    {
      "type": "modify",
      "old_id": "c86c1d27bd1eca09cef6c00949293a251b345ef9",
      "old_mode": 33188,
      "old_path": "tools/perf/util/hist.h",
      "new_id": "89289c8e935e78973a906fb96edd164973d20ac9",
      "new_mode": 33188,
      "new_path": "tools/perf/util/hist.h"
    }
  ]
}
