Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp396046rdb; Thu, 5 Oct 2023 08:58:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHo2NSHA43+GBSP/7OG/nY3z5lCFjD0VlM82rphgE5/cHuHbcRqrDPmYHpQoFQ3Fe+P/qNq X-Received: by 2002:a05:6358:9485:b0:135:46d9:12f7 with SMTP id i5-20020a056358948500b0013546d912f7mr4900115rwb.26.1696521519125; Thu, 05 Oct 2023 08:58:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521519; cv=none; d=google.com; s=arc-20160816; b=idLKqPLCgBPcE1WzRKUNN+wksNxoaQ31tGRBjcEA+BmfW+pVluI2qhmr39o/e55kcw riNdbqXuvFP1Z6PiWjbL33akmAxFtClK5CDgqY0+0LcOZC0X+BdXlkEFpF/p+GAsszNr mhNp08qdoUqqw/cvy+S6CFExIXeymGEwcItQkpYjkMEuMvmytjZXPP58L0NEl9MeBocP pVAv6v28XlQgoOzVImMWkrqmFe/Nb4wUmN8luzNxxoeSAGqb9RTofl05DzfWuXboLF1t Qnm4QqW00Nmnvo2ehERqBJ46U7RBZPL75/3BV+jtkwL2tGGuqAVo5orn1dTXwVYENf0s wQug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=qltP3wKLghCdBO3LH5UJwQKULf2sUdkJrqK/mVaiykU=; fh=EyWe0P73fPyeDH747e0yQkqJr8jU9wEoh208ROYzUDg=; b=bKoAjDb8BW/SPTeXWas8H+Z2Rz0t1ZMrpWR6ESJnwOZEFwt/0iw2sbiDTIT16vl9l4 r0LPIbf5ojBIpNpDVodkpA6aiSe/HrorYH0PnJvycey8yBMCwLb9TTNmmHK2+W/Ub0Cd pmlwz6+sHpSOtzIVYn7oWmo5wl0hsyY00zP13bSV97fCcKpjX5o9yJOIKnn3gSEiuH5V 9gobljlRlLD+hvMtZdNwsfnqdUkIYkMS5uQmfjCEJZEF74fukP7LicUCx8T9Qv36n0Ab Dc+5PXNAQjl5uqvSWC7nCoquvNYGG1ZfdeyvKHFomjbwkSx7rm7mrqVEWOOhhdi7vuXk ZAYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O1ZaV9SY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id 15-20020a63020f000000b00578acf1e8a4si1745568pgc.573.2023.10.05.08.58.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O1ZaV9SY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id AA44C82EBE50; Thu, 5 Oct 2023 08:58:37 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234933AbjJEP6R (ORCPT + 99 others); Thu, 5 Oct 2023 11:58:17 -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 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:58:38 -0700 (PDT) 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 --