)]}'
{
  "commit": "b45fc0bfaf4a0b60ce2deda222f8ef2a23b89a5f",
  "tree": "d9553e96c218505c113a2ba1ac14db230393f25d",
  "parents": [
    "79b58424b821c651a4b4df9018a14684e3670f42"
  ],
  "author": {
    "name": "Adrian Hunter",
    "email": "adrian.hunter@intel.com",
    "time": "Fri Jul 17 19:33:56 2015 +0300"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Mon Aug 24 17:48:06 2015 -0300"
  },
  "message": "perf tools: Add Intel PT support for using MTC packets\n\nMTC packets are a new Intel PT feature.\n\nMTC packets provide finer grain timestamp information than TSC packets.\n\nSupport for this feature is indicated by:\n\n  /sys/bus/event_source/devices/intel_pt/caps/mtc\n\nwhich contains \"1\" if the feature is supported and \"0\" otherwise.\n\nMTC packets can be requested using a PMU config term e.g. perf record -e\nintel_pt/mtc/u sleep 1\n\nThe frequency of MTC packets can also be specified.  e.g. perf record -e\nintel_pt/mtc,mtc_period\u003d2/u sleep 1\n\nThe default value is 3 or the nearest lower value that is supported.  0\nis always supported.\n\nValid values are given by:\n\n/sys/bus/event_source/devices/intel_pt/caps/mtc_periods\n\nwhich contains a hexadecimal value, the bits of which represent valid\nvalues e.g. bit 2 set means value 2 is valid.\n\nThe value is converted to the MTC frequency as:\n\n\tCTC-frequency / (2 ^ value)\n\ne.g. value 3 means one eighth of CTC-frequency\n\nWhere CTC is the hardware crystal clock, the frequency of which can be\nrelated to TSC via values provided in cpuid leaf 0x15.\n\nIf an invalid value is entered, the error message will give a list of\nvalid values e.g.\n\n\t$ perf record -e intel_pt/mtc_period\u003d15/u uname\n\tInvalid mtc_period for intel_pt. Valid values are: 0,3,6,9\n\ntools/perf/Documentation/intel-pt.txt is updated in a later patch as\nthere are a number of new features being added.\n\nFor more information refer to the June 2015 or later Intel 64 and IA-32\nArchitectures SDM Chapter 36 Intel Processor Trace.\n\nSigned-off-by: Adrian Hunter \u003cadrian.hunter@intel.com\u003e\nCc: Jiri Olsa \u003cjolsa@redhat.com\u003e\nLink: http://lkml.kernel.org/r/1437150840-31811-22-git-send-email-adrian.hunter@intel.com\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "faae9289bcf612548cd49a3e71c03794b9a638c5",
      "old_mode": 33188,
      "old_path": "tools/perf/arch/x86/util/intel-pt.c",
      "new_id": "a5de01dad86806fcd951d81d5666d0a2d069e9fd",
      "new_mode": 33188,
      "new_path": "tools/perf/arch/x86/util/intel-pt.c"
    }
  ]
}
