Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp1329162rwr; Thu, 27 Apr 2023 16:17:24 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5oMGx/JjTWGKyQPrwddwaotVwSroLaQMRL4JryZ+jK/t9Ph7OcAPY6ERui6YFNT/Iv5IB1 X-Received: by 2002:a05:6a20:1608:b0:f5:4edd:d831 with SMTP id l8-20020a056a20160800b000f54eddd831mr4154408pzj.57.1682637444003; Thu, 27 Apr 2023 16:17:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682637443; cv=none; d=google.com; s=arc-20160816; b=p2Yq1EYY+nzF8IG2bawBaLXXHfdBjdOw8aiuFC6nQ79TjK3izLtv8VCwA7pgqb71S8 8zQCA9BAvpzfwZitJKaur7CjXKeTMYy594LxNwthc3h7HUTx4/7njShygPNRiFtQ077w VhoJCEzHjOnRnaRyEEnA2U94b+rR/AEFI2DFMbh1lPXsywAFKec7qroBx08I5fqSmYJu rCky283UOix4tLgi5HoVoeTQlr99pdIhq27m6Ss+6CDTnpS9YvOUhnYj6XdR0YqQaSEU 0869HSJhu/zidBhr5ziWHRAFeUxxbomPaODehn+s8XmEfic08rtMX52K1cxRAwFC/RH4 tOCQ== 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:date:subject:cc:to:from:sender :dkim-signature; bh=In1jC5aMTJeXFFu1GOLM89hDF8A0gRuTYGTK8R3GUQA=; b=RSihr61qfIHCjvZdDwQsC5tCUp67l1EvcPJ59VxzVmmh9vEOO3ntidK4wn1Z3fiEwe ZYkqYMXz/V2s/5HLssFyYLlpiWaegGcLVw7a1EzHMCIHPKSBMu7nikIhj1LL8J0cSpi1 hFli9+3moKIsc0zaoNANJUVavm7cqH6VRsxQpynqC4o/jni9K/D5NAgtR3OKzlQDsyyz XsYnhbPEfhFdmpqd3k9fLxL9m417n0noVVo6FJFkoEn6op7Bx7Q8ifuOU0REKG3KdjvB 3vyTpCyn8r714qXYAC8GIs27YgtHCqMbc0k0S1aVagtUoiOVdy8eunVkQ0cWQV00lAUa tg9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=kb13oXou; 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 72-20020a62194b000000b006412eb659f5si207632pfz.299.2023.04.27.16.17.10; Thu, 27 Apr 2023 16:17:23 -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=@gmail.com header.s=20221208 header.b=kb13oXou; 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 S1344379AbjD0XFL (ORCPT + 99 others); Thu, 27 Apr 2023 19:05:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344175AbjD0XFI (ORCPT ); Thu, 27 Apr 2023 19:05:08 -0400 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 75C582D40; Thu, 27 Apr 2023 16:05:07 -0700 (PDT) Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-63b78b344d5so7137951b3a.1; Thu, 27 Apr 2023 16:05:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682636707; x=1685228707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=In1jC5aMTJeXFFu1GOLM89hDF8A0gRuTYGTK8R3GUQA=; b=kb13oXouVsalgzAXfCrJ9C6LOHHlMnB3wIIENBte3E7lIOvdo1M1rdAI8s4Kusqy2K 1Fal7nzjG9zElqXMAHVZbGahhQqXQ2IHZVAOuS65/meoHEojml+TKuugjQiMJ4L3YM3P J4W5s00Idg4JFlUWwzCgrMJ0Kxx9Jn20Tko6sxORno1jaRPjClIjua2Kgl64bbCeyCY6 L3T3TpJvGYlMTuqVGiFIClH/V8vuMTo9i94UKAnhWtwP2b+gY4L6pmwrMrknSPfNSAef XRzMKL5Z4JkO4cANNdMPXvPtgWcRGUpemwgj1V2CI0Ye/ULEQR/DkCd/HkyJP+HvxW2A Lf3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682636707; x=1685228707; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=In1jC5aMTJeXFFu1GOLM89hDF8A0gRuTYGTK8R3GUQA=; b=hb6Fvw0ULtQTG+XBSN76DEWeXPKlM19pBMAN50TrhS1gAya5Z4R0KYS9RYZLXYhR3d Zoafu9irh354vtVTr3msaVSEte3O2ywgTPThR/2odeMDzc2CFjSZLOPBDTLf0uO9omiL iLv4A7DhENDNPluipQg+z5bObbBi77RJsKFtw5jO3uoHnl/4QSmgsK9OG6lNgKqB+3rz SW7HIHGNAEmgihpdZu6O6URJ4+0SiASXMXpzTFs/HTUpKcRu8RmYGudVRSy7sgJlNx/W eoGfAZ5vEcsrqlyElTSeUcz9iuYcDODjCTOJid6vgafIHdlHrTvZmE5k6Wihp0WiJ3Si Boew== X-Gm-Message-State: AC+VfDxDRCq8jre6dHUhi7uZSp0UIhnBsrdobPCcIMKV/qaQrb6w285t 3o8gbDHJvLWXrU4+1yTJIdM= X-Received: by 2002:a05:6a21:78d:b0:f1:377a:b762 with SMTP id mg13-20020a056a21078d00b000f1377ab762mr3380293pzb.33.1682636706789; Thu, 27 Apr 2023 16:05:06 -0700 (PDT) Received: from moohyul.svl.corp.google.com ([2620:15c:2d4:203:55cd:594d:edb:e780]) by smtp.gmail.com with ESMTPSA id p10-20020aa79e8a000000b005d22639b577sm13636436pfq.165.2023.04.27.16.05.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Apr 2023 16:05:06 -0700 (PDT) Sender: Namhyung Kim From: Namhyung Kim To: Arnaldo Carvalho de Melo , Jiri Olsa Cc: Ian Rogers , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org Subject: [PATCH 2/2] perf list: Modify the warning message about scandirat(3) Date: Thu, 27 Apr 2023 16:05:02 -0700 Message-ID: <20230427230502.1526136-2-namhyung@kernel.org> X-Mailer: git-send-email 2.40.1.495.gc816e09b53d-goog In-Reply-To: <20230427230502.1526136-1-namhyung@kernel.org> References: <20230427230502.1526136-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no 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 It should mention scandirat() instead of scandir(). Signed-off-by: Namhyung Kim --- 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-events.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_callbacks *print_cb __maybe_unus free(sys_namelist); } #else - printf("\nWARNING: Your libc doesn't have the scandir function, please 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 the available tracepoint events.\n", events_path); #endif close(events_fd); -- 2.40.1.495.gc816e09b53d-goog