)]}'
{
  "commit": "45677454dd6d128608117abe7dcd2bdfdd7cdf72",
  "tree": "61cad49e7d358bfb5c7c23b535d8b7094f89c116",
  "parents": [
    "ae51ce9061b1ddc0fde363913c932bee5b9bc5fd"
  ],
  "author": {
    "name": "Wu Zhangjin",
    "email": "wuzhangjin@gmail.com",
    "time": "Thu Oct 28 00:24:34 2010 +0800"
  },
  "committer": {
    "name": "Steven Rostedt",
    "email": "rostedt@goodmis.org",
    "time": "Thu Nov 18 17:16:05 2010 -0500"
  },
  "message": "ftrace: Speed up recordmcount\n\ncmd_record_mcount is used to locate the _mcount symbols in the object\nfiles, only the files compiled with -pg has the _mcount symbol, so, it\nis only needed for such files, but the current cmd_record_mcount is used\nfor all of the object files, so, we need to fix it and speed it up.\n\nSince -pg may be removed by the method used in kernel/trace/Makefile:\n\nORIG_CFLAGS :\u003d $(KBUILD_CFLAGS)\nKBUILD_CFLAGS \u003d $(subst -pg,,$(ORIG_CFLAGS))\n\nOr may be removed by the method used in arch/x86/kernel/Makefile:\n\nCFLAGS_REMOVE_file.o \u003d -pg\n\nSo, we must check the last variable stores the compiling flags, that is\nc_flags(Please refer to cmd_cc_o_c and rule_cc_o_c defined in\nscripts/Makefile.build) and since the CFLAGS_REMOVE_file.o is already\nfiltered in _c_flags(Please refer to scripts/Makefile.lib) and _c_flags\nhas less symbols, therefore, we only need to check _c_flags.\n\n---------------\nChanges from v1:\n\n  o Don\u0027t touch Makefile for CONFIG_FTRACE_MCOUNT_RECORD is enough\n  o Use _c_flags intead of KBUILD_CFLAGS to cover CONFIG_REMOVE_file.o \u003d -pg\n  (feedback from Steven Rostedt \u003crostedt@goodmis.org\u003e)\n\nAcked-by: Michal Marek \u003cmmarek@suse.cz\u003e\nSigned-off-by: Wu Zhangjin \u003cwuzhangjin@gmail.com\u003e\nLKML-Reference: \u003c3dc8cddf022eb7024f9f2cf857529a15bee8999a.1288196498.git.wuzhangjin@gmail.com\u003e\n\n[ changed if [ .. \u003d\u003d .. ] to if [ .. \u003d .. ] to handle dash environments ]\n\nSigned-off-by: Steven Rostedt \u003crostedt@goodmis.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "5ad25e17b6cb2782a2101b59ad7cfd442a8af2ea",
      "old_mode": 33188,
      "old_path": "scripts/Makefile.build",
      "new_id": "4eb99ab34053769f5b2b644594427b2bdc108c82",
      "new_mode": 33188,
      "new_path": "scripts/Makefile.build"
    }
  ]
}
