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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 2947BC432C1 for ; Tue, 24 Sep 2019 11:17:30 +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 DC1EB20872 for ; Tue, 24 Sep 2019 11:17:29 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DC1EB20872 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.2) (envelope-from ) id 1iCioN-00013a-Dw; Tue, 24 Sep 2019 07:16:51 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) (envelope-from ) id 1iCioJ-00013U-W6 for kernelnewbies@kernelnewbies.org; Tue, 24 Sep 2019 07:16:48 -0400 Received: from mr1.cc.vt.edu (junk.cc.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x8OBGjug007519 for ; Tue, 24 Sep 2019 07:16:46 -0400 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr1.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x8OBGeVB021447 for ; Tue, 24 Sep 2019 07:16:45 -0400 Received: by mail-qt1-f197.google.com with SMTP id e13so1501609qto.18 for ; Tue, 24 Sep 2019 04:16:45 -0700 (PDT) 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:content-transfer-encoding:date:message-id; bh=fRMK0kv9MxFWNuseQHIsgv7jgldWv/i9/tjAmBnLvHY=; b=N/SA1XTzvAVJi2YDGBzTDsVcocWwTH4I4aS5BYQxNLzMLmmj77rDYDOSpw55E1r836 K5yrMIkppx7IcAx2TsbDWRUA8E+vIz6ogLURviIQZUa5jGm2vkhZk6MV6mcWvxXARhQI HZRuq2YkEIFV99ABclgaa55mquY4OW+NdNCUTYLg9LBIQN3dmGvyCgPfe284iZ7AZ4Gb 6D3fq56NGU6dfzPAJtWYDEtUtXRReQ6+6dJd8IYXAbSRenurSyU8T9jfo1DKJtX884rz dPqpESYQzzL7Gwn9tb392hAfSiduR3gIf/Vmi4XAQ5rWi/LwJIJ38gehm87C+kdBjU21 x5iA== X-Gm-Message-State: APjAAAUV7kpjByPisTSIB+jLl+SNERN7bp25wAvIsRwuDCcrDwcv7CtS +jdl6ZSBWOSjN9KtbHaqeksuXaqXL1e9DMJmWG88gZHuoDCXk7gEemf6BDhxoVxJOPF8ypjQE06 dPGvUlMNWF/I4dMQf3E5maxykIA0ERe8bJjWcy2k= X-Received: by 2002:a37:84c3:: with SMTP id g186mr1715914qkd.71.1569323800266; Tue, 24 Sep 2019 04:16:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgAS42F3/7IdypJpKQtGHe3BUphFgJPj0mhQh/ddbDwR6whAHzY53ExBjAwqZPFSsfDRWBwA== X-Received: by 2002:a37:84c3:: with SMTP id g186mr1715893qkd.71.1569323799995; Tue, 24 Sep 2019 04:16:39 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::359]) by smtp.gmail.com with ESMTPSA id v7sm848764qte.29.2019.09.24.04.16.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Sep 2019 04:16:38 -0700 (PDT) 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: Sahibzada Irfanullah Subject: Re: Generating Log of Guest Physical Addresses from a Kernel Function and Perform Analysis at Runtime In-Reply-To: References: Mime-Version: 1.0 Date: Tue, 24 Sep 2019 07:16:38 -0400 Message-ID: <242780.1569323798@turing-police> Cc: 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: multipart/mixed; boundary="===============6710178240985298103==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============6710178240985298103== Content-Type: multipart/signed; boundary="==_Exmh_1569323797_12454P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1569323797_12454P Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Tue, 24 Sep 2019 19:10:59 +0900, Sahibzada Irfanullah said: > My actual goal is to generate log of physical addresses for different > applications by writing them into the file, and then perform some analy= sis What makes you think that the log of physical addresses will tell you any= thing useful or interesting? Hint: Pretty much all physical pages usable for process space are identi= cal as far as the kernel is concerned, and if a virtual or disk cache page is pulled= into memory from disk more than once, the same virtual page can end up in different p= hysical pages.each time. > at runtime in this function by reading the logs from the log file. > Furthermore, I want a file which size can dynamically grow as the size = of > log increases. Are you trying to do this *at runtime in real time*, or is post-run analy= sis OK? --==_Exmh_1569323797_12454P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXYn7FQdmEQWDXROgAQKeeRAAnn4iug/C/tXmSe4pBE1ptaTdzdbRTmmT 6oA2E1HthLNGJnOFDOVI2BDwsQTMEKm+p6eHzhCw21skSpcztuHbroft5QTZFuO4 nxsEKB8K6yccOECiPeSu003wzcxo482n6kHiGT8fZyXL5zXgdRAvlDOGLFRRXESO OxaE4FMJdTFy9fD+uZR9Phbvszerja4qIw5MJjBwl5DTZQF5pDiYbnPwfvVHjUhW DKNwEExcZ3RIMoA/ELGr5AFj8Xpr7cFcTaMWzIVi51G5ydYAJ7jDD7sMoExB/AfA HB4iEX/1PZTKlo05CoW18opsjTWEbt6oTeduGIZ/wAY+V1TeUyTgR8Jf9kC3dzsp 1Lr3w2Sbqq2t5+wOrj+Dm1RUVkzK3F/4EPbtfHP211h5a7+JBchNW8AfcJQFFte4 2bC8aS3Q33C3O9N7P0g35Z/bOvXZaDKa0JNiot90wNTRd9WgxRlBw5kJxQMP/TyX /0oyyyokhvK6a1pFW68WXRWTYK56r3uNPue0oP5Vpx4aDHXkMdBrr+mhl+2csZo1 QauGNyuhO1tdwTbkoPi2YdLyUHfdMD5ESUeRWXYWeOx0dyQ73kibNL2TNJNSyBDJ 5uLOWMUbLsMtmglmsSS3NtZa85PZ6u0J8HKH7waDIIKQUmmh2QtlxsvxYiUnC0tx 6obXnTBZ7aQ= =TGxl -----END PGP SIGNATURE----- --==_Exmh_1569323797_12454P-- --===============6710178240985298103== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============6710178240985298103==--