Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7841026rwl; Tue, 10 Jan 2023 06:07:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXsGQLfgavVQgvZSnCgusvpHEGR1ZAMFqxlJUMgrtu7Z0tIAtKu98gbVVsEuXTJwVcwA1wWk X-Received: by 2002:a17:907:8c81:b0:7c1:962e:cf28 with SMTP id td1-20020a1709078c8100b007c1962ecf28mr61708494ejc.23.1673359665199; Tue, 10 Jan 2023 06:07:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673359665; cv=none; d=google.com; s=arc-20160816; b=utXC+DZqpgX0DgvzXWIwOAz7Eb+UMQJhZYETWE+Fgw+5sZz3Dogk6Ld9/I0TnYMpzD sAwUgq/pqJ7vlRJecVvg5+wC/tXWljsBwWUTUW8z738kCtDfFRAw3cYKN3uES1U/ieJ+ Rf0bVuh49EMzxLv+Kfvj0Z8RHGYGOFN5uA+C13ypkXt2HdW+GWVyfnsxMZlVtZe3e9aC 2H4IPgsxQf1lEduSPcgKR+2yUm7K28QGWyEPg6nyhHNF1ZPVnK6dezE05L6LrVsRzpY2 +e7K+nVyi1/ot9y4j1UnIaJUAqpx2+geDiSMvB18ok8rkjhgJAWv6xI1UsCcjZ6cD8MN NGgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=YXJGAaTVKm9epiHaYQSAwwrEoUVaVZYyf7ZOUlSMU9s=; b=qP27N25TVvYzpBH9VwKqNjRqp/PZx0RrHU2fJnDoxfIKY7r30pO3cQAPmfrKeDmcUI oD1xXzalLmHa/GRhHZ1lAknzxlIMs+F0eooHFeAYV1oIgb9ttO+A+F3xe6vth7frFbtV x+aaJ3kqz7ksev48zVbwtWj8ImnSchfNJQelCrqAYcTjqGJoLei/6XskWXnoCpnFhqCf jBN7U4PTrs1gXm0xUp9tHDf1gyFoQ36+pkXRWeWpf9OKR/TN3Z7YMRSH5iz+Ey88Teji hkP5J0R8kt/SCHYsOl7fYJTyQMoPtoWwBJLzaos/kKVPRiynszCGtkh32uALH3+RZWdl AKzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hmeUBySo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id he36-20020a1709073da400b007a4feae7adfsi13296818ejc.565.2023.01.10.06.07.32; Tue, 10 Jan 2023 06:07:45 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hmeUBySo; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231241AbjAJN5H (ORCPT + 53 others); Tue, 10 Jan 2023 08:57:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50560 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238460AbjAJN4j (ORCPT ); Tue, 10 Jan 2023 08:56:39 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F24E7CBF0; Tue, 10 Jan 2023 05:55:11 -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 ams.source.kernel.org (Postfix) with ESMTPS id 17E51B81670; Tue, 10 Jan 2023 13:55:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A53BFC433D2; Tue, 10 Jan 2023 13:55:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673358906; bh=4FpepVm+jtZECaf1mR2jEgtjhF01RkAVhjObCVRWMPY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=hmeUBySoAI+SBnKFP0Bp/ZlJDXc3PZsA1xzou2EFMg8AhqfQRkHvvv1gLX/QIpg50 3qXPFxyEO/GDLNbcCHjtGPLL+MmIpzTM947dogzZoStQQloQFxosMDLILuIelhtK3t s5lzxb6y2LeJINxBFTv33SxHMEXGyEmAzy75ZKdOxFAj7RM45CxV/ZTXw2Vm6zzI4s 2G5Twiau3gmCKEMlzSSxRT9pGszfvsiCVkdsycibo3ZH2GNMM8gT0NJiigQX4G7sS+ lZVDQmgbyXd1Q1KrPavBGR0FkredVwp/Nhi13fm1NPbf2fX3P32VjIEsijVYZN4I/f R/K1uCTLxt74w== Message-ID: <42d1e999-79a6-94dc-cc88-77520ddce068@kernel.org> Date: Tue, 10 Jan 2023 14:55:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [PATCH] tools/rtla: Explicitly list libtraceevent dependency To: Daniel Wagner , Steven Rostedt Cc: linux-trace-devel@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230110131805.16242-1-dwagner@suse.de> Content-Language: en-US From: Daniel Bristot de Oliveira In-Reply-To: <20230110131805.16242-1-dwagner@suse.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, 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 1/10/23 14:18, Daniel Wagner wrote: > The current libtracefs.pkg file lists the dependency on > libtraceevent ("pkg-config --libs libtracefs" -> "-ltracefs > -ltraceevent"). > > Dan Nicholson's Guide to pkg-config[1] stats that "Libs: The link > flags specific to this package and any required libraries that don't > support pkg-config". Thus the current libtracefs.pkg is not correct. > > rtla is depending on libtraceevent but it doesn't express this in > 'pkg-config' part to retrieve the correct build flags. > > In order to be able to update the "Libs:" section in the libtracefs > project we need to list the dependency explicitly to avoid future linker > failures. I am ok with it. Steve? -- Daniel