)]}'
{
  "commit": "eae7a755ee81129370c8f555b0d5672e6673735d",
  "tree": "f9bf3cf7919d71f3b99b94c92b8bf81bf8af4a11",
  "parents": [
    "e7f01d1e3d8d501deb8abeaa269d5d48a703b8b0"
  ],
  "author": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Wed Mar 14 12:42:34 2012 -0300"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Wed Mar 14 12:42:34 2012 -0300"
  },
  "message": "perf tools, x86: Build perf on older user-space as well\n\nOn ancient systems I get this build failure:\n\n  util/../../../arch/x86/include/asm/unistd.h:67:29: error: asm/unistd_64.h: No such file or directory\n  In file included from util/cache.h:7,\n                   from builtin-test.c:8:\n  util/../perf.h: In function ‘sys_perf_event_open’:In file included from util/../perf.h:16\n  perf.h:170: error: ‘__NR_perf_event_open’ undeclared (first use in this function)\n\nThe reason is that this old system does not have the split\nunistd.h headers yet, from which to pick up the syscall\ndefinitions.\n\nAdd the syscall numbers to the already existing i386 and x86_64\nblocks in perf.h, and also provide empty include file stubs.\n\nWith this patch perf builds and works fine on 5 years old\nuser-space as well.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLink: http://lkml.kernel.org/n/tip-jctwg64le1w47tuaoeyftsg9@git.kernel.org\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "7c12650165aed5933bdcad60a8b298d2cd6f437a",
      "old_mode": 33188,
      "old_path": "tools/perf/Makefile",
      "new_id": "8a4b9bccf8b2e24bce31bdeb49207d8d4037973a",
      "new_mode": 33188,
      "new_path": "tools/perf/Makefile"
    },
    {
      "type": "modify",
      "old_id": "16e7d20eee8321110797f9f77c928c1e15e013ea",
      "old_mode": 33188,
      "old_path": "tools/perf/perf.h",
      "new_id": "3afa39ac1d402e661d0c1172321e37a353d22209",
      "new_mode": 33188,
      "new_path": "tools/perf/perf.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8b137891791fe96927ad78e64b0aad7bded08bdc",
      "new_mode": 33188,
      "new_path": "tools/perf/util/include/asm/unistd_32.h"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "8b137891791fe96927ad78e64b0aad7bded08bdc",
      "new_mode": 33188,
      "new_path": "tools/perf/util/include/asm/unistd_64.h"
    }
  ]
}
