)]}'
{
  "commit": "eda3913bb70ecebac13adccffe1e7f96e93cee02",
  "tree": "832f84f625dcfcf30eeb0ca88d58fe7774f4327e",
  "parents": [
    "0111919da268e1ced315e009ad0d0435a2fb32ac"
  ],
  "author": {
    "name": "David Ahern",
    "email": "dsahern@gmail.com",
    "time": "Fri Jul 15 12:34:09 2011 -0600"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Thu Jul 21 09:57:36 2011 +0200"
  },
  "message": "perf tools: Fix endian conversion reading event attr from file header\n\nThe perf_event_attr struct has two __u32\u0027s at the top and\nthey need to be swapped individually.\n\nWith this change I was able to analyze a perf.data collected in a\n32-bit PPC VM on an x86 system. I tested both 32-bit and 64-bit\nbinaries for the Intel analysis side; both read the PPC perf.data\nfile correctly.\n\n-v2:\n - changed the existing perf_event__attr_swap() to swap only elements\n   of perf_event_attr and exported it for use in swapping the\n   attributes in the file header\n - updated swap_ops used for processing events\n\nSigned-off-by: David Ahern \u003cdsahern@gmail.com\u003e\nAcked-by: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: acme@ghostprotocols.net\nCc: peterz@infradead.org\nCc: paulus@samba.org\nCc: \u003cstable@kernel.org\u003e\nLink: http://lkml.kernel.org/r/1310754849-12474-1-git-send-email-dsahern@gmail.com\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "afb0849fe530e5f4a06937457bb98644acf681df",
      "old_mode": 33188,
      "old_path": "tools/perf/util/header.c",
      "new_id": "cb2959a3fb43e12f6e7de76c6a7fc6a04221f8b7",
      "new_mode": 33188,
      "new_path": "tools/perf/util/header.c"
    },
    {
      "type": "modify",
      "old_id": "080e5336d89f54c6011553d027c12d598af0afb0",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.c",
      "new_id": "a3c13bcd5a8db7010236477b870055e9e5078a6a",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.c"
    },
    {
      "type": "modify",
      "old_id": "5de754f4b7f345a2f00165019396515738a22371",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.h",
      "new_id": "170601e67d6b78086349ebd7810285978edd95f9",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.h"
    }
  ]
}
