• Ian Rogers's avatar
    perf build: If libtraceevent isn't present error the build · 6898e60f
    Ian Rogers authored
    If libtraceevent isn't present, the build will warn and continue. This
    disables a number of features and so isn't desirable. This change
    makes the build error for this case. The build can still be made to
    happen by adding NO_LIBTRACEEVENT=1.
    
    Committer notes:
    
    Add NO_LIBTRACEEVENT=1 to the 'make_static' target in
    tools/perf/tests/make so that 'make -C tools/perf build-test' works.
    Signed-off-by: default avatarIan Rogers <irogers@google.com>
    Cc: Adrian Hunter <adrian.hunter@intel.com>
    Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
    Cc: Andres Freund <andres@anarazel.de>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Jiri Olsa <jolsa@kernel.org>
    Cc: Leo Yan <leo.yan@linaro.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Martin Liška <mliska@suse.cz>
    Cc: Namhyung Kim <namhyung@kernel.org>
    Cc: Nathan Chancellor <nathan@kernel.org>
    Cc: Nick Desaulniers <ndesaulniers@google.com>
    Cc: Pavithra Gurushankar <gpavithrasha@gmail.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Quentin Monnet <quentin@isovalent.com>
    Cc: Roberto Sassu <roberto.sassu@huawei.com>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tiezhu Yang <yangtiezhu@loongson.cn>
    Cc: Tom Rix <trix@redhat.com>
    Cc: Yang Jihong <yangjihong1@huawei.com>
    Cc: llvm@lists.linux.dev
    Link: https://lore.kernel.org/r/20230311065753.3012826-2-irogers@google.comSigned-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    6898e60f
make 12.8 KB