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 A9B5FC00144 for ; Mon, 1 Aug 2022 17:43:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230298AbiHARnu (ORCPT ); Mon, 1 Aug 2022 13:43:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232397AbiHARnt (ORCPT ); Mon, 1 Aug 2022 13:43:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29FA71E3C0; Mon, 1 Aug 2022 10:43:48 -0700 (PDT) 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 BE9E6B81218; Mon, 1 Aug 2022 17:43:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 523FDC433D7; Mon, 1 Aug 2022 17:43:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1659375825; bh=XK73bpq3+GRlmBqos12wmiiu3rmkoao9rDtgB+eisxE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HyywypwmQg0NmNXNuxwQ3ACbnlcsDPUfQSBydLTAlu6LLl6vEEFasZfHpoSAFWoqI mleInjwycMJQzU9zAhWWSOsucd3jKgHnjWjOlUR72MLuJG8Z1m0aM5rgBdU/+e+2Up lcn396kGvZ5ifR966Gk3CbGWvC5H3ubBDpN1AelzfbwBPFOCp6cJY4uUT4kiklTSg/ CKxZBhsxxwo6k/5Sv+iRlz015xw5rChMqacZAgzwQXXy7GEz0Vfss78Ly5SgRRReJV zmVcANFTnNx8Fse21DpNajPsPLsC4jGbHyh7WF88rfyNdbk2oo/pZDOrLIxk6MkSpB LYjZru6tlArKA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 7381F40736; Mon, 1 Aug 2022 14:43:41 -0300 (-03) Date: Mon, 1 Aug 2022 14:43:41 -0300 From: Arnaldo Carvalho de Melo To: Andrii Nakryiko Cc: Jiri Olsa , lkml , Peter Zijlstra , Ingo Molnar , Mark Rutland , Namhyung Kim , Alexander Shishkin , Ian Rogers , "linux-perf-use." , bpf , Andrii Nakryiko Subject: Re: [PATCHv2] perf tools: Convert legacy map definition to BTF-defined Message-ID: References: <20220704152721.352046-1-jolsa@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org Em Tue, Jul 05, 2022 at 10:08:16PM -0700, Andrii Nakryiko escreveu: > On Mon, Jul 4, 2022 at 8:27 AM Jiri Olsa wrote: > > > > The libbpf is switching off support for legacy map definitions [1], > > which will break the perf llvm tests. > > > > Moving the base source map definition to BTF-defined, so we need > > to use -g compile option for to add debug/BTF info. > > > > [1] https://lore.kernel.org/bpf/20220627211527.2245459-1-andrii@kernel.org/ > > Signed-off-by: Jiri Olsa > > --- > > LGTM. Thanks for taking care of this! > > Acked-by: Andrii Nakryiko Thanks, applied. - Arnaldo > > tools/perf/tests/bpf-script-example.c | 35 ++++++++++++++++++--------- > > tools/perf/util/llvm-utils.c | 2 +- > > 2 files changed, 24 insertions(+), 13 deletions(-) > > > > [...] -- - Arnaldo