)]}'
{
  "commit": "d0fbf8ac238d3bc3a111334ab3553173812d78e7",
  "tree": "589bdc6d72203e72080ad9b3e128f8d4ce9580b0",
  "parents": [
    "57b2bfa33bbc4f171a7fc2807de71583b1e2fd2a"
  ],
  "author": {
    "name": "Liqiang TAO",
    "email": "taolq@outlook.com",
    "time": "Tue Jan 25 10:14:20 2022"
  },
  "committer": {
    "name": "GitHub",
    "email": "noreply@github.com",
    "time": "Tue Jan 25 10:14:20 2022"
  },
  "message": "Cache PerfCounters instance in PerfCountersMeasurement (#1308)\n\nThis patch fixes #1306, by reducing the pinned instances of\r\nPerfCounters.\r\n\r\nThe issue is caused by creating multiple pinned events in the\r\nsame thread, doing so results in the Snapshot(PerfCounterValues* values)\r\nfailing, and that\u0027s now discoverable.\r\nCreating multile pinned events is an unsupported behavior currently.\r\nThe error would be detected at read() time, not\r\nperf_event_open() / iotcl() time.\r\n\r\nThe unsupported benavior above is confirmed by Stephane Eranian @seranian,\r\nand he also pointed the dectection method.\r\n\r\nFinished this patch under the guidance of Mircea Trofin @mtrofin.",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "cedeee31c79e5edcf2ab8a2124d7a17532f6586f",
      "old_mode": 33188,
      "old_path": "src/benchmark.cc",
      "new_id": "1a76b58585a51ec4f41e3bab98b0b5d7f81be530",
      "new_mode": 33188,
      "new_path": "src/benchmark.cc"
    },
    {
      "type": "modify",
      "old_id": "eac807b066f10ee6b039039fefbac1a55caa9f89",
      "old_mode": 33188,
      "old_path": "src/benchmark_runner.cc",
      "new_id": "ec7c1273a95242204c111f85f373de561bd55f2b",
      "new_mode": 33188,
      "new_path": "src/benchmark_runner.cc"
    },
    {
      "type": "modify",
      "old_id": "b2ac7687efef65a77c83569c9115547cd03f9570",
      "old_mode": 33188,
      "old_path": "src/perf_counters.cc",
      "new_id": "582475f0bac52c623abcb24fcfcac4e115d18265",
      "new_mode": 33188,
      "new_path": "src/perf_counters.cc"
    },
    {
      "type": "modify",
      "old_id": "47ca1385e24dd705fa7df507e22c4a3371b7692c",
      "old_mode": 33188,
      "old_path": "src/perf_counters.h",
      "new_id": "9a6e46cc5219ae788a8417571520a7f72630397a",
      "new_mode": 33188,
      "new_path": "src/perf_counters.h"
    },
    {
      "type": "modify",
      "old_id": "3eac62463bc5b3057d4a30027f4da5e5b3166fbb",
      "old_mode": 33188,
      "old_path": "test/perf_counters_gtest.cc",
      "new_id": "f9e6a6fc964e8986114a16213ddf67a336d92776",
      "new_mode": 33188,
      "new_path": "test/perf_counters_gtest.cc"
    }
  ]
}
