)]}'
{
  "commit": "f0d2c681ac0a85142fc8abe65fc33fcad35cb9b7",
  "tree": "eafd2b655fc7ad0695fc5dbc343bcc1eb17e2e32",
  "parents": [
    "d6ce96dabe2c4409fd009ec14250a1fdbab4b133"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Wed Apr 29 13:43:37 2009 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Tue May 05 13:51:02 2009 -0400"
  },
  "message": "ring-buffer: add counters for commit overrun and nmi dropped entries\n\nThe WARN_ON in the ring buffer when a commit is preempted and the\nbuffer is filled by preceding writes can happen in normal operations.\nThe WARN_ON makes it look like a bug, not to mention, because\nit does not stop tracing and calls printk which can also recurse, this\nis prone to deadlock (the WARN_ON is not in a position to recurse).\n\nThis patch removes the WARN_ON and replaces it with a counter that\ncan be retrieved by a tracer. This counter is called commit_overrun.\n\nWhile at it, I added a nmi_dropped counter to count any time an NMI entry\nis dropped because the NMI could not take the spinlock.\n\n[ Impact: prevent deadlock by printing normal case warning ]\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "1c2f80911fbe2e29d5afb95fe44cbdaecd641ba5",
      "old_mode": 33188,
      "old_path": "include/linux/ring_buffer.h",
      "new_id": "f1345828c7c58dd58d8b2199eda934013b0e803b",
      "new_mode": 33188,
      "new_path": "include/linux/ring_buffer.h"
    },
    {
      "type": "modify",
      "old_id": "3e86da9b2a09e66474c2905d6238cb9653551a0c",
      "old_mode": 33188,
      "old_path": "kernel/trace/ring_buffer.c",
      "new_id": "26e1359fe193e82d794875d2e7929baabf94d44c",
      "new_mode": 33188,
      "new_path": "kernel/trace/ring_buffer.c"
    }
  ]
}
