Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp6036260rwb; Tue, 1 Aug 2023 11:16:00 -0700 (PDT) X-Google-Smtp-Source: APBJJlHWVFYTD4FESgEzHAYDZ8jOX1alvu7RE9mZFsr1LcbObBMQs7kRctf6OhuNmXUiEhXvr3n7 X-Received: by 2002:a05:6a20:d90b:b0:13d:af0e:4ee5 with SMTP id jd11-20020a056a20d90b00b0013daf0e4ee5mr7438575pzb.18.1690913760573; Tue, 01 Aug 2023 11:16:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690913760; cv=none; d=google.com; s=arc-20160816; b=r6CLhnnMzpfes7obY0+o8wqax9hojIVGaToPvOGBuqLe9gUGOtcpphtSJ+VIJA0Hyu NdoVHKaGTaU9ra+xRmOnOQr8liHW02FSWuFo0stSFVw4sgmWrW65oFxCue09spiWNSFI hqIBP3w+rsi2KhVSMRvvJ2x3OEXYWmJIzmDqBj7FvQUquQnpXnBEjpthUG58+EQ+K3c5 CgLcRJiItbivddV+4vAksbOpur6eMSvelozPZhhzXwyxdfwve4rlgrynTrklDhW0DMFM qaGagDnKUJTg7G2ouGqCsN6wolBLlfAb6KBvB0Uu5g1wB0d7Ht4KLmcbSUuwVktZwlES 9aGg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WCyW2xPGvGn2KArLxMejeAbnztOOe9Ja2AC5dTRufnw=; fh=eDiNsT7Uv6uWvqt/f9p+kVzl1n6u5sWaKwIQIWQdpoo=; b=nuJeoNS9p32sXrvoDK2BmnW/mIdtIgXH8n1ct8x+CnL3cK/nqjYZcbbcUFjTVj3U/r 0gQzH/D7JIzsWH6OPLcv9psOS88A89KyZ4HNYfgxGUKClCJ+7r/OA0b1M1y+VrBUwQ8H Nw6LqrIUXeBNtelBLt9rBvmVP3HSx43QDqROxAcJgcheSGZqXTzFRTAZj57Y7ui5G4Ou 55t6qfXmjY8nCKOzl5+4SFv38muM819qtkrlzZPrN/Bx9SkHHQ3mS0fo0X23YaXxvkxk cDyVIdet+Ny2mPsteuPm+iVYbxe4HD17yXyvTI1gogAthrguLlSZI6RmBgFl4a1X6l5w wDDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JOaHBXQz; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s5-20020a656905000000b0054a291a0bf9si9169889pgq.672.2023.08.01.11.15.46; Tue, 01 Aug 2023 11:16:00 -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=@redhat.com header.s=mimecast20190719 header.b=JOaHBXQz; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230365AbjHARu1 (ORCPT + 99 others); Tue, 1 Aug 2023 13:50:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231573AbjHARuZ (ORCPT ); Tue, 1 Aug 2023 13:50:25 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 138D01FDA for ; Tue, 1 Aug 2023 10:49:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690912177; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WCyW2xPGvGn2KArLxMejeAbnztOOe9Ja2AC5dTRufnw=; b=JOaHBXQzLcTmSgvViOjkVIQxhBcpmV72JAu7W3TiUH1+AJwFPscUXiwN9jBS+6w4MqtSjB uuPKwGA7bg1KGpE8/8mcMjDopCYSxY2Ta2kklPXGfalofimtTj2viYd/AGqqoRv3ozgm0M Yi+396ugqlnRtTerYtaRA9qkZz4x2L8= Received: from mail-yw1-f197.google.com (mail-yw1-f197.google.com [209.85.128.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-77-pH2inu_OOnybcUt1dSOtOg-1; Tue, 01 Aug 2023 13:49:36 -0400 X-MC-Unique: pH2inu_OOnybcUt1dSOtOg-1 Received: by mail-yw1-f197.google.com with SMTP id 00721157ae682-583c1903ad3so69967557b3.2 for ; Tue, 01 Aug 2023 10:49:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690912175; x=1691516975; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WCyW2xPGvGn2KArLxMejeAbnztOOe9Ja2AC5dTRufnw=; b=QbX+7D2fzMtf73uIRKIhXhxnAMNyUf+souplr4o9Uy2FeX9kX0/ODSYuAuGI5kx9u8 +cR9cPPA/8U583RxjnkqE4WGakt6zkHbPI4tqat6QKHc5tEDHV7N91/W/esY77B4m4N7 Mq5cH8stw+nPKMszGz9nHpHxeFRw4f5IHsT75xF2mYCfGWL9LLbfHqfg8dI29KpL6mDo 8eNUwBO0aiz7kfRITitFBXA9q8X2B9IWDmG4osbewJIYIP103CoGuyBKSFQ6BhKpALJI JyU3XklfMDeMLluUu93Ceb+rompjUt7sSkVIBeNnUDbFqJQvwg32O/61mrbj9S8KQIXN t37A== X-Gm-Message-State: ABy/qLbVYday0kScALeQqwcf0cRJgscwrsKctZ0Qs1yZy9uGQpzN8xA7 QpSAZsYwI5yXl6zaIDBM6a+4DXggSUcAupzeZVjk/NRdMxB0bDJMdRFzEM3qKZAItSDG2ZzwKPS RbOuCTJvdaT7KvbMuHzuVbopd X-Received: by 2002:a81:7545:0:b0:56d:2189:d87a with SMTP id q66-20020a817545000000b0056d2189d87amr10919470ywc.15.1690912175523; Tue, 01 Aug 2023 10:49:35 -0700 (PDT) X-Received: by 2002:a81:7545:0:b0:56d:2189:d87a with SMTP id q66-20020a817545000000b0056d2189d87amr10919458ywc.15.1690912175223; Tue, 01 Aug 2023 10:49:35 -0700 (PDT) Received: from brian-x1.. ([2600:381:222b:e67:295d:9324:c84:3382]) by smtp.gmail.com with ESMTPSA id k187-20020a0dc8c4000000b005773afca47bsm3881728ywd.27.2023.08.01.10.49.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 10:49:34 -0700 (PDT) From: Brian Masney To: masahiroy@kernel.org Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org Subject: [PATCH 0/2] scripts: add two new scripts to look up Kconfigs Date: Tue, 1 Aug 2023 13:49:20 -0400 Message-ID: <20230801174922.333700-1-bmasney@redhat.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Here's two new scripts that I think that other people will find useful. One is to look up a Kconfig name based on the module path and the second script looks up the full Kconfig information based on the symbol name. Brian Masney (2): scripts: add mod-to-kconfig.sh scripts: add kconfig lookup script scripts/kconfig/lookup.sh | 77 +++++++++++++++++++++++++ scripts/kconfig/mod-to-kconfig.sh | 93 +++++++++++++++++++++++++++++++ 2 files changed, 170 insertions(+) create mode 100755 scripts/kconfig/lookup.sh create mode 100755 scripts/kconfig/mod-to-kconfig.sh -- 2.41.0