)]}'
{
  "commit": "9b63776fa3ca96c4ecda76f6fa947b7b0add66ac",
  "tree": "ac90f2faceecab78d7d547c33daef31d4a9e2943",
  "parents": [
    "20d23aaa31da295378abff4272716e3dfc72baf0"
  ],
  "author": {
    "name": "Steven Rostedt",
    "email": "srostedt@redhat.com",
    "time": "Thu May 10 15:55:43 2012 -0400"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Thu May 10 15:55:43 2012 -0400"
  },
  "message": "tracing: Do not enable function event with enable\n\nWith the adding of function tracing event to perf, it caused a\nside effect that produces the following warning when enabling all\nevents in ftrace:\n\n # echo 1 \u003e /sys/kernel/debug/tracing/events/enable\n\n[console]\nevent trace: Could not enable event function\n\nThis is because when enabling all events via the debugfs system\nit ignores events that do not have a -\u003ereg() function assigned.\nThis was to skip over the ftrace internal events (as they are\nnot TRACE_EVENTs). But as the ftrace function event now has\na -\u003ereg() function attached to it for use with perf, it is no\nlonger ignored.\n\nWorse yet, this -\u003ereg() function is being called when it should\nnot be. It returns an error and causes the above warning to\nbe printed.\n\nBy adding a new event_call flag (TRACE_EVENT_FL_IGNORE_ENABLE)\nand have all ftrace internel event structures have it set,\nsetting the events/enable will no longe try to incorrectly enable\nthe function event and does not warn.\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5f3f3be5af09b6446026f32c0845d842c257b629",
      "old_mode": 33188,
      "old_path": "include/linux/ftrace_event.h",
      "new_id": "176a939d15474cf73baff4b1d0020c2e1212d19b",
      "new_mode": 33188,
      "new_path": "include/linux/ftrace_event.h"
    },
    {
      "type": "modify",
      "old_id": "079a93ae8a9db67ff990300024a8dce0f08cd4e1",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_events.c",
      "new_id": "29111da1d1006c1f7b57a939b54517d17f315520",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_events.c"
    },
    {
      "type": "modify",
      "old_id": "3dd15e8bc856d87f7e4525a1577b5af579db6f96",
      "old_mode": 33188,
      "old_path": "kernel/trace/trace_export.c",
      "new_id": "e039906b037df1fbdd9f50d22b59a650921b4a3a",
      "new_mode": 33188,
      "new_path": "kernel/trace/trace_export.c"
    }
  ]
}
