)]}'
{
  "commit": "d65740d61e7a4ea6d8d77237954b33dd18e3276c",
  "tree": "f75336c1bf8d871f11bb788afba4b5b4709a7387",
  "parents": [
    "356dee73d9ced3e019dea2883a7f357fd4664b3e"
  ],
  "author": {
    "name": "Mark Asselstine",
    "email": "mark.asselstine@windriver.com",
    "time": "Sun Apr 08 11:38:45 2012 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Wed May 23 05:30:18 2012 -0400"
  },
  "message": "trace-cmd: Setting plugin to \u0027nop\u0027 clears data before it\u0027s recorded\n\ncommit e09a5db1a929ab668c273b87c4f0a32b81e1c21a\n[trace-cmd: Add trace-cmd record --date option]\n\nmoved the call to disable_all() in trace_record() from after record_data()\nto before it. Unfortunately disable_all() sets \u0027nop\u0027 in \u0027current_tracer\u0027\nwhich has the side affect of clearing \u0027trace\u0027, thus all the latency tracer\nreports are empty/useless. Here we make disable_all() optionally call\nset_plugin() thus, where we need to, we can delay the disabling of the tracer\nuntil we have had a chance to capture \u0027trace\u0027. We have added this delayed\nbehavior to trace_record() to fix the latency reports, for all other calls to\ndisable_all() we continue to have set_plugin() called.\n\nLink: http://lkml.kernel.org/r/1333899525-6436-1-git-send-email-mark.asselstine@windriver.com\n\nSigned-off-by: Mark Asselstine \u003cmark.asselstine@windriver.com\u003e\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c56fa96dc4f9f17edb7dceea65f0b63021677e7",
      "old_mode": 33188,
      "old_path": "trace-record.c",
      "new_id": "95d4a2a05320a72bdd0afc43515f503f7df6ee89",
      "new_mode": 33188,
      "new_path": "trace-record.c"
    }
  ]
}
