)]}'
{
  "commit": "3cecaa2002273887a9364c454684fa8491bb2b10",
  "tree": "e59105584b3ae87fac4f7ce5ca1ca1623019b4cc",
  "parents": [
    "1aa3d1780f518080e6a51a5288cd05fb4b34d82c"
  ],
  "author": {
    "name": "Namhyung Kim",
    "email": "namhyung.kim@lge.com",
    "time": "Wed Jan 16 20:59:53 2013 +0900"
  },
  "committer": {
    "name": "Arnaldo Carvalho de Melo",
    "email": "acme@redhat.com",
    "time": "Thu Jan 24 16:40:45 2013 -0300"
  },
  "message": "perf tools: Do not include PERF-VERSION-FILE to Makefile\n\nWhen make runs it tries to update the Makefile rules by reading all of\nincluded Makefiles.  During the perf build it checks PERF-VERSION-FILE\nto get the current version number.  But it triggers Makefile update so\nthat make runs again with the update Makefile and, in turn, users will\nsee duplicate CHK message on the second path.\n\nRunning make with -d option for debugging tells me this:\n\nGNU Make 3.82\nBuilt for x86_64-redhat-linux-gnu\nCopyright (C) 2010  Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\nReading makefiles...\nReading makefile `Makefile\u0027...\nReading makefile `../scripts/Makefile.include\u0027 (search path) (no ~ expansion)...\nReading makefile `config/utilities.mak\u0027 (search path) (no ~ expansion)...\nReading makefile `PERF-VERSION-FILE\u0027 (search path) (don\u0027t care) (no ~ expansion)...\nReading makefile `config/feature-tests.mak\u0027 (search path) (don\u0027t care) (no ~ expansion)...\n    CHK -fstack-protector-all\n    CHK -Wstack-protector\n    CHK -Wvolatile-register-var\n...\nUpdating makefiles....\n Considering target file `PERF-VERSION-FILE\u0027.\n Must remake target `PERF-VERSION-FILE\u0027.\nInvoking recipe from Makefile:52 to update target `PERF-VERSION-FILE\u0027.\nPutting child 0x14037a0 (PERF-VERSION-FILE) PID 31925 on the chain.\nLive child 0x14037a0 (PERF-VERSION-FILE) PID 31925\nPERF_VERSION \u003d 3.8.rc3.gf751db6\nReaping winning child 0x14037a0 PID 31925\nRemoving child 0x14037a0 PID 31925 from chain.\n Successfully remade target file `PERF-VERSION-FILE\u0027.\n...\nRe-executing[1]: make -d                       \u003c------------ here\nGNU Make 3.82\nBuilt for x86_64-redhat-linux-gnu\nCopyright (C) 2010  Free Software Foundation, Inc.\nLicense GPLv3+: GNU GPL version 3 or later \u003chttp://gnu.org/licenses/gpl.html\u003e\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\nReading makefiles...\nReading makefile `Makefile\u0027...\nReading makefile `../scripts/Makefile.include\u0027 (search path) (no ~ expansion)...\nReading makefile `config/utilities.mak\u0027 (search path) (no ~ expansion)...\nReading makefile `PERF-VERSION-FILE\u0027 (search path) (don\u0027t care) (no ~ expansion)...\nReading makefile `config/feature-tests.mak\u0027 (search path) (don\u0027t care) (no ~ expansion)...\n    CHK -fstack-protector-all\n    CHK -Wstack-protector\n    CHK -Wvolatile-register-var\n...\n\nActually PERF-VERSION-FILE is used only for perf.c to #define\nPERF_VERSION macro.  So make it like a C header file and include it\nduring compiling the perf.c file will remove the need of being\nincluded into Makefile.  Hench no need to update the Makefile and no\nCHK lines anymore.\n\nSigned-off-by: Namhyung Kim \u003cnamhyung@kernel.org\u003e\nCc: Ingo Molnar \u003cmingo@kernel.org\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003ca.p.zijlstra@chello.nl\u003e\nLink: http://lkml.kernel.org/r/1358337594-10916-1-git-send-email-namhyung@kernel.org\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6aef6d00e3c2eb911a7ddd0b9eff4f746ebb3b51",
      "old_mode": 33188,
      "old_path": "tools/perf/Makefile",
      "new_id": "a84021abb3fe0d5e3e0b55dff1a113847c4d6252",
      "new_mode": 33188,
      "new_path": "tools/perf/Makefile"
    },
    {
      "type": "modify",
      "old_id": "6aa34e5afdcfc0a57cafc12d6bc631d2d8169fbb",
      "old_mode": 33261,
      "old_path": "tools/perf/util/PERF-VERSION-GEN",
      "new_id": "055fef34b6f6cf791a4b7daa8e73a8e3765591ff",
      "new_mode": 33261,
      "new_path": "tools/perf/util/PERF-VERSION-GEN"
    }
  ]
}
