)]}'
{
  "commit": "6ecc2d1ca39177edb6fbdb7412948b0e9f409d02",
  "tree": "336a12a2f3db016f967717e1cb06e9171a239ce5",
  "parents": [
    "eb594e45f6979cd10b18d87f7b3f02119e00a108"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Fri Feb 27 21:33:02 2009 -0500"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Sat Feb 28 02:59:43 2009 -0500"
  },
  "message": "tracing: add subsystem level to trace events\n\nIf a trace point header defines TRACE_SYSTEM, then it will add the\nfollowing trace points into that event system.\n\nIf include/trace/irq_event_types.h has:\n\n #define TRACE_SYSTEM irq\n\nat the top and\n\n #undef TRACE_SYSTEM\n\nat the bottom, then a directory \"irq\" will be created in the\n/debug/tracing/events directory. Inside that directory will contain the\ntwo trace points that are defined in include/trace/irq_event_types.h.\n\nOnly adding the above to irq and not to sched, we get:\n\n # ls /debug/tracing/events/\nirq                     sched_process_exit  sched_signal_send  sched_wakeup_new\nsched_kthread_stop      sched_process_fork  sched_switch\nsched_kthread_stop_ret  sched_process_free  sched_wait_task\nsched_migrate_task      sched_process_wait  sched_wakeup\n\n # ls /debug/tracing/events/irq\nirq_handler_entry  irq_handler_exit\n\nIf we add #define TRACE_SYSTEM sched to the trace/sched_event_types.h\nthen the rest of the trace events will be put in a sched directory\nwithin the events directory.\n\nI\u0027ve been playing with this idea of the subsystem for a while, but\nrecently Tom Zanussi posted some patches to lkml that included this\nmethod. Tom\u0027s approach was clean and got me to finally put some effort\nto clean up the event trace points.\n\nThanks to Tom Zanussi for demonstrating how nice the subsystem\nmethod is.\n\nSigned-off-by: Steven Rostedt \u003csrostedt@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "46e27ad2487ef4e52eec9cdf0a6708e490f1b34e",
      "old_mode": 33188,
      "old_path": "kernel/trace/events.c",
      "new_id": "4e4e45860c58d2afc59a1f7e985d5cc1cbdd08da",
      "new_mode": 33188,
      "new_path": "kernel/trace/events.c"
    },
    {
      "type": "modify",
      "old_id": "3bcb9df93342db11769249fbb07248619cf9fa95",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_events.c",
      "new_id": "19332200c457409040f787c0df7e7ed06ead92c6",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_events.c"
    },
    {
      "type": "modify",
      "old_id": "deb95e5006c80e707ea8b32e71ab8832706feb04",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_events.h",
      "new_id": "b015d7b19878ac8caf037c2712e40725cea65bba",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_events.h"
    }
  ]
}
