)]}'
{
  "commit": "5821e1b74f0d08952cb5da4bfd2d9a388d8df58e",
  "tree": "e7bade7c500b2d4cd4d8c811a26c844c6f529366",
  "parents": [
    "ee51a1de7e3837577412be269e0100038068e691"
  ],
  "author": {
    "name": "walimis",
    "email": "walimisdev@gmail.com",
    "time": "Sat Nov 15 15:19:06 2008 +0800"
  },
  "committer": {
    "name": "Ingo Molnar",
    "email": "mingo@elte.hu",
    "time": "Sun Nov 16 08:32:05 2008 +0100"
  },
  "message": "function tracing: fix wrong pos computing when read buffer has been fulfilled\n\nImpact: make output of available_filter_functions complete\n\nphenomenon:\n\nThe first value of dyn_ftrace_total_info is not equal with\n`cat available_filter_functions | wc -l`, but they should be equal.\n\nroot cause:\n\nWhen printing functions with seq_printf in t_show, if the read buffer\nis just overflowed by current function record, then this function\nwon\u0027t be printed to user space through read buffer, it will\njust be dropped. So we can\u0027t see this function printing.\n\nSo, every time the last function to fill the read buffer, if overflowed,\nwill be dropped.\n\nThis also applies to set_ftrace_filter if set_ftrace_filter has\nmore bytes than read buffer.\n\nfix:\n\nThrough checking return value of seq_printf, if less than 0, we know\nthis function doesn\u0027t be printed. Then we decrease position to force\nthis function to be printed next time, in next read buffer.\n\nAnother little fix is to show correct allocating pages count.\n\nSigned-off-by: walimis \u003cwalimisdev@gmail.com\u003e\nAcked-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\nSigned-off-by: Ingo Molnar \u003cmingo@elte.hu\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "14fa52297b2857a25aa8aece74f5d34f948dea47",
      "old_mode": 33188,
      "old_path": "kernel/trace/ftrace.c",
      "new_id": "e60205722d0c6abff35b05a033fe895a606d0551",
      "new_mode": 33188,
      "new_path": "kernel/trace/ftrace.c"
    }
  ]
}
