Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp432356rdb; Thu, 5 Oct 2023 09:58:10 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGlWZ6GGBuj4xyOGPh3FpfWXgTtfwGk+fAykBcH/urPYwuxLAMcA+WOkyUBxsi7hJqI0ebJ X-Received: by 2002:a05:6a00:1993:b0:68e:2c3a:8775 with SMTP id d19-20020a056a00199300b0068e2c3a8775mr6325610pfl.33.1696525089690; Thu, 05 Oct 2023 09:58:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696525089; cv=none; d=google.com; s=arc-20160816; b=srgBAcY5ZN6gukBHMyP3Ho9cnv60IfX1l5HDzVVCBxPqKwHMmVurw08hMms4Q5aa6j g0OKnDOmHsPFjmDZShn4avpvlypcgE5WhzKKQLsZDEy1c4V6HhZuqSCVQoCc/mZJS7Ys ch6t4JP63KPmJiBO2BSzIYjPyA5UKJfd8edU3a4wSG0g/qbLXbge647W7lB7bEuktmBt gY1JwbthsW5pP+OV1q2mVA8BPY9gyL6BT7ZR7mfksPYP2JghbB8iC57MsWvYigUxOYU8 Vlj3OEfNJseQkMxKyA3NV1lpoVird0V2HnPT9jJucrCauoCgb0Gy2zk5yQ0Ve+pBFstu QELg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=TX8UjF5DOaU9Dh2iocwbm0C+QFn3F6aBNSMI29Aiai8=; fh=G8kn22xwZiFM8JP9Pcc0ONggzaoFDmxeUxJYHiYSgsc=; b=BQbZEx+L4bR7f3LYexIKChKD04P6bw0R1Ncl16wlNntyqc7eCkOZNg15CUeGmZDhkL r7Mn0Y753Hl/BsZjMAib3Dp+7pG3Zhkye2dotVRFA80yiax1V8Uxb0F8gPIjnhX7Ix0C 3PVOpAN2hRlstYo87RRJ799QqCUOOogl/cZO6uPmWoAASOuhGrjYKNaetBkIDmknCa6l zgol7LVxxIZRRjlmfxpoONcxxDFNZBvChcFcg/t9VbvwTqOaec/FrlYhGImVhVf68jv/ RSQ+OOhUF57eDjOdTY2UxGi5441yxv/0i1vDMHzUIpBKa23ItUapwwG3GYCWE9NJYuG8 MQ6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VQOscCFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id j16-20020a056a00131000b00690c951d2cesi1776890pfu.191.2023.10.05.09.58.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:58:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20230601 header.b=VQOscCFB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 91A898198745; Thu, 5 Oct 2023 09:57:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242610AbjJEQSu (ORCPT + 99 others); Thu, 5 Oct 2023 12:18:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242066AbjJEQPH (ORCPT ); Thu, 5 Oct 2023 12:15:07 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DF21DA39D for ; Thu, 5 Oct 2023 08:45:22 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-502f29ed596so5849e87.0 for ; Thu, 05 Oct 2023 08:45:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1696520721; x=1697125521; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=TX8UjF5DOaU9Dh2iocwbm0C+QFn3F6aBNSMI29Aiai8=; b=VQOscCFBpXf1ZzW3MV55ZIjlNuW+7yhPaMpVP9lj0FC44j27F/2Pjfmg1vqINrYfQC fscsyUlsVo5u93HZ01rFgKVne5TT8C/qqNNn8xmyTxPytOrxolNmLXctFhgExw+4WtwO Sp4PE+CMYPwT9bxeWL8Fy5X7VESSDVRAbvfsGHxK2izsEFfpDOMlKRh59Ox31ezNUsp5 9xSE4H9fYQ68ShjOoVKTYqFzjBkYwi2RUO7nuXDBbevMVDk7UMOAqIIxXTElLe1eJ+L6 yYwgW1yJxfM6fJJKhQUGd/RrxZ/HixUIhs5sR0IeP0zOR9rlSRi9qC0sLOIRlqXEkHyn F3nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696520721; x=1697125521; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TX8UjF5DOaU9Dh2iocwbm0C+QFn3F6aBNSMI29Aiai8=; b=E3AtCtq9msXcFjXRK04n1vptx5Qs2OTt1NzFDZWUWIXRRnfhJvqYyVG01sDx+qLewS sFNT0YPnHzr7oj9V3Ttnhp8p6TLTOUWTN5DzoKLDY5NkXlXjUa2+MTUstgJUNo3HtHyh A/o4wXeu7xkuJEfT/oN3CMfT/3se3cOh3NcdxwnbVflcyHGfg13AD7Ec20ImB+fFh+T/ 50oCv/aS2FfKOV/Nop6EEEIXt/WCPjlfHwDcFwuDe5oi1I6WvA2+Vdo8l2SSiJmyHpR0 1uwpaISkndK25kUYJ+F6cB/mTCO+LXEMU0JYxHdhzcryf0aW4ebAx7rdH/dYF8nziUGl Jc4w== X-Gm-Message-State: AOJu0YzvD+Cp/r2mZsmtD8VOBbwg23e8LS0Pv3P/liQacwZmT2PjF4vQ 6upHmlFbz+3iOkoLPvarARa/7kwd1wvRRwHvaFFKKQ== X-Received: by 2002:a05:6512:484:b0:4fe:ffbc:ac98 with SMTP id v4-20020a056512048400b004feffbcac98mr43473lfq.4.1696520720865; Thu, 05 Oct 2023 08:45:20 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Thu, 5 Oct 2023 08:45:09 -0700 Message-ID: Subject: Re: [PATCH 1/1] perf build: Add missing comment about NO_LIBTRACEEVENT=1 To: Arnaldo Carvalho de Melo Cc: Namhyung Kim , Adrian Hunter , Jiri Olsa , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-8.4 required=5.0 tests=DKIMWL_WL_MED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:57:53 -0700 (PDT) On Thu, Oct 5, 2023 at 6:46=E2=80=AFAM Arnaldo Carvalho de Melo wrote: > > 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=3D1 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 Reviewed-by: Ian Rogers Thanks, Ian > --- > 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=3D1 if you don't want libtraceevent to be link= ed, > +# 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-vdso3= 2 > # for reading the 32-bit compatibility VDSO in 64-bit mode > # > -- > 2.41.0 > > --