Re: [PATCH 8/8] perf tools: Make perf depend on libbpf
From: Arnaldo Carvalho de Melo
Date: Tue Sep 22 2015 - 09:12:43 EST
Em Tue, Sep 22, 2015 at 09:02:59AM +0200, Jiri Olsa escreveu:
> On Mon, Sep 21, 2015 at 06:23:21PM -0300, Arnaldo Carvalho de Melo wrote:
>
> SNIP
>
> > + NO_LIBBPF := 1
> > else
> > ifneq ($(filter s% -static%,$(LDFLAGS),),)
> > msg := $(error No static glibc found, please install glibc-static);
> > @@ -309,6 +312,13 @@ ifndef NO_LIBELF
> > $(call detected,CONFIG_DWARF)
> > endif # PERF_HAVE_DWARF_REGS
> > endif # NO_DWARF
> > +
> > + ifndef NO_LIBBPF
> > + ifeq ($(feature-bpf), 1)
> > + CFLAGS += -DHAVE_LIBBPF_SUPPORT
> > + $(call detected,CONFIG_LIBBPF)
>
> what depends on CONFIG_LIBBPF ? I dont see any object being dependent on it
Nothing, as far as this patchkit goes, that is why I said this in the
cover letter:
---------------------------------------------------------------
The last one is not planned for my next perf/core pull req to
Ingo, still requires some more work, but is necessary so that we can
exercise the tools/build/ features fixed/introduced in this patchkit.
---------------------------------------------------------------
https://lkml.kernel.org/r/1442870601-26004-1-git-send-email-acme@xxxxxxxxxx
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/