From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 855BCE9271B for ; Thu, 5 Oct 2023 15:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234432AbjJEP6S (ORCPT ); Thu, 5 Oct 2023 11:58:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54410 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234357AbjJEP4o (ORCPT ); Thu, 5 Oct 2023 11:56:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 55AEB4EEA for ; Thu, 5 Oct 2023 06:52:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 842C8C4AF7C; Thu, 5 Oct 2023 13:46:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696513590; bh=Vxu7IYRcRA3at04zzkrUOH/h71VC6MDIlrfNN/mUCfM=; h=Date:From:To:Cc:Subject:From; b=O1ZaV9SYvnrbjSGzWTKxmLNRNBaBQZuQME1HGQJkya6AjnB6lsfOKqayss1fVsZZH sTMdb/rgggQN3IbYjLZ0dkOmCqc451rnsXk8P+WUO+eBf26OKIaFmpVhv+eFvfcXUW eVYj5bVCnd95dFn0uvtX2935jyYfSt+8EGKnk1LacIuQx98scrHHoH6E0dRZR+ct6g u5R84/GDFxEnGFaY/dMsgDGeevJlrJbcm7GxvfyeAyYKoHdYMQiBSdSzWeVLqPj9j3 kagXnFldPXej/15J+i4S/LGYlyi13cYE38xQs/3JTzSM3B93HjE6PzQ/QlsAMAMPld 3BxHdj7+7DQsA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id D115F40508; Thu, 5 Oct 2023 10:46:26 -0300 (-03) Date: Thu, 5 Oct 2023 10:46:26 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Adrian Hunter , Ian Rogers , Jiri Olsa , Linux Kernel Mailing List Subject: [PATCH 1/1] perf build: Add missing comment about NO_LIBTRACEEVENT=1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnaldo Carvalho de Melo By default perf will fail the build if the development files for libtraceevent are not available. To build perf without libtraceevent support, disabling several features such as 'perf trace', one needs to add NO_LIBTRACEVENT=1 to the make command line. Add the missing comments about that to the tools/perf/Makefile.perf file, just like all the other such command line toggles. Fixes: 378ef0f5d9d7f465 ("perf build: Use libtraceevent from the system") Cc: Adrian Hunter Cc: Ian Rogers Cc: Jiri Olsa Cc: Namhyung Kim Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/Makefile.perf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/Makefile.perf b/tools/perf/Makefile.perf index 98604e396ac33643..456872ac410df4c0 100644 --- a/tools/perf/Makefile.perf +++ b/tools/perf/Makefile.perf @@ -69,6 +69,10 @@ include ../scripts/utilities.mak # Define NO_LIBDW_DWARF_UNWIND if you do not want libdw support # for dwarf backtrace post unwind. # +# Define NO_LIBTRACEEVENT=1 if you don't want libtraceevent to be linked, +# this will remove multiple features and tools, such as 'perf trace', +# that need it to read tracefs event format files, etc. +# # Define NO_PERF_READ_VDSO32 if you do not want to build perf-read-vdso32 # for reading the 32-bit compatibility VDSO in 64-bit mode # -- 2.41.0 --