)]}'
{
  "commit": "f5abaa1bfc3dbf26d19d3513f39279ca369f8d65",
  "tree": "b3b5151c021486b65b0f01f5f4d1cfb94b82d1f9",
  "parents": [
    "7d132055814ef17a6c7b69f342244c410a5e000f"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Thu Jun 20 11:44:44 2013 -0400"
  },
  "committer": {
    "name": "H. Peter Anvin",
    "email": "hpa@linux.intel.com",
    "time": "Thu Jun 20 22:24:32 2013 -0700"
  },
  "message": "tracing: Add DEFINE_EVENT_FN() macro\n\nEach TRACE_EVENT() adds several helper functions. If two or more trace events\nshare the same structure and print format, they can also share most of these\nhelper functions and save a lot of space from duplicate code. This is why the\nDECLARE_EVENT_CLASS() and DEFINE_EVENT() were created.\n\nSome events require a trigger to be called at registering and unregistering of\nthe event and to do so they use TRACE_EVENT_FN().\n\nIf multiple events require a trigger, they currently have no choice but to use\nTRACE_EVENT_FN() as there\u0027s no DEFINE_EVENT_FN() available. This unfortunately\ncauses a lot of wasted duplicate code created.\n\nBy adding a DEFINE_EVENT_FN(), these events can still use a\nDECLARE_EVENT_CLASS() and then define their own triggers.\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nLink: http://lkml.kernel.org/r/51C3236C.8030508@hds.com\nSigned-off-by: Seiji Aguchi \u003cseiji.aguchi@hds.com\u003e\nSigned-off-by: H. Peter Anvin \u003chpa@linux.intel.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f8e084d0fc772a59bd786871bb6b166e2303a252",
      "old_mode": 33188,
      "old_path": "include/linux/tracepoint.h",
      "new_id": "ebeab360d851c1ece4952b3f5f4f294aa9673db0",
      "new_mode": 33188,
      "new_path": "include/linux/tracepoint.h"
    },
    {
      "type": "modify",
      "old_id": "1905ca8dd3990673ce5ccafa07144d5c3b19168d",
      "old_mode": 33188,
      "old_path": "include/trace/define_trace.h",
      "new_id": "02e1003568a414584431181603913de0cfb4cb21",
      "new_mode": 33188,
      "new_path": "include/trace/define_trace.h"
    },
    {
      "type": "modify",
      "old_id": "19edd7facaa1c627ac96574c93e9bf6b32c67aed",
      "old_mode": 33188,
      "old_path": "include/trace/ftrace.h",
      "new_id": "d615f78cc6b6945d3fa73609056aa1f0bc577870",
      "new_mode": 33188,
      "new_path": "include/trace/ftrace.h"
    }
  ]
}
