)]}'
{
  "commit": "3989bbf9607d6716900d9df91c46a2ce8a504b93",
  "tree": "e7d099204441f0b9a5d1482a145710891eca7434",
  "parents": [
    "0ee281e1e4e12f8c09b99f80a2482a55cd7d6bca"
  ],
  "author": {
    "name": "Leo Yan",
    "email": "leo.yan@linaro.org",
    "time": "Mon Oct 19 18:02:35 2020 +0800"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Wed Nov 04 09:42:40 2020 -0300"
  },
  "message": "perf tests tsc: Make tsc testing as a common testing\n\nx86 arch provides the testing for conversion between tsc and perf time,\nthe testing is located in x86 arch folder.  Move this testing out from\nx86 arch folder and place it into the common testing folder, so allows\nto execute tsc testing on other architectures (e.g. Arm64).\n\nThis patch removes the inclusion of \"arch-tests.h\" from the testing\ncode, this can avoid building failure if any arch has no this header\nfile.\n\nCommitter testing:\n\n  $ perf test -v tsc\n  Couldn\u0027t bump rlimit(MEMLOCK), failures may take place when creating BPF maps, etc\n  70: Convert perf time to TSC                                        :\n  --- start ---\n  test child forked, pid 4032834\n  mmap size 528384B\n  1st event perf time 165409788843605 tsc 336578703793868\n  rdtsc          time 165409788854986 tsc 336578703837038\n  2nd event perf time 165409788855487 tsc 336578703838935\n  test child finished with 0\n  ---- end ----\n  Convert perf time to TSC: Ok\n  $\n\nSigned-off-by: Leo Yan \u003cleo.yan@linaro.org\u003e\nAcked-by: Jiri Olsa \u003cjolsa@redhat.com\u003e\nTested-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\nLink: https://lore.kernel.org/r/20201019100236.23675-2-leo.yan@linaro.org\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "c41c5affe4be7744c4404b273b0853348cfc69fa",
      "old_mode": 33188,
      "old_path": "tools/perf/arch/x86/include/arch-tests.h",
      "new_id": "6a54b94f1c25b4c2798861e9662e0c957b4d5ce9",
      "new_mode": 33188,
      "new_path": "tools/perf/arch/x86/include/arch-tests.h"
    },
    {
      "type": "modify",
      "old_id": "2997c506550c1330fb2af4b0d42dd74137f0b42d",
      "old_mode": 33188,
      "old_path": "tools/perf/arch/x86/tests/Build",
      "new_id": "36d4f248b51dbceda1364767b6949fe720cd6770",
      "new_mode": 33188,
      "new_path": "tools/perf/arch/x86/tests/Build"
    },
    {
      "type": "modify",
      "old_id": "6763135aec17b2712199d3573d111bf364a9df50",
      "old_mode": 33188,
      "old_path": "tools/perf/arch/x86/tests/arch-tests.c",
      "new_id": "bc25d727b4e9af4be2b2d360b928d9ab01fca7ae",
      "new_mode": 33188,
      "new_path": "tools/perf/arch/x86/tests/arch-tests.c"
    },
    {
      "type": "modify",
      "old_id": "4d15bf6041fb9520961d5340114089f23f13bcd8",
      "old_mode": 33188,
      "old_path": "tools/perf/tests/Build",
      "new_id": "aa4dc4f5abde0b5c5be5724939fb2e47cf8fcef3",
      "new_mode": 33188,
      "new_path": "tools/perf/tests/Build"
    },
    {
      "type": "modify",
      "old_id": "132bdb3e6c31a0cb4e4d668b10445d992c92484b",
      "old_mode": 33188,
      "old_path": "tools/perf/tests/builtin-test.c",
      "new_id": "02e7bbf70419aedd420056e0f519a12687b43e3e",
      "new_mode": 33188,
      "new_path": "tools/perf/tests/builtin-test.c"
    },
    {
      "type": "rename",
      "old_id": "026d32ed078e6e436c743ba008831ed9958ae6a1",
      "old_mode": 33188,
      "old_path": "tools/perf/arch/x86/tests/perf-time-to-tsc.c",
      "new_id": "aee97c16c0d9b973a843c761ca513a316ab13c7f",
      "new_mode": 33188,
      "new_path": "tools/perf/tests/perf-time-to-tsc.c",
      "score": 97
    },
    {
      "type": "modify",
      "old_id": "c85a2c08e40720f9da1c5f4ba4d2e95220db9bba",
      "old_mode": 33188,
      "old_path": "tools/perf/tests/tests.h",
      "new_id": "c9b180e640e5f21cd5c75e4a42d1f3d38bb206d6",
      "new_mode": 33188,
      "new_path": "tools/perf/tests/tests.h"
    }
  ]
}
