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=-3.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS 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 602B4C433E0 for ; Tue, 19 Jan 2021 09:09:48 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BA8DD206F7 for ; Tue, 19 Jan 2021 09:09:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BA8DD206F7 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.94) (envelope-from ) id 1l1n1F-0000OC-S1; Tue, 19 Jan 2021 04:09:45 -0500 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by shelob.surriel.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1l1n1D-0000O6-PU for kernelnewbies@kernelnewbies.org; Tue, 19 Jan 2021 04:09:44 -0500 Received: by mail-qt1-x836.google.com with SMTP id j26so13174144qtq.8 for ; Tue, 19 Jan 2021 01:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vt-edu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:in-reply-to:references:mime-version:date :message-id; bh=qysul4O0TWD+j72Ec9lncNMZ5q08IfxGv8jBczIYlL0=; b=Kn3wGGQLBjckL1AR4RslCeccg1s3myz/w3wT1kVyEt4EVDJzK++SqaxDYw1dACq672 erRxzpS9rJGsRiQW85JB44uborY5bC22/CLG5evE+INZyKGZzxWMY9gjmSjIKjWkzLLN gb7EFUziQ3snwMzfoL088Q8q4uYZpH3BEt076q2rQVJKerXJEF9J8xlxBUXcU+2bnUtA eVvE67p+SrO8/9wFZcofnMIQPtceV0Zm3fu8G/eWv4Wx7Cnkgly3AI5hzpn618SxzmhY Upq2XqiZOUAhGZvT0njS0i+3Rr2xjnkk1TSVXk8bV3lp6R6r6iff26xPufYmojnLxB1A GbHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=qysul4O0TWD+j72Ec9lncNMZ5q08IfxGv8jBczIYlL0=; b=l/ySs6tljf/csHCy6/VMJ2LhAN12PDKLRUCGDAneH1UJLdLrf83M6h3WGXQXIHcgAF Nlifg2xzeyDGNIzFnhXOw379vK3RY4GxI2yZSNW8kjysr496S4vjeh8oIlmc4MbvhUnr 9thCTbad5z97HvhaS+ryYyK+GVeGZefrmeDgPVLxN23KKTHBI8f8e3WryoNTfreZDn5+ mn7Y13P2zBwIGVYxjiKlpFzpOxZhM3FkKoug//Kluq+cVS3v2kfMwaa96VsW3yipIKVh 4Fxov96audf3KUGYzUnK1FHkaw6ug61lx+0al5yQbYIfcPiM6n9SEvdgHpEJsj1eg6Na 7qLQ== X-Gm-Message-State: AOAM531CihrOZ8YrM9U6/KqHvC7ZNRmrOSkq6U3/NlfyeHpqda4hUwY2 zYtDO+umKaRWyUEOsEFM7UhgW/WxNNrG0g== X-Google-Smtp-Source: ABdhPJw9Y08N85mSZon0tcn3Uhw4SRWzAdPGF7jG+bxoxBnvtGvI6FocAf6akXnihycmXjz+dn2Pbw== X-Received: by 2002:aed:3109:: with SMTP id 9mr3356994qtg.340.1611047381529; Tue, 19 Jan 2021 01:09:41 -0800 (PST) Received: from turing-police ([2601:5c0:c380:d61::359]) by smtp.gmail.com with ESMTPSA id i65sm12499527qkf.105.2021.01.19.01.09.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Jan 2021 01:09:40 -0800 (PST) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: "Pankaj Vinodrao Joshi" Subject: Re: /proc/cpuinfo not showing all info In-reply-to: References: , Mime-Version: 1.0 Date: Tue, 19 Jan 2021 04:09:39 -0500 Message-ID: <114287.1611047379@turing-police> Cc: Greg KH , "kernelnewbies@kernelnewbies.org" X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, 19 Jan 2021 07:38:13 +0000, "Pankaj Vinodrao Joshi" said: > i agree each processor type exports different information but i need to pop > up information while i do /proc/cpu also i have observed that almost every arch > display information w.r.t frequency. Can you suggest how i can add info related > to cpufreq into /proc ? You may wish to issue this command: find /sys -name '*freq*' and then meditate on the relative difficulty of parsing /proc/cpuinfo and a sysfs file, and ask yourself if you want to to re-think your design. _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies