)]}'
{
  "commit": "21ef97f05a7da5bc23b26cb34d6746f83ca9bf20",
  "tree": "c47c09c178f7929f01dcb7b302ceed21f3758ded",
  "parents": [
    "7639dae0ca11038286bbbcda05f2bef601c1eb8d"
  ],
  "author": {
    "name": "Ian Munsie",
    "email": "imunsie@au1.ibm.com",
    "time": "Fri Dec 10 14:09:16 2010 +1100"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Tue Dec 21 20:17:51 2010 -0200"
  },
  "message": "perf session: Fallback to unordered processing if no sample_id_all\n\nIf we are running the new perf on an old kernel without support for\nsample_id_all, we should fall back to the old unordered processing of\nevents. If we didn\u0027t than we would *always* process events without\ntimestamps out of order, whether or not we hit a reordering race. In\nother words, instead of there being a chance of not attributing samples\ncorrectly, we would guarantee that samples would not be attributed.\n\nWhile processing all events without timestamps before events with\ntimestamps may seem like an intuitive solution, it falls down as\nPERF_RECORD_EXIT events would also be processed before any samples.\nEven with a workaround for that case, samples before/after an exec would\nnot be attributed correctly.\n\nThis patch allows commands to indicate whether they need to fall back to\nunordered processing, so that commands that do not care about timestamps\non every event will not be affected. If we do fallback, this will print\nout a warning if report -D was invoked.\n\nThis patch adds the test in perf_session__new so that we only need to\ntest once per session. Commands that do not use an event_ops (such as\nrecord and top) can simply pass NULL in it\u0027s place.\n\nAcked-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Frederic Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nLKML-Reference: \u003c1291951882-sup-6069@au1.ibm.com\u003e\nSigned-off-by: Ian Munsie \u003cimunsie@au1.ibm.com\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "569a2761b90ac037c3eba06dc181a23c939f5c81",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-annotate.c",
      "new_id": "48dbab4b482f700f7894fd5581301547d3da7e02",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-annotate.c"
    },
    {
      "type": "modify",
      "old_id": "44a47e13bd673eb362f956b80bd02adbec367d45",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-buildid-list.c",
      "new_id": "3b06f9ca263810988f2acd6c49d30cb077ce5c17",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-buildid-list.c"
    },
    {
      "type": "modify",
      "old_id": "5e1a043aae038154c5c27a1199d753a8f1f019c0",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-diff.c",
      "new_id": "af84e1c0519d72c5d6efd2e3c4c94641bb39c216",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-diff.c"
    },
    {
      "type": "modify",
      "old_id": "4b66b85794109be0248928ba9eacf15ed68d41e2",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-inject.c",
      "new_id": "0c78ffa7bf675f46c9e631d9fa8d51fbc71aded4",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-inject.c"
    },
    {
      "type": "modify",
      "old_id": "c9620ff6496ff67bf36836913fa98154d1ef0726",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-kmem.c",
      "new_id": "def7ddc2fd4fbc1b1c57795f4c10c519729b035d",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-kmem.c"
    },
    {
      "type": "modify",
      "old_id": "b41b4492b1cc491d7ab941cc3bd709a92b2b6f1e",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-lock.c",
      "new_id": "b9c6e54329713e326d74da9b08164e562e521d03",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-lock.c"
    },
    {
      "type": "modify",
      "old_id": "e9be6ae87a278dd5230d04eeb5c1fe29771016fb",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-record.c",
      "new_id": "efd1b3c3d4a03cc33f61b4b615af720f0c46fdd4",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-record.c"
    },
    {
      "type": "modify",
      "old_id": "b6a2a899aa8fb900ef1c86899ab176e8d6b34264",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-report.c",
      "new_id": "fd4c4500cd15ee6712385bf1b1fdff32f7969fa8",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-report.c"
    },
    {
      "type": "modify",
      "old_id": "c7753940aea043690ac3d0ed593777c1b143f233",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-sched.c",
      "new_id": "7a4ebeb8b016b4ca01c14f393b3c5fab98567523",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-sched.c"
    },
    {
      "type": "modify",
      "old_id": "54f1ea808db5374a2680654d2d9effdcaa3322a3",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-script.c",
      "new_id": "6ef65c04ab9a26ee4ecdbf289d2dd9980b5edc25",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-script.c"
    },
    {
      "type": "modify",
      "old_id": "d2fc46103f834ae314b2d631f2ef265e8b203e0f",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-timechart.c",
      "new_id": "459b5e3db267a556ebc8b3b83dbebe4b9b0514ec",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-timechart.c"
    },
    {
      "type": "modify",
      "old_id": "0515ce9d3d3eaa7dc34949bb5f109761e3844dc9",
      "old_mode": 33188,
      "old_path": "tools/perf/builtin-top.c",
      "new_id": "ae15f046c405844835d2de82332aae7c39cd84fe",
      "new_mode": 33188,
      "new_path": "tools/perf/builtin-top.c"
    },
    {
      "type": "modify",
      "old_id": "b59abf5aba36eaeb6019ffcf4994b4acf2f9c58c",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.c",
      "new_id": "0f7e544544f569c3246f44e3379bd4453dca119b",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.c"
    },
    {
      "type": "modify",
      "old_id": "ac36f99f14af534952ef95ae87fea15139da4dc3",
      "old_mode": 33188,
      "old_path": "tools/perf/util/session.h",
      "new_id": "ffe4b98db8f0883b3071dbc6a63a7cb50301da90",
      "new_mode": 33188,
      "new_path": "tools/perf/util/session.h"
    }
  ]
}
