)]}'
{
  "log": [
    {
      "commit": "f9af3a4c1f59753bdd5a49e3a34263005f96972e",
      "tree": "f6e773d22c83f550367931fd4fe7fb0b3d2e30d7",
      "parents": [
        "c726b61c6a5acc54c55ed7a0e7638cc4c5a100a8"
      ],
      "author": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Jun 09 16:57:39 2010 -0300"
      },
      "committer": {
        "name": "Arnaldo Carvalho de Melo",
        "email": "acme@redhat.com",
        "time": "Wed Jun 09 16:57:39 2010 -0300"
      },
      "message": "perf tools: Reorganize the Makefile feature tests\n\nMoving the tests to a separate file, feature-tests.mak and using a try-cc\nfunction similar to the try-run in Kbuild.\n\nThis also makes the output more quiet as we can stop using the INTERMEDIATE\ntarget to remove the .perf.dev.null file needed for some gcc versions where\n/dev/null can\u0027t be used as the output file name.\n\nAs the tests get shorter by uninlining the source code used to test for\nfeatures, we can more properly use identation.\n\nThe feature tests itself can be made more clear and reused, like when trying to\nsee what is needed to have bfd_demangle.\n\nWe also get a bit closer to reusing scripts/Kbuild.include, reducing the\ndistance from the kernel build system.\n\nTests performed:\n\n[root@emilia perf]# make -j9 O\u003d/tmp/perf\nPERF_VERSION \u003d 0.0.2.PERF\n    GEN /tmp/perf/common-cmds.h\n    * new build flags or prefix\n    GEN perf-archive\n    CC /tmp/perf/builtin-annotate.o\n    CC /tmp/perf/bench/sched-messaging.o\n    CC /tmp/perf/builtin-diff.o\n\u003cSNIP\u003e\n    CC /tmp/perf/scripts/python/Perf-Trace-Util/Context.o\n    CC /tmp/perf/perf.o\n    CC /tmp/perf/builtin-help.o\n    AR /tmp/perf/libperf.a\n    LINK /tmp/perf/perf\n[root@emilia perf]#\n\nIf we uninstall, for instance newt-devel we get:\n\n[root@emilia perf]# rpm -e newt-devel\n[root@emilia perf]# make -j9 O\u003d/tmp/perf\nMakefile:564: newt not found, disables TUI support. Please install newt-devel or libnewt-dev\n    * new build flags or prefix\n    GEN perf-archive\n    CC /tmp/perf/perf.o\n    CC /tmp/perf/builtin-annotate.o\n\u003cSNIP\u003e\n    AR /tmp/perf/libperf.a\n    LINK /tmp/perf/perf\n[root@emilia perf]#\n\nAnd then binutils-devel:\n\n[root@emilia perf]# make -j9 O\u003d/tmp/perf\nMakefile:564: newt not found, disables TUI support. Please install newt-devel or libnewt-dev\nMakefile:632: No bfd.h/libbfd found, install binutils-dev[el]/zlib-static to gain symbol demangling\n    * new build flags or prefix\n    GEN perf-archive\n    CC /tmp/perf/perf.o\n\u003cSNIP\u003e\n    AR /tmp/perf/libperf.a\n    LINK /tmp/perf/perf\n[root@emilia perf]#\n\nAnd then strictly required devel packages:\n\n[root@emilia perf]# rpm -e elfutils-libelf-devel elfutils-devel\n[root@emilia perf]# make -j9 O\u003d/tmp/perf\nMakefile:509: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev\nMakefile:542: *** No libelf.h/libelf found, please install libelf-dev/elfutils-libelf-devel.  Stop.\n[root@emilia perf]#\n\nAfter installing everything back on:\n\n[root@emilia perf]# yum install elfutils-devel binutils-devel newt-devel\n\u003cSNIP\u003e\nInstalled:\n  binutils-devel.x86_64 0:2.20.51.0.2-5.11.el6\n  elfutils-devel.x86_64 0:0.147-1.el6\n  elfutils-libelf-devel.x86_64 0:0.147-1.el6\n  newt-devel.x86_64 0:0.52.11-1.el6\n\nComplete!\n[root@emilia perf]# make -j9\nPERF_VERSION \u003d 0.0.2.PERF\n    GEN common-cmds.h\n    * new build flags or prefix\n    GEN perf-archive\n    CC builtin-annotate.o\n\u003cSNIP\u003e\n    AR libperf.a\n    LINK perf\n[root@emilia perf]# make -j9\n[root@emilia perf]#\n\nThanks to Sam for pointing me to try-run.\n\nCc: David S. Miller \u003cdavem@davemloft.net\u003e\nCc: Frédéric Weisbecker \u003cfweisbec@gmail.com\u003e\nCc: Ingo Molnar \u003cmingo@elte.hu\u003e\nCc: Michal Marek \u003cmmarek@suse.cz\u003e\nCc: Mike Galbraith \u003cefault@gmx.de\u003e\nCc: Paul Mackerras \u003cpaulus@samba.org\u003e\nCc: Peter Zijlstra \u003cpeterz@infradead.org\u003e\nCc: Sam Ravnborg \u003csam@ravnborg.org\u003e\nCc: Stephane Eranian \u003ceranian@google.com\u003e\nCc: Tom Zanussi \u003ctzanussi@gmail.com\u003e\nLKML-Reference: \u003cnew-submission\u003e\nSigned-off-by: Arnaldo Carvalho de Melo \u003cacme@redhat.com\u003e\n"
    }
  ]
}
