)]}'
{
  "commit": "3a9ab99e0341558e451327fbbfc39b0d3cff7e9a",
  "tree": "95b25a87dac85f8633f0b31575f96c528815ddfb",
  "parents": [
    "7e788d967c092343cca773542565c362991c87c0"
  ],
  "author": {
    "name": "Deng-Cheng Zhu",
    "email": "dengcheng.zhu@gmail.com",
    "time": "Tue Oct 12 19:37:24 2010 +0800"
  },
  "committer": {
    "name": "Ralf Baechle",
    "email": "ralf@linux-mips.org",
    "time": "Fri Oct 29 19:08:49 2010 +0100"
  },
  "message": "MIPS: Add support for hardware performance events (mipsxx)\n\nThis patch adds the mipsxx Perf-events support based on the skeleton.\nGeneric hardware events and cache events are now fully implemented for\nthe 24K/34K/74K/1004K cores. To support other cores in mipsxx (such as\nR10000/SB1), the generic hardware event tables and cache event tables\nneed to be filled out. To support other CPUs which have different PMU\nthan mipsxx, such as RM9000 and LOONGSON2, the additional files\nperf_event_$cpu.c need to be created.\n\nRaw event is an important part of Perf-events. It helps the user collect\nperformance data for events that are not listed as the generic hardware\nevents and cache events but ARE supported by the CPU\u0027s PMU.\n\nThis patch also adds this feature for mipsxx 24K/34K/74K/1004K. For how to\nuse it, please refer to processor core software user\u0027s manual and the\ncomments for mipsxx_pmu_map_raw_event() for more details.\n\nPlease note that this is a \"precise\" implementation, which means the\nkernel will check whether the requested raw events are supported by this\nCPU and which hardware counters can be assigned for them.\n\nTo test the functionality of Perf-event, you may want to compile the tool\n\"perf\" for your MIPS platform. You can refer to the following URL:\nhttp://www.linux-mips.org/archives/linux-mips/2010-10/msg00126.html\n\nYou also need to customize the CFLAGS and LDFLAGS in tools/perf/Makefile\nfor your libs, includes, etc.\n\nIn case you encounter the boot failure in SMVP kernel on multi-threading\nCPUs, you may take a look at:\nhttp://www.linux-mips.org/git?p\u003dlinux-mti.git;a\u003dcommitdiff;h\u003d5460815027d802697b879644c74f0e8365254020\n\nSigned-off-by: Deng-Cheng Zhu \u003cdengcheng.zhu@gmail.com\u003e\nTo: linux-mips@linux-mips.org\nCc: a.p.zijlstra@chello.nl\nCc: paulus@samba.org\nCc: mingo@elte.hu\nCc: acme@redhat.com\nCc: jamie.iles@picochip.com\nCc: ddaney@caviumnetworks.com\nCc: matt@console-pimps.org\nPatchwork: https://patchwork.linux-mips.org/patch/1689/\nSigned-off-by: Ralf Baechle \u003cralf@linux-mips.org\u003e\n\n create mode 100644 arch/mips/kernel/perf_event_mipsxx.c\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "95c833e8dc8165400af0e8f4db76d397e26cbf57",
      "old_mode": 33188,
      "old_path": "arch/mips/kernel/perf_event.c",
      "new_id": "2b7f3f703b83cbeb86f48926517f1e0887f07496",
      "new_mode": 33188,
      "new_path": "arch/mips/kernel/perf_event.c"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "5c7c6fc07565bd468a9f78b327073f0212795a42",
      "new_mode": 33188,
      "new_path": "arch/mips/kernel/perf_event_mipsxx.c"
    }
  ]
}
