Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7943841rwl; Tue, 10 Jan 2023 07:16:12 -0800 (PST) X-Google-Smtp-Source: AMrXdXtW3aXMw17jATtEGFkkchGrF6mTxlQYA+GaXfSP6G59AS6DQeh3G/KC4VVl5WMkDdUAwF4S X-Received: by 2002:a05:6402:538e:b0:48e:bf0d:f3a8 with SMTP id ew14-20020a056402538e00b0048ebf0df3a8mr22528252edb.38.1673363771834; Tue, 10 Jan 2023 07:16:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673363771; cv=none; d=google.com; s=arc-20160816; b=Jp4d+hmWevMovz7G84Ieye4L77PlPPOB+jyG/NR81mqPgb+QXCHu4lpmdFCLBy56S+ 1ta+xds6zBu+tC2EZR7B5RjVDQOwEl8Jcp+dq/kwLnpdEklurTB+3ar2Kx3LmW4j53e4 IEIl1U8MTCcBim1ROqFubHgcnlya7TlrI4mwwVgcGUKzpuSWr8+4TlOc0bMG0/J7pjGX QlImSIUtukfE0znEPIXJBwnlqKyIR5cHBLomIQ87w3eCcqvpqjMjCXixkbm2/t+7GoKi higMsqMYlSqwI8OTzCmvR5j4G8RYR/EogZS/a+693NkVnWLi+Jg4zZTH3jS21SMAV3G7 M3Pw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=YR5szfZ1gjDAOZg4hPFMKOLpak+S4iVbBJNMNux6XSA=; b=JaffxzJW8/r58uJYPpRz0WIvIvj5fDioaPNhsHNrJMnyKh3/nbGwVtzXRMFwdrdc6z pZSee1ZJKOSqufUbDbFkEVPhy55yytgby+G/JThoRzizPE1kd+d0dBU65ZXdffWFUqq7 QU41skuC8F5jiVBoTrlktCeJr0VWCry/lHUxVqIugkA4RtNQAL7j/9KTmNYNZuKxO97h yIiEiH0STaTSYJyZlE1SvVdzi/4OfaEHVK1e/TANCxH+HI8ZA2EOO0WxplaR2vTJUefF YPNLwS76wS6u4lFkOQExv1sHbDNo64kCTpm7lPpbzo72xXPXUy5GdivsEab4ISAoZDPn Mxkg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y13-20020a50eb0d000000b0047338d1bfcfsi11790421edp.166.2023.01.10.07.15.56; Tue, 10 Jan 2023 07:16:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238711AbjAJOvq (ORCPT + 53 others); Tue, 10 Jan 2023 09:51:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33480 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238702AbjAJOvl (ORCPT ); Tue, 10 Jan 2023 09:51:41 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADCCC5F56; Tue, 10 Jan 2023 06:51:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4AC1A6173B; Tue, 10 Jan 2023 14:51:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 38026C433EF; Tue, 10 Jan 2023 14:51:39 +0000 (UTC) Date: Tue, 10 Jan 2023 09:51:37 -0500 From: Steven Rostedt To: Daniel Wagner Cc: Daniel Bristot de Oliveira , linux-trace-devel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] tools/rtla: Explicitly list libtraceevent dependency Message-ID: <20230110095137.18168c29@gandalf.local.home> In-Reply-To: <20230110144536.knepnpxsp4mw67no@carbon.lan> References: <20230110131805.16242-1-dwagner@suse.de> <42d1e999-79a6-94dc-cc88-77520ddce068@kernel.org> <20230110140814.2yz4if2e2fasnu7t@carbon.lan> <94fd6fb5-c87a-b02e-40bc-b2e2c99529d5@kernel.org> <20230110144536.knepnpxsp4mw67no@carbon.lan> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,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 On Tue, 10 Jan 2023 15:45:36 +0100 Daniel Wagner wrote: > Just to clarify, the generated pkg file by Meson is adding the libtraceevent > dependency in the private section. So this part should be okay. I would be > surprised if Meson would get this wrong at this point. No that's incorrect. There's many interfaces that require the libtraceevent header files to work with libtracefs. Anything that uses libtracefs must also use libtraceevent, as libtracefs is really just an extension of libtraceevent. > > $ cat .build/meson-private/libtracefs.pc > prefix=/tmp/trace-cmd > includedir=${prefix}/include > libdir=${prefix}/lib64 > > Name: libtracefs > Description: Manage trace fs > URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/ > Version: 1.6.3 > Requires.private: libtraceevent >= 1.7.0 This is incorrect. -- Steve > Libs: -L${libdir} -ltracefs > Cflags: -I${includedir}/libtracefs