Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1164710rdh; Fri, 27 Oct 2023 06:37:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHuENq4AuD2R2bfnH9npHpgqGduylD1/kRYchKLQhM3mQjcla1qB94/O93CTcILZK3j2StX X-Received: by 2002:a05:6808:1693:b0:3a7:5557:16c2 with SMTP id bb19-20020a056808169300b003a7555716c2mr3497428oib.0.1698413847405; Fri, 27 Oct 2023 06:37:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698413847; cv=none; d=google.com; s=arc-20160816; b=yUQewVVUjYGsaxmRafY3oE4fCSa5psLTn4CThsoZ6TJW8Ut4041nYT6eMVQlNEW0ut pvtwuQQKv6A5trjZ0Bbpx4/TKkgfU0ejvPbLZuMTwvFiUFBFyfMkO5nzlpY2IQX1r0+M 3e+7YbcTreySHcA+XFOJs82N9FB0UdqhSxqktB3q8GlT/ZBl3v5Z3yfzr5MZnldCyTmy IWTo8Pjh2xF82reV416kWemnHSSkF8CbuoN9zV03QPCJsCOnq7ORA2oTBYKcJrU310lG FTyoCj79+SsV1oSury2WCattCVktXH8OOiSEC1vmWchXG8xMh7Ji/8u4JeECAMRxUZlF 5xtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=hBcHP4/CzH5AxcgQ7wOmWKmKt+FzvTGQ66eWPkMVjFI=; fh=eomyEIhas0TRLDCqSQ/j+rBQnseJWOxYtCzAtxBd9rI=; b=mpRgplrnQ0PTHmk30XJAW+JLzsNU5ZnZV3nxpqkDhsbQbU5f9AVfCa+EjeNNoj7Jne UQ0lcH6p1NFOt8VJPZgnnjuK+JYJI+eTIHYQPc/4i+4PqI6U+vCtokSPQaM2lIbMeL2m CO+Uo7npPCry1OHjAJBJyv1B3PpBjBhYbsxO2jPiUiAQH4ffUkIBOD9C1YSRiT5JAPni 44IfwUAlTQCFZOQD6QHmsGIQmjrCa4tunZcnOQ8YBsq0zcNhU/a9l5MubbzgXyg0CBSG tjkWDfknfROsSxHPLopb6m9bNrONKSyZFRGnO36POYQHYlcUFc61iYp6eNhtNvh9AsLN QRow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjahxqQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id a207-20020a25cad8000000b00d7b295f411csi3081680ybg.607.2023.10.27.06.37.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 06:37:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sjahxqQV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id EC659836E5D7; Fri, 27 Oct 2023 06:37:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346090AbjJ0Ngn (ORCPT + 99 others); Fri, 27 Oct 2023 09:36:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346036AbjJ0NgQ (ORCPT ); Fri, 27 Oct 2023 09:36:16 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17FE0D4A for ; Fri, 27 Oct 2023 06:36:02 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 82214C433C8; Fri, 27 Oct 2023 13:36:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698413761; bh=zr+piGqNha8SH1IgRkyvQsYXO7OF+ckvJNeJmO5jOgM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=sjahxqQVlenRUlHbdEbRVeGC1IIxhJZXdbkEzZB+2dJ4sI1mqDmg12r+yjOkvhZAE 8Toj5bz3pGv7l1ta8LJTF/zIVNf/6+LWyyCm/KN8THS85QDI2QoCLaHk1QouEWcSu0 TQXjiSE+KOiLPNb4O+dwyc5INnDIiuBJKDQoYxPUeO0vCLEGk6H+3rarxbwYDSK+7L Grlb1msx2GIbUbFwNL/DWDZAS94G51BexlAaR1RGi/8I9NHLEH1SMXKusp3OLyUbOQ f85jJP7riZKW9BuXiUPRt1PJsAlFMIwrO8gtR6vHca1WawHXRFBJAiqE5rKV67DipI P4PzGMTdlNVdQ== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8203F4035D; Fri, 27 Oct 2023 10:35:55 -0300 (-03) Date: Fri, 27 Oct 2023 10:35:55 -0300 From: Arnaldo Carvalho de Melo To: Yang Jihong Cc: Namhyung Kim , peterz@infradead.org, mingo@redhat.com, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@kernel.org, irogers@google.com, adrian.hunter@intel.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] perf evsel: Rename evsel__increase_rlimit to rlimit__increase_nofile Message-ID: References: <20231023033144.1011896-1-yangjihong1@huawei.com> <3458c302-8c43-51e5-f45b-c18657fa7015@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3458c302-8c43-51e5-f45b-c18657fa7015@huawei.com> X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Fri, 27 Oct 2023 06:37:21 -0700 (PDT) Em Fri, Oct 27, 2023 at 10:43:32AM +0800, Yang Jihong escreveu: > Sorry, only rename helper and no function change. > I didn't consider the scenario that might affect test python. > I've submitted a fix that can be used if needed: > https://lore.kernel.org/lkml/20231027023028.1106441-1-yangjihong1@huawei.com/ > Also, can we consider identifying this problem at the stage of compiling the > perf tool? Yes, I have: $ alias m='rm -rf ~/libexec/perf-core/ ; make -k CORESIGHT=1 O=/tmp/build/$(basename $PWD) -C tools/perf install-bin && perf test python' And use the 'm' alias to build perf. I also run 'perf test' before sending patches upstream, in addition to: make -C tools/perf build-test I encourage everybody to do the same. Additionally I run a long list of container tests on dozens of distros, but those should really be running on some CI system :-\ - Arnaldo