<div dir="ltr">Thank you for your response.<div>After having a reasonable amount of log data, I want to perform some type of analsys at run time, e.g., no. of unique addresses, total no. of addresses, frequency of occurences of each addresses etc. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, 24 Sep 2019 at 20:16, Valdis Klētnieks <<a href="mailto:valdis.kletnieks@vt.edu">valdis.kletnieks@vt.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, 24 Sep 2019 19:10:59 +0900, Sahibzada Irfanullah said:<br>
<br>
> My actual goal is to generate log of physical addresses for different<br>
> applications by writing them into the file, and then perform some analysis<br>
<br>
What makes you think that the log of physical addresses will tell you anything<br>
useful or interesting?<br>
<br>
Hint: Pretty much all physical pages usable for process space are identical as far<br>
as the kernel is concerned, and if a virtual or disk cache page is pulled into memory<br>
from disk more than once, the same virtual page can end up in different physical<br>
pages.each time.<br>
<br>
> at runtime in this function by reading the logs from the log file.<br>
> Furthermore, I want a file which size can dynamically grow as the size of<br>
> log increases.<br>
<br>
Are you trying to do this *at runtime in real time*, or is post-run analysis OK?<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><span style="font-size:12.8px">Regards,</span><div style="font-size:12.8px"><br><span style="font-size:12.8px;color:rgb(80,0,80)"><b>Mr. Irfanullah</b></span></div><div style="font-size:12.8px"><div style="font-size:12.8px"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>