Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1392273rwr; Thu, 27 Apr 2023 17:31:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6k20MrVZUckrWnJyqdCA8kaeZKfdNhr4vxovOo8M6cnNtdpI7aZiEKbE7TIfYJIWLhnm1g X-Received: by 2002:a17:902:ab44:b0:1a9:8769:36bb with SMTP id ij4-20020a170902ab4400b001a9876936bbmr2815390plb.54.1682641890849; Thu, 27 Apr 2023 17:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682641890; cv=none; d=google.com; s=arc-20160816; b=xbptdTvcYjTjCzwyzPqnMZg+HIsSQNcbi/7fay5WPXWFrXLq+ckGmA/EMiF9YjI1nt SqDmqHJurELO1/X0zRnkOCZWRWTzsd+E8lAa6Zneza7KFIA9sJUAv0xQryj5RLc/GucR VqYVrgeEhMygOckvDvbTPNcSmzWfoCW9OTAdQ0ZIO/bso+2Aw71Me2sEy/SN47BKxiqc QvqeqBa730MZl9RwYnCMc2TRiaNKAzZk+Eq5qoE8LEflw9CWksqde/dm3dgcHY+D+885 BWOu5BwNxOC483k0OJ/pO3Psg1x+GehDG9qlZs0cneMInz5Ph9inLcVVnS2zJh/XkVQx A3OQ== 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=dy6q1Uw/rxLS8q/AocKwbxiAauTqjXmfHidYdOpgsqM=; b=Lr0yEJYbl0mXcCtuYper/LXyLF0h4a3f18p878/dwSYl6l1kkAWS9JoDWnduKE3E5s nY3c7LyKZOGNQucBSmj71WMughT0g2ld9xzAAW8C0GYFu0u0cIAQgXZYazICt7xOLXrG iDWFydgVBDdx+/g8m1IPY6YWukpF3WhhRzqzExMeexrxZI6xqIrVIRgcBuHNzYzcJeFC hQ+XeFrkvn1s/B1373K1H6Ty7D3RE9eCrp65D9u1ifbnzn/CkvFKRQ4iLtM0IEwxLhnn Y6Rvszztix0Yil5kIDhJQA7zIsWoAcc+RsGa1nOYT7SWqplkRaSaQ7BA3I7V9b8FtuAS cctA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=JXKU4b+U; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lm7-20020a170903298700b001a1f5f00f59si19079223plb.452.2023.04.27.17.31.19; Thu, 27 Apr 2023 17:31:30 -0700 (PDT) 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=@google.com header.s=20221208 header.b=JXKU4b+U; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344599AbjD1AbO (ORCPT + 99 others); Thu, 27 Apr 2023 20:31:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344595AbjD1AbK (ORCPT ); Thu, 27 Apr 2023 20:31:10 -0400 Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6CFBF3A82 for ; Thu, 27 Apr 2023 17:31:08 -0700 (PDT) Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-3ef36d814a5so863031cf.0 for ; Thu, 27 Apr 2023 17:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682641867; x=1685233867; 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=dy6q1Uw/rxLS8q/AocKwbxiAauTqjXmfHidYdOpgsqM=; b=JXKU4b+U90dgO/Ta/QdlyHd/lzn3aMWg5xXfrolixS57yjrjZMN7DkftL2lWJ11pSh 2qGk0aH1I99gxty1TLcyPbogXp86SemMWDwvFXmJkrSLov3OrClYOUSnAzmAqLV4LyeE ZrZXKP1bXJZYHg6akMr58OxR09ODB8em9pFFd1QUQn1uxASsWnekxW1ncz1q6w4bLvuD B/dcwNTLyQvJzEghALAi1Axiw2b8OdVkZf3/4EX9uI5Ek5P3ztLpLg0dq24Nfk6RD+9q clxjqY2CN+vUURKMdz7wBwHTAImHtDcUNlC+9qSYxdZ+zTAkF998NxNl3NU9Aq0oePbZ Uj/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682641867; x=1685233867; 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=dy6q1Uw/rxLS8q/AocKwbxiAauTqjXmfHidYdOpgsqM=; b=ksqrQsA/l2tDwTUAwJNmwLg0f+xOQQ9YS/FeFDOX3qUOrJY3fyEx8uXQBsLfXEmuul OLV+f2H2QFFB8OTd6TBo8Gs6YujvL7LT/ubpqo1mxnmjEdQN4k68ycCpUDmRrYddhk7h jM8kbrA91XGZmT8SgTbFxIajaeYcVY+jJgTE4e84AVVXbFLXGFUH/XLFwGusxCtimJhO ofwXZk25FaWP2kMh23r57o9AF6PIkHt68xNdxTbeXybiMhyBUMJR7t2xmQuTCC0tBxzs b3uyhxZnhJ5uOkG/KwsLzYBIT3NmdkFqde20grQ4un21qlSmttQV0++sYJAfK98eIzab 9k9g== X-Gm-Message-State: AC+VfDw4Ww3YiuOb2QGU2CRdWYBvGvhD/N2oCQYeUT1eL5iE29EUBSuy BXxwwd2Kbvpzud9sccrxiuZEBDliZGykd2fSXv9bK/g1NAXcaLCg3oph8Q== X-Received: by 2002:a05:622a:1447:b0:3ef:404a:b291 with SMTP id v7-20020a05622a144700b003ef404ab291mr65560qtx.7.1682641867235; Thu, 27 Apr 2023 17:31:07 -0700 (PDT) MIME-Version: 1.0 References: <20230427230502.1526136-1-namhyung@kernel.org> <20230427230502.1526136-2-namhyung@kernel.org> In-Reply-To: <20230427230502.1526136-2-namhyung@kernel.org> From: Ian Rogers Date: Thu, 27 Apr 2023 17:30:56 -0700 Message-ID: Subject: Re: [PATCH 2/2] perf list: Modify the warning message about scandirat(3) To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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 Thu, Apr 27, 2023 at 4:05=E2=80=AFPM Namhyung Kim = wrote: > > It should mention scandirat() instead of scandir(). > > Signed-off-by: Namhyung Kim Acked-by: Ian Rogers Fwiw, tracing_events__scandir_alphasort assumes scandir is present unconditionally. Thanks, Ian > --- > tools/perf/util/print-events.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/perf/util/print-events.c b/tools/perf/util/print-event= s.c > index 0a97912fd894..299973876550 100644 > --- a/tools/perf/util/print-events.c > +++ b/tools/perf/util/print-events.c > @@ -131,7 +131,7 @@ void print_tracepoint_events(const struct print_callb= acks *print_cb __maybe_unus > free(sys_namelist); > } > #else > - printf("\nWARNING: Your libc doesn't have the scandir function, p= lease ask its maintainers to implement it.\n" > + printf("\nWARNING: Your libc doesn't have the scandirat function,= please ask its maintainers to implement it.\n" > " As a rough fallback, please do 'ls %s' to see th= e available tracepoint events.\n", events_path); > #endif > close(events_fd); > -- > 2.40.1.495.gc816e09b53d-goog >