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 X-Spam-Level: X-Spam-Status: No, score=-2.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6B46C43603 for ; Thu, 5 Dec 2019 03:30:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 7B7462073B for ; Thu, 5 Dec 2019 03:30:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="QW45i/Iq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728856AbfLEDaw (ORCPT ); Wed, 4 Dec 2019 22:30:52 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:33281 "EHLO mail-pj1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728132AbfLEDaw (ORCPT ); Wed, 4 Dec 2019 22:30:52 -0500 Received: by mail-pj1-f68.google.com with SMTP id r67so697997pjb.0; Wed, 04 Dec 2019 19:30:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=BXdzCUHz/0CUvTusmPE8UcGK3GWtUgd8km1icsllXOg=; b=QW45i/IqmcQvZkporhXT8EO5ToLaAbCGL/b1RoAOfSm5lzJyavLqTH2OcxF6RiD47j WLgMc3V570O5zbd5JT8GHU932RpsaOWp4CAXLRwztcf2aQ5EYWfe0yCgM+9kYfrEg+VJ D6AeXBf9kmHAriB/pzzOqiZ3pn9UB8sDra2IzyZ5cpeOWNpPPsxb4ld0+YhilGnXF3CD Vc8kXbcjaCLE14n8JK7l8pRNHs+ezihQauWQpaAaoVwGaatOjkzqYn7ovKds06pOG9kO 8xO3Yl4e5Dh7ya1K/ujgasBHxzDBbsFDYWOxdPIDeBZT1+kN2dHmgzxLyfBLYT5Vekbk OUZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=BXdzCUHz/0CUvTusmPE8UcGK3GWtUgd8km1icsllXOg=; b=lJgDI2tA5yQFq+g56NNEklcEy6O/FuRzNKerIdVLZUye/g43FrmpFmrmZlQhvv1QkU CgH7+YRJhiYl4HKKsD3/wkmvMiTVinRjZUx6tBqs0VEQpY6SyXZYQrxVfpiNzTPnwfZx 2ky2DYAYnZqVmoviUMPO336X4BHfQhvvyot1tWaQY+5XnohGUxdTc8T9bXhCvf9VyIMk 4uBl9QON6koF5HHF/l1qzE1NHKwvmonWMeFabhrcCvqHDRwTrKeBvqUOxo1m24TD6LkY vZ8S0Uxl0MRIAlCEgQO4cLlO2e736WLEEIIsv5eQXFF+0zsnDhs/IgNwKePQxkugcTNE DkYg== X-Gm-Message-State: APjAAAWHb/3OoHfdRNG/Svl1zNPE5meyAYu1p7xbyx0mrN5UdfiUqc3L NrbfOvaWWip1FeERJWVO5o0= X-Google-Smtp-Source: APXvYqwK/1WZRj1uu7EMum6yvtMmypv7Sf3DOWIbAHoH49lkvzJUyxZnzdpeEW6KiyGbfC1o1VmCOg== X-Received: by 2002:a17:90b:110d:: with SMTP id gi13mr7054526pjb.113.1575516651238; Wed, 04 Dec 2019 19:30:51 -0800 (PST) Received: from debian ([103.231.91.70]) by smtp.gmail.com with ESMTPSA id 136sm8854121pgg.74.2019.12.04.19.30.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Dec 2019 19:30:50 -0800 (PST) Date: Thu, 5 Dec 2019 09:00:38 +0530 From: Bhaskar Chowdhury To: "Enrico Weigelt, metux IT consult" Cc: Masahiro Yamada , Michal Marek , Randy Dunlap , Linux Kbuild mailing list , Linux Kernel Mailing List Subject: Re: [PATCH 1/2] Enlist running kernel modules information Message-ID: <20191205033035.GB3981@debian> Mail-Followup-To: Bhaskar Chowdhury , "Enrico Weigelt, metux IT consult" , Masahiro Yamada , Michal Marek , Randy Dunlap , Linux Kbuild mailing list , Linux Kernel Mailing List References: <20191203094845.610692-1-unixbhaskar@gmail.com> <20191204041543.GA1086470@ArchLinux> <6ff74f67-11d3-d16f-8aeb-828c01455961@metux.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="GRPZ8SYKNexpdSJ7" Content-Disposition: inline In-Reply-To: <6ff74f67-11d3-d16f-8aeb-828c01455961@metux.net> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --GRPZ8SYKNexpdSJ7 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 14:48 Wed 04 Dec 2019, Enrico Weigelt, metux IT consult wrote: >On 04.12.19 05:22, Bhaskar Chowdhury wrote: > >Hi, > >> I think the usefulness comes from developers wants to see what are the >> modules are using by the running kernel in formatted way. >> This is very simple way to enlist all the modules with descriptions of >> it.So , they can easily parse it with other scripts. > >IMHO, this is a good thing to have. I can even imagine it shipped by >distros, for better bug reports. > >OTOH, if it's about the currently running kernel and loaded modules, why >not putting this into /proc or /sys ? The reason being not putting in the /proc or /sys is, it is not dynamically generated stuff. This is small script which do a specific task ,out of the information available in /proc or /sys. And essentially resides in the scripts directory for easy finding and using. =20 :) ~Bhaskar > > >--mtx > >--=20 >Dringender Hinweis: aufgrund existenzieller Bedrohung durch "Emotet" >sollten Sie *niemals* MS-Office-Dokumente via E-Mail annehmen/=F6ffenen, >selbst wenn diese von vermeintlich vertrauensw=FCrdigen Absendern zu >stammen scheinen. Andernfalls droht Totalschaden. >--- >Hinweis: unverschl=FCsselte E-Mails k=F6nnen leicht abgeh=F6rt und manipul= iert >werden ! F=FCr eine vertrauliche Kommunikation senden Sie bitte ihren >GPG/PGP-Schl=FCssel zu. >--- >Enrico Weigelt, metux IT consult >Free software and Linux embedded engineering >info@metux.net -- +49-151-27565287 --GRPZ8SYKNexpdSJ7 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEnwF+nWawchZUPOuwsjqdtxFLKRUFAl3oedgACgkQsjqdtxFL KRX1EQf/bM+T/selwfgcqWcb3hw5h1W4xeF8v3MgFwzyiBKWHIbSHd8+ly1G4iO+ YMzDeOSceRGjE3p/GnsR9D2Z2Oz/2Bb9U7LH6QO72TQMsP9yfZCXu2jOgxFWdkns KKybGCo4udo/Ui8RiLZm+0agD3mJClJoRxPAXEgMZ0euRh/oja4r2FF4qfclfKnW dCuDmLV8eiFElFez+qR1KK4JzmJLcI+RX+0KgATUBNIwbwv+inu/xLKt+nPg2pPu L0ui74Slc/RKz0CzEs5HA8jsKF1ErqlKNzweK6GoeHGGGx14vRDwyRmjyU08OIcy Yx69fTPorBKBHJxyJbWdzPRhhL+UMw== =Tgd4 -----END PGP SIGNATURE----- --GRPZ8SYKNexpdSJ7--