)]}'
{
  "commit": "a8d154b009168337494fbf345671bab74d3e4b8b",
  "tree": "4097612e1a5cc8bf7658542f7d0f51b815113eaf",
  "parents": [
    "ea20d9293ce423a39717ed4375393129a2e701f9"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Fri Apr 10 09:36:00 2009 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Tue Apr 14 12:57:28 2009 -0400"
  },
  "message": "tracing: create automated trace defines\n\nThis patch lowers the number of places a developer must modify to add\nnew tracepoints. The current method to add a new tracepoint\ninto an existing system is to write the trace point macro in the\ntrace header with one of the macros TRACE_EVENT, TRACE_FORMAT or\nDECLARE_TRACE, then they must add the same named item into the C file\nwith the macro DEFINE_TRACE(name) and then add the trace point.\n\nThis change cuts out the needing to add the DEFINE_TRACE(name).\nEvery file that uses the tracepoint must still include the trace/\u003ctype\u003e.h\nfile, but the one C file must also add a define before the including\nof that file.\n\n #define CREATE_TRACE_POINTS\n #include \u003ctrace/mytrace.h\u003e\n\nThis will cause the trace/mytrace.h file to also produce the C code\nnecessary to implement the trace point.\n\nNote, if more than one trace/\u003ctype\u003e.h is used to create the C code\nit is best to list them all together.\n\n #define CREATE_TRACE_POINTS\n #include \u003ctrace/foo.h\u003e\n #include \u003ctrace/bar.h\u003e\n #include \u003ctrace/fido.h\u003e\n\nThanks to Mathieu Desnoyers and Christoph Hellwig for coming up with\nthe cleaner solution of the define above the includes over my first\ndesign to have the C code include a \"special\" header.\n\nThis patch converts sched, irq and lockdep and skb to use this new\nmethod.\n\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nCc: Thomas Gleixner \u003ctglx@linutronix.de\u003e\nCc: Neil Horman \u003cnhorman@tuxdriver.com\u003e\nCc: Zhao Lei \u003czhaolei@cn.fujitsu.com\u003e\nCc: Eduard - Gabriel Munteanu \u003ceduard.munteanu@linux360.ro\u003e\nCc: Pekka Enberg \u003cpenberg@cs.helsinki.fi\u003e\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "de9dc7d8508bb89cb4f5205c6025cc502cab8f84",
      "new_mode": 33188,
      "new_path": "include/trace/define_trace.h"
    },
    {
      "type": "modify",
      "old_id": "04ab4c65222568f5d62fa1417e4ca9a4176efbe7",
      "old_mode": 33188,
      "old_path": "include/trace/irq.h",
      "new_id": "75e3468e44933969967571cc259e816f68e7f095",
      "new_mode": 33188,
      "new_path": "include/trace/irq.h"
    },
    {
      "type": "modify",
      "old_id": "d7d12189e5c8c512d098bda6c1513bc91fb4a22e",
      "old_mode": 33188,
      "old_path": "include/trace/kmem.h",
      "new_id": "c22c42f980b5e522c8c122a90b680cb8df5a973b",
      "new_mode": 33188,
      "new_path": "include/trace/kmem.h"
    },
    {
      "type": "modify",
      "old_id": "8ee7900b38c4145cb924404dcefd6dffb613145f",
      "old_mode": 33188,
      "old_path": "include/trace/lockdep.h",
      "new_id": "4d301e758de3eebbf63513d8cc41836f3def0fa4",
      "new_mode": 33188,
      "new_path": "include/trace/lockdep.h"
    },
    {
      "type": "modify",
      "old_id": "5b1cf4a28463c9dae4fe4191bfaf375caba690f6",
      "old_mode": 33188,
      "old_path": "include/trace/sched.h",
      "new_id": "ffa1cab586b9badb94f6c200fa97b4ac9b8d2f57",
      "new_mode": 33188,
      "new_path": "include/trace/sched.h"
    },
    {
      "type": "modify",
      "old_id": "e6fd281f7f81b10ecbec5bf2b14c5b4e80d63283",
      "old_mode": 33188,
      "old_path": "include/trace/skb.h",
      "new_id": "1e8fabb57c06e4db8f46704153642bf873f87f77",
      "new_mode": 33188,
      "new_path": "include/trace/skb.h"
    },
    {
      "type": "modify",
      "old_id": "abf9cf3b95c609f12ccb0c6992cc3a8221bdcf8b",
      "old_mode": 33188,
      "old_path": "kernel/exit.c",
      "new_id": "2fe9d2c7eeeec6ec0b2d09ef8ee11543cdf0a626",
      "new_mode": 33188,
      "new_path": "kernel/exit.c"
    },
    {
      "type": "modify",
      "old_id": "b9e2edd00726538467877d458d7aeb7771c03015",
      "old_mode": 33188,
      "old_path": "kernel/fork.c",
      "new_id": "4bebf2639235878c1c04e30f9bc837f4779058fb",
      "new_mode": 33188,
      "new_path": "kernel/fork.c"
    },
    {
      "type": "modify",
      "old_id": "d82142be8dd2c8fddc340058ff9cd73373f6a31b",
      "old_mode": 33188,
      "old_path": "kernel/irq/handle.c",
      "new_id": "983d8be8dff710542510e39900e2b8bf18db1e68",
      "new_mode": 33188,
      "new_path": "kernel/irq/handle.c"
    },
    {
      "type": "modify",
      "old_id": "4ebaf8519abf64fb0cc4e93ef42d7ad0cf286c9f",
      "old_mode": 33188,
      "old_path": "kernel/kthread.c",
      "new_id": "e1c76924545b159bf1541047621a98e8647131d9",
      "new_mode": 33188,
      "new_path": "kernel/kthread.c"
    },
    {
      "type": "modify",
      "old_id": "c4582a6ea953476509ebeb30c11ce47813a1066f",
      "old_mode": 33188,
      "old_path": "kernel/lockdep.c",
      "new_id": "257f21a76c52eaa519f2fb18ea2a42ed8aea26e8",
      "new_mode": 33188,
      "new_path": "kernel/lockdep.c"
    },
    {
      "type": "modify",
      "old_id": "5724508c3b66b30d8182f32bc0cde560f790ba01",
      "old_mode": 33188,
      "old_path": "kernel/sched.c",
      "new_id": "e6d4518d47e00566a03ca2799bacd600a85966ad",
      "new_mode": 33188,
      "new_path": "kernel/sched.c"
    },
    {
      "type": "modify",
      "old_id": "d8034737db4cb86f8adca044560a3765ac65dba5",
      "old_mode": 33188,
      "old_path": "kernel/signal.c",
      "new_id": "1d5703ff003c31a5481db12bb40f5141fd0385d0",
      "new_mode": 33188,
      "new_path": "kernel/signal.c"
    },
    {
      "type": "modify",
      "old_id": "2fecefacdc5bc56917c13369420625a919e73c14",
      "old_mode": 33188,
      "old_path": "kernel/softirq.c",
      "new_id": "a2d9b458ac2b56a8b2cca2588a0ff345506011ba",
      "new_mode": 33188,
      "new_path": "kernel/softirq.c"
    },
    {
      "type": "modify",
      "old_id": "2599e83eea17a9c9673c26507541b12581e952f0",
      "old_mode": 33188,
      "old_path": "mm/util.c",
      "new_id": "0e74a22791cb07abced2337b101a88acbaaa8507",
      "new_mode": 33188,
      "new_path": "mm/util.c"
    },
    {
      "type": "modify",
      "old_id": "c8fb45665e4f4af4cf6ced67fe90fff64f74e3ed",
      "old_mode": 33188,
      "old_path": "net/core/net-traces.c",
      "new_id": "801772059474198bfa14d2508035c0adc84f3cf4",
      "new_mode": 33188,
      "new_path": "net/core/net-traces.c"
    }
  ]
}
