)]}'
{
  "commit": "3fd40d1ee6a317523172ab95b6f7ea41ba8fcee3",
  "tree": "b6703da042d877c047136cd4fc3263b1ffccd20d",
  "parents": [
    "35bb4399bd0ef16b8a57fccea0047d98b6b0e7fb"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Thu Aug 09 22:42:57 2012 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Fri Mar 07 10:06:07 2014 -0500"
  },
  "message": "tracing: Use helper functions in event assignment to shrink macro size\n\nThe functions that assign the contents for the ftrace events are\ndefined by the TRACE_EVENT() macros. Each event has its own unique\nway to assign data to its buffer. When you have over 500 events,\nthat means there\u0027s 500 functions assigning data uniquely for each\nevent (not really that many, as DECLARE_EVENT_CLASS() and multiple\nDEFINE_EVENT()s will only need a single function).\n\nBy making helper functions in the core kernel to do some of the work\ninstead, we can shrink the size of the kernel down a bit.\n\nWith a kernel configured with 502 events, the change in size was:\n\n   text    data     bss     dec     hex filename\n12987390        1913504 9785344 24686238        178ae9e /tmp/vmlinux\n12959102        1913504 9785344 24657950        178401e /tmp/vmlinux.patched\n\nThat\u0027s a total of 28288 bytes, which comes down to 56 bytes per event.\n\nLink: http://lkml.kernel.org/r/20120810034708.370808175@goodmis.org\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ffe642eb84fa33b8c3b24d8da5e262be63cb5535",
      "old_mode": 33188,
      "old_path": "include/linux/ftrace_event.h",
      "new_id": "9d3fe065839879cd6f048c79a523bcc2c39ed578",
      "new_mode": 33188,
      "new_path": "include/linux/ftrace_event.h"
    },
    {
      "type": "modify",
      "old_id": "54928faf21191f390f026c8a7f9abebe4091e8fe",
      "old_mode": 33188,
      "old_path": "include/trace/ftrace.h",
      "new_id": "1cc2265caa52cade8577a038f536b5a9d26279df",
      "new_mode": 33188,
      "new_path": "include/trace/ftrace.h"
    },
    {
      "type": "modify",
      "old_id": "22826c73a9da600992184fe8d5ca75e25f26346e",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_events.c",
      "new_id": "b8f73b333a3cecce6ad01623485be05c5dd33542",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_events.c"
    }
  ]
}
