<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1436</id>
	<title>Nabble - Gnome - Memprof</title>
	<updated>2009-10-25T22:02:08Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnome---Memprof-f1436.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnome---Memprof-f1436.html" />
	<subtitle type="html">The MemProf memory profiling tool</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26054652</id>
	<title>memprof 0.6.2 release ready for testing</title>
	<published>2009-10-25T22:02:08Z</published>
	<updated>2009-10-25T22:02:08Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;I have just created a memprof-0.6.2 tarball and uploaded it here[1]. The 
&lt;br&gt;biggest change is that some of the most annoying crashes in memprof-0.6 has 
&lt;br&gt;been fixed, I have merged or redone some fixes of the memprof-revised work, most 
&lt;br&gt;noticeable one is the inclusion of raster's two new views.
&lt;br&gt;&lt;br&gt;I'm still waiting on the GNOME account creation but to allow contributing I 
&lt;br&gt;have moved the source-code to gitorious.org[2] which should making 
&lt;br&gt;contributing as easy as sending a merge request.
&lt;br&gt;&lt;br&gt;For memprof-0.6.3 I want to merge more changes from the to-merge/memprof-
&lt;br&gt;atheme and to-merge/memprof-cern branches, work on the detailwin.c
&lt;br&gt;&lt;br&gt;&lt;br&gt;$ git shortlog MEMPROF_0_6_1..MEMPROF_0_6_2
&lt;br&gt;Cristi Magherusan (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; some other minor changes, mostly guint -&amp;gt; gsize's
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; fixed a typo, bug #51556 in the gnome bugzilla
&lt;br&gt;&lt;br&gt;Holger Hans Peter Freyther (10):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; mi-perfctr.c: Remove the O_CREAT (from the openSUSE buildservice)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; memprof.glade: Open and save the file
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Provide a GtkFileChooseButton to select the executable.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; merge rasterman's extra window
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; .gitignore: Ignore generated files
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; process_find_line: Clarify who is owning the returned pointer
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; detailwin.c: Fix possible crash when opening the maps file fails
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; process_locate_symbol: Make sure a valid string is always returned
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; add_leaf_to_tree: Avoid running into a crash
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; memprof release 0.6.2
&lt;br&gt;&lt;br&gt;Stefan Schmidt (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; configure.in: Use AM_SILENT_RULES if available
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; stack-frame: Introduce macros for stack pointer regs and use them.
&lt;br&gt;&lt;br&gt;Tomasz Mon (2):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; configure.in: Search for bfd.h provided by binutils development package
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Integrate the detailwin into the main GtkNotebook
&lt;br&gt;&lt;br&gt;William Pitcock (1):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; use elf_demangle() in more places
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://www.secretlabs.de/projects/memprof/releases/memprof-0.6.2.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.secretlabs.de/projects/memprof/releases/memprof-0.6.2.tar.gz&lt;/a&gt;&lt;br&gt;[2] &lt;a href=&quot;http://gitorious.org/memprof&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://gitorious.org/memprof&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26054652&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memprof-0.6.2-release-ready-for-testing-tp26054652p26054652.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23939558</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-09T02:36:49Z</published>
	<updated>2009-06-09T02:36:49Z</updated>
	<author>
		<name>Cristi Magherusan-3</name>
	</author>
	<content type="html">On Tue, 2009-06-09 at 06:49 +0200, Holger Freyther wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Tuesday 09 June 2009 06:41:13 Holger Freyther wrote:
&lt;br&gt;&amp;gt; &amp;gt; On Monday 08 June 2009 17:50:30 Cristi Magherusan wrote:
&lt;br&gt;&amp;gt; &amp;gt; &amp;gt; &lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hey Cristi, could you tell me how to hg clone the memprof-revised
&lt;br&gt;&amp;gt; &amp;gt; repository? The obvious usage with the url above didn't work.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; And i'm stupid it is
&lt;br&gt;&amp;gt; hg clone &lt;a href=&quot;http://hg.atheme.org/memprof-revived/.hg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived/.hg&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; z.
&lt;/div&gt;Hello,
&lt;br&gt;&lt;br&gt;I know it's not obvious, but appending a / should be enough.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Cristi
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23939558&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23939558.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23936319</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T21:49:21Z</published>
	<updated>2009-06-08T21:49:21Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">On Tuesday 09 June 2009 06:41:13 Holger Freyther wrote:
&lt;br&gt;&amp;gt; On Monday 08 June 2009 17:50:30 Cristi Magherusan wrote:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hey Cristi, could you tell me how to hg clone the memprof-revised
&lt;br&gt;&amp;gt; repository? The obvious usage with the url above didn't work.
&lt;br&gt;&lt;br&gt;And i'm stupid it is
&lt;br&gt;hg clone &lt;a href=&quot;http://hg.atheme.org/memprof-revived/.hg&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived/.hg&lt;/a&gt;&lt;br&gt;&lt;br&gt;z.
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23936319&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23936319.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23936249</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T21:41:13Z</published>
	<updated>2009-06-08T21:41:13Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">On Monday 08 June 2009 17:50:30 Cristi Magherusan wrote:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;&lt;br&gt;&lt;br&gt;Hey Cristi, could you tell me how to hg clone the memprof-revised repository? 
&lt;br&gt;The obvious usage with the url above didn't work.
&lt;br&gt;&lt;br&gt;z.
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23936249&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23936249.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23927963</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T09:50:42Z</published>
	<updated>2009-06-08T09:50:42Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">On Monday 08 June 2009 17:50:30 Cristi Magherusan wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; I tried the same a while ago, with help from some other folks, and we
&lt;br&gt;&amp;gt; decided to &amp;quot;fork&amp;quot; the code and apply user-provided patches.
&lt;br&gt;&amp;gt; Unfortunately our momentum faded from various reasons and it got stalled
&lt;br&gt;&amp;gt; again, but we made a slight progress from the original version. Our
&lt;br&gt;&amp;gt; code, with some GUI improvements can be found at
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Feel free to apply them to the repo.or.cz git repo. I'll try to join
&lt;br&gt;&amp;gt; your effort as my time allows it.
&lt;br&gt;&lt;br&gt;Yes, I stumbled across this on ohloh today but a google search didn't show me 
&lt;br&gt;this repository. I have seen you guys merged raster changes, I had this on my 
&lt;br&gt;list as well... actually raster told me about memprof on one of our taxi 
&lt;br&gt;drives to the Openmoko office in taipei...
&lt;br&gt;&lt;br&gt;One thing that catched my was the porting to FreeBSD/Dragonfly. I think you 
&lt;br&gt;could have minimized the amount of #ifdef, So far only the flags have different 
&lt;br&gt;names (ptrace) or an argument has a different value. This can be nicely 
&lt;br&gt;abstracted in platforms defining MEMPROF_PTRACE_PEEK_DATA and such..
&lt;br&gt;&lt;br&gt;but thanks a lot for pointing me to the repository, I will merge some changes! 
&lt;br&gt;I still have the hope that we can push things back to the GNOME repository...
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; z.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23927963&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23927963.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23926799</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T08:50:30Z</published>
	<updated>2009-06-08T08:50:30Z</updated>
	<author>
		<name>Cristi Magherusan-3</name>
	</author>
	<content type="html">On Mon, 2009-06-08 at 17:03 +0200, Holger Freyther wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Monday 08 June 2009 16:34:17 Ionut Grigorescu wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi Holger Freyther
&lt;br&gt;&amp;gt; &amp;gt; (I don't know which is the first name and which is the last name so I use
&lt;br&gt;&amp;gt; &amp;gt; both your names :-) &amp;nbsp; )
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've asked the same things a while ago, I think about a year ago, and
&lt;br&gt;&amp;gt; &amp;gt; received no answer, so I guess this project is kind of ... let's say not so
&lt;br&gt;&amp;gt; &amp;gt; alive :-)
&lt;br&gt;&amp;gt; &amp;gt; But I think we should resurrect it, since it's open source and a great
&lt;br&gt;&amp;gt; &amp;gt; tool. I made a patch for the stable version so it can save the results in a
&lt;br&gt;&amp;gt; &amp;gt; text file and fixed some minor bugs and I also have some Ideas of making
&lt;br&gt;&amp;gt; &amp;gt; some improvments.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Maybe we should get busy :-)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Yes, I have seen it and planned to take a look at it. Currently the code is on 
&lt;br&gt;&amp;gt; repo.or.cz so more than one can contribute to it.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; z.
&lt;/div&gt;Hi there, 
&lt;br&gt;&lt;br&gt;I tried the same a while ago, with help from some other folks, and we
&lt;br&gt;decided to &amp;quot;fork&amp;quot; the code and apply user-provided patches.
&lt;br&gt;Unfortunately our momentum faded from various reasons and it got stalled
&lt;br&gt;again, but we made a slight progress from the original version. Our
&lt;br&gt;code, with some GUI improvements can be found at
&lt;br&gt;&lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;&lt;br&gt;&lt;br&gt;Feel free to apply them to the repo.or.cz git repo. I'll try to join
&lt;br&gt;your effort as my time allows it.
&lt;br&gt;&lt;br&gt;Best regards,
&lt;br&gt;Cristi
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23926799&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23926799.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23925807</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T08:03:55Z</published>
	<updated>2009-06-08T08:03:55Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">On Monday 08 June 2009 16:34:17 Ionut Grigorescu wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Holger Freyther
&lt;br&gt;&amp;gt; (I don't know which is the first name and which is the last name so I use
&lt;br&gt;&amp;gt; both your names :-) &amp;nbsp; )
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've asked the same things a while ago, I think about a year ago, and
&lt;br&gt;&amp;gt; received no answer, so I guess this project is kind of ... let's say not so
&lt;br&gt;&amp;gt; alive :-)
&lt;br&gt;&amp;gt; But I think we should resurrect it, since it's open source and a great
&lt;br&gt;&amp;gt; tool. I made a patch for the stable version so it can save the results in a
&lt;br&gt;&amp;gt; text file and fixed some minor bugs and I also have some Ideas of making
&lt;br&gt;&amp;gt; some improvments.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Maybe we should get busy :-)
&lt;/div&gt;&lt;br&gt;Yes, I have seen it and planned to take a look at it. Currently the code is on 
&lt;br&gt;repo.or.cz so more than one can contribute to it.
&lt;br&gt;&lt;br&gt;z.
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925807&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23925807.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23925225</id>
	<title>Re: memprof-list Digest, Vol 28, Issue 1</title>
	<published>2009-06-08T07:34:17Z</published>
	<updated>2009-06-08T07:34:17Z</updated>
	<author>
		<name>Ionut Grigorescu-2</name>
	</author>
	<content type="html">Hi Holger Freyther&lt;br&gt;(I don&amp;#39;t know which is the first name and which is the last name so I use both your names :-)   )&lt;br&gt;&lt;br&gt;I&amp;#39;ve asked the same things a while ago, I think about a year ago, and received no answer, so I guess this project is kind of ... let&amp;#39;s say not so alive :-)&lt;br&gt;
But I think we should resurrect it, since it&amp;#39;s open source and a great tool.&lt;br&gt;I made a patch for the stable version so it can save the results in a text file and fixed some minor bugs and I also have some Ideas of making some improvments.&lt;br&gt;
&lt;br&gt;Maybe we should get busy :-)  &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class=&quot;gmail_quote&quot;&gt;On Fri, Jun 5, 2009 at 3:00 PM,  &lt;span dir=&quot;ltr&quot;&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list-request@...&lt;/a&gt;&amp;gt;&lt;/span&gt; wrote:&lt;br&gt;
&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;Send memprof-list mailing list submissions to&lt;br&gt;
        &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
To subscribe or unsubscribe via the World Wide Web, visit&lt;br&gt;
        &lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;
or, via email, send a message with subject or body &amp;#39;help&amp;#39; to&lt;br&gt;
        &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list-request@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
You can reach the person managing the list at&lt;br&gt;
        &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list-owner@...&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
When replying, please edit your Subject line so it is more specific&lt;br&gt;
than &amp;quot;Re: Contents of memprof-list digest...&amp;quot;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Today&amp;#39;s Topics:&lt;br&gt;
&lt;br&gt;
   1. Maintainership of memprof (Holger Freyther)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
----------------------------------------------------------------------&lt;br&gt;
&lt;br&gt;
Message: 1&lt;br&gt;
Date: Thu, 4 Jun 2009 14:49:08 +0200&lt;br&gt;
From: Holger Freyther &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;zecke@...&lt;/a&gt;&amp;gt;&lt;br&gt;
Subject: Maintainership of memprof&lt;br&gt;
To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;&lt;br&gt;
Cc: Soeren Sandmann &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;sandmann@...&lt;/a&gt;&amp;gt;&lt;br&gt;
Message-ID: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;200906041449.08776.zecke@...&lt;/a&gt;&amp;gt;&lt;br&gt;
Content-Type: Text/Plain;  charset=&amp;quot;iso-8859-1&amp;quot;&lt;br&gt;
&lt;br&gt;
Hey Guys, Soeren,&lt;br&gt;
&lt;br&gt;
I would be interested in taken over the maintainer-ship of memprof. I think it&lt;br&gt;
is a great tool, I use it when looking at the memory allocations of&lt;br&gt;
WebKit/GTK+ and the current state saddens me a bit and I would like to change&lt;br&gt;
it.&lt;br&gt;
&lt;br&gt;
As of now there is no website for memprof. Owen&amp;#39;s Red Hat page is referring to&lt;br&gt;
a non-existent page on &lt;a href=&quot;http://projects.gnome.org&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;projects.gnome.org&lt;/a&gt;, the website mentioned in the README&lt;br&gt;
does not exist as well, there is a small compile issue with fortify enabled&lt;br&gt;
gcc (the usual open with O_CREAT but no third argument).&lt;br&gt;
&lt;br&gt;
kind regards&lt;br&gt;
        holger&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
------------------------------&lt;br&gt;
&lt;br&gt;
_______________________________________________&lt;br&gt;
memprof-list mailing list&lt;br&gt;
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;&lt;br&gt;
&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
End of memprof-list Digest, Vol 28, Issue 1&lt;br&gt;
*******************************************&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;&lt;br clear=&quot;all&quot;&gt;&lt;br&gt;-- &lt;br&gt;Ionut Grigorescu&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23925225&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-memprof-list-Digest%2C-Vol-28%2C-Issue-1-tp23925225p23925225.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23869244</id>
	<title>Maintainership of memprof</title>
	<published>2009-06-04T05:49:08Z</published>
	<updated>2009-06-04T05:49:08Z</updated>
	<author>
		<name>Holger Freyther-6</name>
	</author>
	<content type="html">Hey Guys, Soeren,
&lt;br&gt;&lt;br&gt;I would be interested in taken over the maintainer-ship of memprof. I think it 
&lt;br&gt;is a great tool, I use it when looking at the memory allocations of 
&lt;br&gt;WebKit/GTK+ and the current state saddens me a bit and I would like to change 
&lt;br&gt;it.
&lt;br&gt;&lt;br&gt;As of now there is no website for memprof. Owen's Red Hat page is referring to 
&lt;br&gt;a non-existent page on projects.gnome.org, the website mentioned in the README 
&lt;br&gt;does not exist as well, there is a small compile issue with fortify enabled 
&lt;br&gt;gcc (the usual open with O_CREAT but no third argument).
&lt;br&gt;&lt;br&gt;kind regards
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; holger
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23869244&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Maintainership-of-memprof-tp23869244p23869244.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21653311</id>
	<title>Obama -- The Judas Goat</title>
	<published>2009-01-25T08:12:31Z</published>
	<updated>2009-01-25T08:12:31Z</updated>
	<author>
		<name>Benjamin Otte</name>
	</author>
	<content type="html">Obama -- The Judas Goat
&lt;br&gt;1/25/2009
&lt;br&gt;By David Duke
&lt;br&gt;&lt;br&gt;Judas Goat\ A goat that leads other goats or sheep to slaughter. Also, one who entices into danger and betrays others. The name is an allusion to Judas Iscariot, who betrayed Jesus for 30 pieces of slaughter. (From Merriam Websters Dictionary)
&lt;br&gt;&lt;br&gt;Barack Hussein Obama is a Judas Goat.
&lt;br&gt;&lt;br&gt;Extremist Jews guided Barack Hussein Obamas career from day one, even all the way back to Harvard Law School. &amp;nbsp;Radical Zionist hitman, David Axelrod previously orchestrated the Jewish-financed and organized defeat of perceived anti-Zionist Sen. Charles Percy. He is the man who ran Obamas campaign for President and who is his chief handler. Obamas campaign was overwhelmingly financed by the most powerful Zionist bankers in the world. His campaigns largest contribution source was the Zionist international banking firm of Goldman Sachs. (FEC campaign records). In both Obamas Senate and Presidential campaign he prostrated himself before AIPAC (American Israel Public Affairs Committee) promising even more money and blood for Israels terrorism than even the supine John McCain, and even more money and blood than the previous Shabbez Goy in the White House, George Bush. Before the Israeli terrorism and mass murder in Gaza, he went to Israel and said that he supported Israels p
&lt;br&gt;&amp;nbsp;lanned murderous terrorism against the men, women and children of Gaza.
&lt;br&gt;&lt;br&gt;His first act as President-elect was to appoint a rabid Zionist, Israeli dual citizen who served in the Israeli Army as his Chief of Staff, Rahm Emmanuel. As thousands of women and children in Gaza were killed or maimed, Obama remained silent. Within a few days as President Obama supported indiscriminate American missile strikes in villages of our ally Pakistan, a clear continuation of Bushs policies. &amp;nbsp;He completely supports the theft of trillions of American taxpayer dollars to the Zionist international bankers. Eighty percent of American Jews voted for Obama, and all the main leaders of the Jewish Supremacist state of Israel have proclaimed Obama as the perfect man for U.S. President.
&lt;br&gt;&lt;br&gt;What better for the Zionists to have their own servant perceived as a clean break from the Jewish extremist-controlled Bush administration? What better than for the Zionists than to have their Shabbez Goy be treated by the worlds press and even by much of the anti-Zionist community as a man of real change? What better for the Zionists than for the world to think that Obama will be a change from the Zionist-controlled policies when he willing to do anything that Israel demands? What better for the Zionist murderers to have their craven puppet be looked at by the whole world as a man of honor and integrity and fairness.
&lt;br&gt;&lt;br&gt;In the slaughterhouse, the Judas Goat is often painted with bright colors, adorned with strong, sweet scents to lure the sheep to their pens and to their death. Obama, the Judas Goat of our time, is looked upon by millions of Zionist-propagandized sheep as the man who will lead them to salvation.
&lt;br&gt;&lt;br&gt;Instead, he leads America, Palestine and the world to the bloody altar of Jewish Supremacism.
&lt;br&gt;&lt;br&gt;Any supposed anti-Zionist who praises Barack Obama is actually aiding this Judas Goat to lead us all to slaughter. Every person who truly opposes Jewish extremism must speak out and expose the Judas Goat named Barack Obama!
&lt;br&gt;&lt;br&gt; Dr. David Duke
&lt;br&gt;&lt;br&gt;Former Member of the House of Representatives
&lt;br&gt;&lt;br&gt;State of Louisiana
&lt;br&gt;&lt;br&gt;United States of America
&lt;br&gt;&lt;br&gt;It is up to you the people of the United States who can still think freely, &amp;nbsp;and up to all of the people of the world who are able to see through the deceptions of the Zionist-influenced Global media &amp;nbsp;-- to get this simple, powerful message to everyone on earth. Email this message to your friends, post it on forums and websites and put links to it on every website, facebook or other media in the world. Go and seek out media and Internet sites not controlled by Zionist power. Make youtube videos of this message, (use the short audio and find good illustrative pictures) and post it untill your fingers are worn and tired, print it and mail it to newspapers or any media outlet that has still not fallen under the propaganda of the Zionists. Let the world know the truth. Person by person, in the USA, Canada, UK, France, Germany, Italy, japan, Russia, China, Africa, Palestine, South America and across the whole world this Judas Goat must be exposed for what he is, so that when begin
&lt;br&gt;&amp;nbsp;s to do his evil for Israel, the whole world will know exactly what is going on and resist!
&lt;br&gt;&lt;br&gt;Source : &lt;a href=&quot;http://www.davidduke.com/general/obama-the-judas-goat_7317.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.davidduke.com/general/obama-the-judas-goat_7317.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;------------------------
&lt;br&gt;&lt;br&gt;Why is the President of Israel, the terrorist who just oversaw the Zionist mass murder and maiming of thousands of Palestinians so happy
&lt;br&gt;that Obama is President of the USA?
&lt;br&gt;by David Duke
&lt;br&gt;&lt;br&gt;&lt;br&gt;Read the excerpt from the Israeli News about how President Perez and Israel think that Obamas becoming U.S. President is great day
&lt;br&gt;for Israel.
&lt;br&gt;&lt;br&gt;&amp;quot;Israels President Shimon Peres ecstatic over the election of Obama&amp;quot;
&lt;br&gt;Ronen Medzini Israel News Jan. 21
&lt;br&gt;&lt;br&gt;Today is a great day not only for the United States of America, but for the entire world, President Shimon Peres wrote in a letter
&lt;br&gt;addressed to Barack Obama on the day of his inauguration as president of the United States.
&lt;br&gt;&lt;br&gt;Obama was elected by the United States, but as a matter of fact, he was chosen by the whole of humankind,
&lt;br&gt;&lt;br&gt;Why is Peres so ecstatic?
&lt;br&gt;&lt;br&gt;Why shouldnt he be, he knows that Obama is completely in the grip of the extremist Jewish Zionists in America, and he knows that the
&lt;br&gt;greater Obamas popularity and idol worship, the more Obama can do for the International Zionist Cause.
&lt;br&gt;&lt;br&gt;Any thinking and caring human being who realizes that the Zionist-controlled American foreign policy has been a disaster for the robbed
&lt;br&gt;and murdered people of Palestine, Lebanon, Iraq and a catastrophe for the 50,000 American wounded in Iraq and Afghanistan, as well
&lt;br&gt;as an economic catastrophe for the hardworking Americans who pay trillions to finance these wars for Israel -- must wake up the fact that
&lt;br&gt;supporting Obama and increasing his popularity &amp;nbsp;will only aid Zionist terrorism, war, and their murder and oppression of the Palestinians. It
&lt;br&gt;will also hasten the economic suffering of billions of people around the world as his popularity enables him to more easily aid the Zionist
&lt;br&gt;International Bankers steal the wealth of the United States, Europe and the world. &amp;nbsp;Obama is totally in the bloodstained and green ink-
&lt;br&gt;stained hands of the Zionists. The hard truth is that the more good will and support Obama has also gives more power to support the
&lt;br&gt;Zionist agenda!
&lt;br&gt;&lt;br&gt;Mark my words. The Obama Presidency will be disaster for America and for the world.
&lt;br&gt;&lt;br&gt;Obama was put into office by the Zionists. His top two cohorts for years have been the radical Jews David Axelrod and Rahm
&lt;br&gt;Emmanuel. Both have long records of radical Zionism and have been attack dogs against anyone perceived as having the slightest
&lt;br&gt;opposition to Israel. One such victim was Sen. Charles Percy, who both men worked to defeat and destroy because he dared to only be
&lt;br&gt;99 percent rather than 100 percent pro-Israel. Rahm Emmanuel, a dual citizen of Israel who went to fight for Israel, he has a long
&lt;br&gt;pedigree of Jewish extremism. His father served in the Irgun Terrorist Gang and he himself is named after an Irgun terrorist.
&lt;br&gt;&lt;br&gt;Zionist leaders in Chicago actually call Obama the first Jewish President and boast that Jews were key players in Obamas every step
&lt;br&gt;up the ladder to President.
&lt;br&gt;&lt;br&gt;from the very earliest days, extremist Jews were the largest contributors to his campaign. In the beginning of his Presidential bid, three
&lt;br&gt;Hollywood Jews that constantly make movies about Jewish suffering, but never about the Zionist terrorism and theft against the
&lt;br&gt;Palestinian people, Steven Spielberg, David Geffen, and Jeffrey Katzenberg raised 1.2 million for Obama in a single Hollywood party.
&lt;br&gt;&lt;br&gt;By the time Obamas campaign was in full swing, he had huge support from the criminal Zionist International Banking firms such as
&lt;br&gt;Goldman Sachs and Lehman brothers. Goldman Sachs was Obamas biggest single contributor, and his vast war chest came not from
&lt;br&gt;American manufacturing firms like GM or even American oil companies, (not one was in his top twenty) it was overwhelmingly dominated
&lt;br&gt;by Zionist international bankers, the same ones whose thievery and fraud are giving the world this economic depression.
&lt;br&gt;&lt;br&gt;For those looking for meaningful social and political change, do you really think it will come from this man who has already been bought
&lt;br&gt;heart, head and soul by the most powerful czars of the international financial establishment and the biggest globalists in the world?
&lt;br&gt;&lt;br&gt;I know that many are desperate for change, so desperate that you want to believe anything. But in the face of these facts cant you see
&lt;br&gt;that Obama will be even more dangerous to freedom and justice than even George Bush and his band of Neocons were. What better
&lt;br&gt;way to wipe out George Bushs hated legacy and make the world believe that America has really changed than with the election of
&lt;br&gt;Obama. But, all the real Zionist power, Zionist media power, and Zionist financial power in America is still in place, even stronger than
&lt;br&gt;ever.
&lt;br&gt;&lt;br&gt;Many Americans and others around the world who want to do good are now telling us how wonderful Obama will be as president. What
&lt;br&gt;a great change it will be from the old policies. This is because of the Zionist-Controlled media hype, promoting Obama. The fact is that
&lt;br&gt;these poor sods are ignorantly helping the radical Zionist agenda in Israel and around the world.
&lt;br&gt;&lt;br&gt;Every day that you dont help expose Obama for the Zionist servant that he actually is, his popularity will be a greater danger to peace
&lt;br&gt;and freedom.
&lt;br&gt;&lt;br&gt;If the Zionist terrorist Shimon Perez is happy about the coronation of Obama, then why in the hell should you be?
&lt;br&gt;&lt;br&gt;David Duke
&lt;br&gt;&lt;br&gt;Source : &lt;a href=&quot;http://www.davidduke.com/general/7303_7303.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.davidduke.com/general/7303_7303.html&lt;/a&gt;&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br&gt;You or someone using your email adress is currently subscribed to the Lawrence Auster
&lt;br&gt;Newletter. If you wish to unsubscribe from our mailing list, please let us know by calling to 1 212 865 1284
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;&lt;br&gt;Lawrence Auster,
&lt;br&gt;238 W 101 St Apt. 3B
&lt;br&gt;New York, NY &amp;nbsp;10025
&lt;br&gt;Contact: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21653311&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lawrence.auster@...&lt;/a&gt;
&lt;br&gt;-------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21653311&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Obama----The-Judas-Goat-tp21653311p21653311.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21612155</id>
	<title>Wake Up World! Meet the New Boss, Same as the Old Boss</title>
	<published>2009-01-22T12:04:10Z</published>
	<updated>2009-01-22T12:04:10Z</updated>
	<author>
		<name>Bugzilla from teuf@gnome.org</name>
	</author>
	<content type="html">If you want to know who the real establishment is in America and around the world, the real power behind the so-called ''military-industrial complex'', the real maleficent power that has led this world to inexorable conflict, war, hatreds, destruction of real human values, morality, conscience  it is the global media establishment.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;This same media witnessed the Zionist slaughter of 1,300 people in Gaza, and the maiming of 6,000 more, half of them women and children. More than 20,000 homes and buildings were destroyed or damaged and thousands became homeless. This horrendous mass slaughter of Palestinians is compared to the loss of 3 Israeli civilians. Yet, the media never dare to call this slaughter exactly what it is: terrorism on a horrendous scale! This same American and global media has not informed the American people or the people of the world of the damning truth about Barack Obama.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;In truth, Obama is a complete creation of extremist Jewish Zionists and he has already begun to serve Israel by his top appointments.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The Jewish-dominated media in America is promoting the Obama inauguration as akin to the Second Coming of Jesus Christ. (If you question Jewish control of the media read Who Runs the Media? and you will find documentation proving the Jewish control being far greater than you might suspect) The rest of the worlds powerful media (Which also has a powerful Jewish presence in the UK, France, Spain, Sweden, Russia, and the rest of Europe) takes its cues from the NY/Hollywood media axis, and presents Obama as kind of a superhuman agent of real change.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;In fact, it is a Huge Lie!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Obama is completely controlled by the same forces that have controlled George Bush, so much so that The Chicago Tribune quotes leading Jews bragging that Obama is so in the hands of the Zionists that he is ''the first Jewish President.'' Obama received about 80 percent of the Jewish vote in the United States!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;The Three critical things that made Obama President:
&lt;br&gt;&amp;nbsp;
&lt;br&gt;1)Jewish political influence
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Obamas chief handler is David Axelrod, a radical Jewish Zionist whose previous claim to fame was the fact that he was the Zionist political hit man against Illinois Senator Charles Percy, who was not deemed to be pro-Israel enough. (He was only 99.9 percent Israels lackey, not the required 100 percent) Obama went to Israel and made sure he pronounced himself even more radically pro-Zionist than Bush or McCain.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;2) Massive amounts of Jewish money
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Obamas campaign was kicked in high gear by Jewish Hollywood and financial moguls. In just one of the early fundraising parties in Hollywood by Spielberg, Geffen and Katzenburg it raised over a million dollars for Obama. Obama raised more money than any political candidate in American history and his biggest contributors were overwhelmingly Jewish activists, Jewish international finance and banking firms and Jewish globalists. His largest single contributor was the international Jewish Banking firm of Goldman Sachs. He received more money from the same international bankers that ripped off trillions of dollars in the recent economic scandals than even John McCain. Is a man totally under the power of the most powerful financial organizations in the entire world, really an agent of ''change?''
&lt;br&gt;&amp;nbsp;
&lt;br&gt;3) Overwhelming positive support in the Jewish-dominated media
&lt;br&gt;&amp;nbsp;
&lt;br&gt;By a large margin, Jewish-owned media officially endorsed Obama, and that is not counting tens of thousands of positive articles by Jewish; owned publications and pundits.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Obamas first act as President-elect was to appoint a Jewish extremist, dual citizen, Rahm Emmanuel, as his chief of staff. As the people of Gaza were slaughtered, Obama would not make a single statement to stop this murder and maiming of thousands of innocents!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Israel, very carefully timed its terrorist attack on Gaza to be in the remaining days of the Bush Administration. The day before Obamas inauguration Israel announced that it would be completely out of Gaza by the time Obama took his oath of office.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Why?
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Before Obama took office, Israel could make this terrorist slaughter against Palestinians and Obama would still be perceived as having clean hands. Because Obama is completely under their control, they want him to have an image of fairness, honor and peacefulness, and as representing a new direction of American policy, as he begins to deal with the Mideast turmoil.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Since he is Israels boy in the White House, what better scenario could they have than a President perceived as practically the Second Coming, of high moral conviction, and dedicated to fairness, &amp;nbsp;but who is actually bound hand-and-foot to the Zionist agenda, just as the last presidents have been. Talk about a perfect shill. And the game is working, for even many Palestinians are filled with hope that the new President will work to end their long suffering.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;With an almost godlike positive image around the world, a Barack Obama who is in reality controlled by Israel, is a much bigger danger than was even George Bush. We know what Bush is, but too many Americans and other peoples around the world are falling for the lies about the new ''savior'' of the world: Barack Obama. He already says we are to put thousands of new troops in Afghanistan and has rattled the sabers against Iran. Obama with highest positive image (created by media) in the world is in a more dangerous position to lead us into catastrophic wars than George Bush ever was.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Jewish screenwriters in Hollywood couldnt have written a better script for the Zionist agenda than what is being played out on inauguration day, USA.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Of course, why should they write it, they did it.
&lt;br&gt;&amp;nbsp;
&lt;br&gt;God save America, God save the Palestinians, God save peace and justice in the world!
&lt;br&gt;&amp;nbsp;
&lt;br&gt;david duke
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;Source: 
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://www.davidduke.com/general/wake-up-world-meet-the-new-boss-same-as-the-old-boss_7225.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.davidduke.com/general/wake-up-world-meet-the-new-boss-same-as-the-old-boss_7225.html&lt;/a&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;---------------------------------------------------------------
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;You or someone using your email adress is currently subscribed to the Lawrence Auster
&lt;br&gt;Newletter. If you wish to unsubscribe from our mailing list, please let us know by calling to 1 212 865 1284
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Thanks,
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Lawrence Auster,
&lt;br&gt;238 W 101 St Apt. 3B
&lt;br&gt;New York, NY &amp;nbsp;10025
&lt;br&gt;Contact: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21612155&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;lawrence.auster@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------
&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21612155&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Wake-Up-World%21-Meet-the-New-Boss%2C-Same-as-the-Old-Boss-tp21612155p21612155.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18136957</id>
	<title>memprof -- memory profiler patches</title>
	<published>2008-06-26T08:36:11Z</published>
	<updated>2008-06-26T08:36:11Z</updated>
	<author>
		<name>Ionut Grigorescu-2</name>
	</author>
	<content type="html">Hi everybody!
&lt;br&gt;&lt;br&gt;I've been searching for a good memory profiler these days and I have
&lt;br&gt;stopped at memprof.
&lt;br&gt;It's a very cool application and it suits may needs.
&lt;br&gt;However, it has some glitches.
&lt;br&gt;I've downloaded the 0.6 version, it worked like a charm, but I
&lt;br&gt;couldn't save the profiling in a file and send it to my boss.
&lt;br&gt;So I've downloaded the trunk version from svn, but it crashed.
&lt;br&gt;&lt;br&gt;So I started hacking it.
&lt;br&gt;&lt;br&gt;I've created a patch for the 0.6 version to be able to save the
&lt;br&gt;profile a file(Basically, I've taken the printing functions from the
&lt;br&gt;trunk and used them, modifying a few bugs which were in trunk).
&lt;br&gt;&lt;br&gt;And I have also fixed some bugs on trunk, regarding the printing of
&lt;br&gt;profiles.(Basically, I replaced name = caller-&amp;gt;node-&amp;gt;symbol; &amp;nbsp; &amp;nbsp; with
&lt;br&gt;&amp;nbsp; name = caller-&amp;gt;node-&amp;gt;symbol-&amp;gt;name; &amp;nbsp;and now It prints the function
&lt;br&gt;names and not junk :-) ).
&lt;br&gt;&lt;br&gt;&lt;br&gt;You can make a release on the web for a 0.6.1 version that can print
&lt;br&gt;the profiling to a file (this being the difference from 0.6), so
&lt;br&gt;people can start using it.
&lt;br&gt;&lt;br&gt;Thank you very much for a great piece of software, and thank you for
&lt;br&gt;it being open source, so I can fix myself the problems that I need to!
&lt;br&gt;&lt;br&gt;Keep up the very good work, and thanks again!
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Ionut Grigorescu
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[save_profile_on_v06.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;--- memprof-0.6/profile.c	2004-01-23 13:22:01.000000000 +0200
&lt;br&gt;+++ memprof-0.6_modif/profile.c	2008-06-26 16:59:12.000000000 +0300
&lt;br&gt;@@ -20,6 +20,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#include &amp;quot;profile.h&amp;quot;
&lt;br&gt;&amp;nbsp;#include &amp;lt;glib.h&amp;gt;
&lt;br&gt;+#include &amp;lt;errno.h&amp;gt;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static GList *
&lt;br&gt;&amp;nbsp;block_create_stack_list (Block *block, MPProcess *process, GHashTable *skip_hash)
&lt;br&gt;@@ -435,71 +436,71 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (node = func-&amp;gt;node; node != NULL; node = node-&amp;gt;next)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	if (node-&amp;gt;parent)
&lt;br&gt;-	{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;if (!g_hash_table_lookup (callers_by_symbol, node-&amp;gt;parent-&amp;gt;symbol))
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-		ProfileFunc *caller = g_new (ProfileFunc, 1);
&lt;br&gt;-		
&lt;br&gt;-		caller-&amp;gt;total = 0;
&lt;br&gt;-		caller-&amp;gt;self = 0;
&lt;br&gt;-		caller-&amp;gt;node = node-&amp;gt;parent;
&lt;br&gt;-		
&lt;br&gt;-		g_hash_table_insert (
&lt;br&gt;-		 &amp;nbsp; &amp;nbsp;callers_by_symbol, symbol_copy (node-&amp;gt;parent-&amp;gt;symbol), caller);
&lt;br&gt;-		g_ptr_array_add (result, caller);
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-	}
&lt;br&gt;-	else
&lt;br&gt;-	{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;if (!spontaneous)
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-		spontaneous = g_new (ProfileFunc, 1);
&lt;br&gt;-		spontaneous-&amp;gt;total = 0;
&lt;br&gt;-		spontaneous-&amp;gt;self = 0;
&lt;br&gt;-		spontaneous-&amp;gt;node = NULL;
&lt;br&gt;-		g_ptr_array_add (result, spontaneous);
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-	}
&lt;br&gt;+		if (node-&amp;gt;parent)
&lt;br&gt;+		{
&lt;br&gt;+			if (!g_hash_table_lookup (callers_by_symbol, node-&amp;gt;parent-&amp;gt;symbol))
&lt;br&gt;+			{
&lt;br&gt;+			ProfileFunc *caller = g_new (ProfileFunc, 1);
&lt;br&gt;+			
&lt;br&gt;+			caller-&amp;gt;total = 0;
&lt;br&gt;+			caller-&amp;gt;self = 0;
&lt;br&gt;+			caller-&amp;gt;node = node-&amp;gt;parent;
&lt;br&gt;+			
&lt;br&gt;+			g_hash_table_insert (
&lt;br&gt;+				callers_by_symbol, symbol_copy (node-&amp;gt;parent-&amp;gt;symbol), caller);
&lt;br&gt;+			g_ptr_array_add (result, caller);
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;+		else
&lt;br&gt;+		{
&lt;br&gt;+			if (!spontaneous)
&lt;br&gt;+			{
&lt;br&gt;+			spontaneous = g_new (ProfileFunc, 1);
&lt;br&gt;+			spontaneous-&amp;gt;total = 0;
&lt;br&gt;+			spontaneous-&amp;gt;self = 0;
&lt;br&gt;+			spontaneous-&amp;gt;node = NULL;
&lt;br&gt;+			g_ptr_array_add (result, spontaneous);
&lt;br&gt;+			}
&lt;br&gt;+		}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (node = func-&amp;gt;node; node != NULL; node = node-&amp;gt;next)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	ProfileNode *top_caller_node;
&lt;br&gt;-	ProfileNode *top_callee_node;
&lt;br&gt;-	ProfileFunc *caller;
&lt;br&gt;-	ProfileNode *n;
&lt;br&gt;+		ProfileNode *top_caller_node;
&lt;br&gt;+		ProfileNode *top_callee_node;
&lt;br&gt;+		ProfileFunc *caller;
&lt;br&gt;+		ProfileNode *n;
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;-	if (!node-&amp;gt;parent)
&lt;br&gt;-	{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;g_assert (spontaneous);
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;caller = spontaneous;
&lt;br&gt;-	}
&lt;br&gt;-	else
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;caller = g_hash_table_lookup (callers_by_symbol, node-&amp;gt;parent-&amp;gt;symbol);
&lt;br&gt;-	
&lt;br&gt;-	/* find topmost node/parent pair identical to this node/parent */
&lt;br&gt;-	top_caller_node = node-&amp;gt;parent;
&lt;br&gt;-	top_callee_node = node;
&lt;br&gt;-	for (n = node-&amp;gt;parent; n &amp;&amp; n-&amp;gt;parent != NULL; n = n-&amp;gt;parent)
&lt;br&gt;-	{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;if (symbol_equal (n-&amp;gt;symbol, node-&amp;gt;symbol) &amp;&amp;
&lt;br&gt;-		symbol_equal (n-&amp;gt;parent-&amp;gt;symbol, top_caller_node-&amp;gt;symbol))
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-		top_caller_node = n-&amp;gt;parent;
&lt;br&gt;-		top_callee_node = n;
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;}
&lt;br&gt;-	}
&lt;br&gt;-	if (!g_hash_table_lookup (marked_callers, top_caller_node))
&lt;br&gt;-	{
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;caller-&amp;gt;total += top_callee_node-&amp;gt;total;
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;g_hash_table_insert (marked_callers, top_caller_node, GINT_TO_POINTER (1));
&lt;br&gt;+		if (!node-&amp;gt;parent)
&lt;br&gt;+		{
&lt;br&gt;+			g_assert (spontaneous);
&lt;br&gt;+			caller = spontaneous;
&lt;br&gt;+		}
&lt;br&gt;+		else
&lt;br&gt;+			caller = g_hash_table_lookup (callers_by_symbol, node-&amp;gt;parent-&amp;gt;symbol);
&lt;br&gt;+		
&lt;br&gt;+		/* find topmost node/parent pair identical to this node/parent */
&lt;br&gt;+		top_caller_node = node-&amp;gt;parent;
&lt;br&gt;+		top_callee_node = node;
&lt;br&gt;+		for (n = node-&amp;gt;parent; n &amp;&amp; n-&amp;gt;parent != NULL; n = n-&amp;gt;parent)
&lt;br&gt;+		{
&lt;br&gt;+			if (symbol_equal (n-&amp;gt;symbol, node-&amp;gt;symbol) &amp;&amp;
&lt;br&gt;+				symbol_equal (n-&amp;gt;parent-&amp;gt;symbol, top_caller_node-&amp;gt;symbol))
&lt;br&gt;+				{
&lt;br&gt;+				top_caller_node = n-&amp;gt;parent;
&lt;br&gt;+				top_callee_node = n;
&lt;br&gt;+				}
&lt;br&gt;+		}
&lt;br&gt;+		if (!g_hash_table_lookup (marked_callers, top_caller_node))
&lt;br&gt;+		{
&lt;br&gt;+			caller-&amp;gt;total += top_callee_node-&amp;gt;total;
&lt;br&gt;+			
&lt;br&gt;+			g_hash_table_insert (marked_callers, top_caller_node, GINT_TO_POINTER (1));
&lt;br&gt;+		}
&lt;br&gt;+		
&lt;br&gt;+		if (node-&amp;gt;self &amp;gt; 0)
&lt;br&gt;+			caller-&amp;gt;self += node-&amp;gt;self;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;-	
&lt;br&gt;-	if (node-&amp;gt;self &amp;gt; 0)
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;caller-&amp;gt;self += node-&amp;gt;self;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_hash_table_destroy (marked_callers);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_hash_table_destroy (callers_by_symbol);
&lt;br&gt;@@ -507,19 +508,214 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;return result;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+static gint
&lt;br&gt;+compare_profile_funcs (gconstpointer a, gconstpointer b)
&lt;br&gt;+{
&lt;br&gt;+	const ProfileFunc *pa = * (const ProfileFunc**) a;
&lt;br&gt;+	const ProfileFunc *pb = * (const ProfileFunc**) b;
&lt;br&gt;+	if (pa-&amp;gt;total &amp;gt; pb-&amp;gt;total)
&lt;br&gt;+		return -1;
&lt;br&gt;+	if (pa-&amp;gt;total &amp;lt; pb-&amp;gt;total)
&lt;br&gt;+		return 1;
&lt;br&gt;+	return 0;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static GPtrArray *
&lt;br&gt;+create_sorted_profile_funcs (GPtrArray *funcs)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+	GPtrArray *functions;
&lt;br&gt;+
&lt;br&gt;+	functions = g_ptr_array_sized_new (funcs-&amp;gt;len);
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; funcs-&amp;gt;len; ++i)
&lt;br&gt;+		g_ptr_array_add (functions, funcs-&amp;gt;pdata [i]);
&lt;br&gt;+
&lt;br&gt;+	g_ptr_array_sort (functions, compare_profile_funcs);
&lt;br&gt;+
&lt;br&gt;+	return functions;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static void
&lt;br&gt;+output_callers (FILE* out, ProfileFunc *func)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+	GPtrArray *profile_callers, *callers;
&lt;br&gt;+
&lt;br&gt;+	profile_callers = profile_func_create_caller_list (func);
&lt;br&gt;+	callers &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = create_sorted_profile_funcs (profile_callers);
&lt;br&gt;+
&lt;br&gt;+	fprintf (out, &amp;quot; &amp;nbsp;Callers (with count) that contribute at least for 1%%:\n&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; callers-&amp;gt;len; ++i) {
&lt;br&gt;+		const gchar* name;
&lt;br&gt;+		unsigned int percent;
&lt;br&gt;+		ProfileFunc *caller = callers-&amp;gt;pdata [i];
&lt;br&gt;+
&lt;br&gt;+		if (caller-&amp;gt;node) {
&lt;br&gt;+			if (caller-&amp;gt;node-&amp;gt;symbol &amp;&amp; caller-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+				name = caller-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;+			else
&lt;br&gt;+				name = &amp;quot;???&amp;quot;;
&lt;br&gt;+		}
&lt;br&gt;+		else
&lt;br&gt;+			name = &amp;quot;&amp;lt;spontaneous&amp;gt;&amp;quot;;
&lt;br&gt;+		percent = (caller-&amp;gt;total * 100)/ func-&amp;gt;total;
&lt;br&gt;+		if (percent &amp;lt; 1)
&lt;br&gt;+			continue;
&lt;br&gt;+		fprintf (out, &amp;quot; &amp;nbsp; &amp;nbsp;%10d %10d %3d %% %s\n&amp;quot;, 
&lt;br&gt;+				caller-&amp;gt;self, caller-&amp;gt;total, percent, name);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	profile_caller_list_free (profile_callers);
&lt;br&gt;+	g_ptr_array_free (callers, 1);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+static gint
&lt;br&gt;+compare_descendant_tree_nodes (gconstpointer a, gconstpointer b)
&lt;br&gt;+{
&lt;br&gt;+	const ProfileDescendantTreeNode *pa = * (const ProfileDescendantTreeNode **) a;
&lt;br&gt;+	const ProfileDescendantTreeNode *pb = * (const ProfileDescendantTreeNode **) b;
&lt;br&gt;+	if (pa-&amp;gt;total &amp;gt; pb-&amp;gt;total)
&lt;br&gt;+		return -1;
&lt;br&gt;+	if (pa-&amp;gt;total &amp;lt; pb-&amp;gt;total)
&lt;br&gt;+		return 1;
&lt;br&gt;+	return 0;
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+static GPtrArray *
&lt;br&gt;+create_sorted_descendant_tree_nodes (GPtrArray *funcs)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+	GPtrArray *functions;
&lt;br&gt;+
&lt;br&gt;+	functions = g_ptr_array_sized_new (funcs-&amp;gt;len);
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; funcs-&amp;gt;len; ++i)
&lt;br&gt;+		g_ptr_array_add (functions, funcs-&amp;gt;pdata [i]);
&lt;br&gt;+
&lt;br&gt;+	g_ptr_array_sort (functions, compare_descendant_tree_nodes);
&lt;br&gt;+
&lt;br&gt;+	return functions;
&lt;br&gt;+}
&lt;br&gt;+static void
&lt;br&gt;+output_descendants (FILE* out, ProfileFunc *func)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+	ProfileDescendantTree *descendant_tree;
&lt;br&gt;+	ProfileDescendantTreeNode *node;
&lt;br&gt;+	GPtrArray *children;
&lt;br&gt;+
&lt;br&gt;+	descendant_tree = profile_func_create_descendant_tree (func);
&lt;br&gt;+	node &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= descendant_tree-&amp;gt;roots-&amp;gt;pdata [0];
&lt;br&gt;+	children &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= create_sorted_descendant_tree_nodes (node-&amp;gt;children);
&lt;br&gt;+
&lt;br&gt;+	fprintf (out, &amp;quot; &amp;nbsp;Descendants (with count) that contribute at least for 1%%:\n&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; children-&amp;gt;len; ++i) {
&lt;br&gt;+		const gchar* name;
&lt;br&gt;+		unsigned int percent;
&lt;br&gt;+		ProfileDescendantTreeNode *child = children-&amp;gt;pdata [i];
&lt;br&gt;+
&lt;br&gt;+		if (child-&amp;gt;symbol &amp;&amp; child-&amp;gt;symbol-&amp;gt;name) {
&lt;br&gt;+			name = child-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;+		}
&lt;br&gt;+		else
&lt;br&gt;+			name = &amp;quot;???&amp;quot;;
&lt;br&gt;+		percent = (child-&amp;gt;total * 100)/ node-&amp;gt;total;
&lt;br&gt;+		if (percent &amp;lt; 1)
&lt;br&gt;+			continue;
&lt;br&gt;+		fprintf (out, &amp;quot; &amp;nbsp; &amp;nbsp;%10d %10d %3d %% %s\n&amp;quot;, 
&lt;br&gt;+				child-&amp;gt;self, child-&amp;gt;total, percent, name);
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	profile_descendant_tree_free (descendant_tree);
&lt;br&gt;+	g_ptr_array_free (children, 1);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+static void
&lt;br&gt;+output_profile_summary (FILE *out, guint n_bytes, GPtrArray *functions)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+
&lt;br&gt;+	fprintf (out, &amp;quot; &amp;nbsp; &amp;nbsp; &amp;nbsp;self &amp;nbsp; &amp;nbsp; &amp;nbsp;total total %% symbol\n&amp;quot;);
&lt;br&gt;+	fprintf (out, &amp;quot; --------- ---------- ------- ------------\n&amp;quot;);
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; functions-&amp;gt;len; ++i) {
&lt;br&gt;+		const gchar *name;
&lt;br&gt;+		ProfileFunc *func = functions-&amp;gt;pdata [i];
&lt;br&gt;+		if (func-&amp;gt;node-&amp;gt;symbol &amp;&amp; func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+			name = func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;+		else
&lt;br&gt;+			name = &amp;quot;???&amp;quot;;
&lt;br&gt;+		fprintf (out, &amp;quot;%10d %10d %5.2f %% %s\n&amp;quot;, 
&lt;br&gt;+				func-&amp;gt;self, func-&amp;gt;total,
&lt;br&gt;+				func-&amp;gt;total * 100.0 / (double) n_bytes,
&lt;br&gt;+				name);
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;+static void
&lt;br&gt;+output_profile_details (FILE *out, guint n_bytes, GPtrArray *functions)
&lt;br&gt;+{
&lt;br&gt;+	int i;
&lt;br&gt;+
&lt;br&gt;+	for (i = 0; i &amp;lt; functions-&amp;gt;len; ++i) {
&lt;br&gt;+		const gchar *name;
&lt;br&gt;+		ProfileFunc *func = functions-&amp;gt;pdata [i];
&lt;br&gt;+		if (func-&amp;gt;node-&amp;gt;symbol &amp;&amp; func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+			name = func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;+		else
&lt;br&gt;+			name = &amp;quot;???&amp;quot;;
&lt;br&gt;+		fprintf (out, &amp;quot;########################\n&amp;quot;);
&lt;br&gt;+		fprintf (out, &amp;quot;%10d %10d %5.2f %% %s\n&amp;quot;,
&lt;br&gt;+				func-&amp;gt;self, func-&amp;gt;total,
&lt;br&gt;+				func-&amp;gt;total * 100.0 / (double) n_bytes,
&lt;br&gt;+				name);
&lt;br&gt;+		output_callers (out, func);
&lt;br&gt;+		output_descendants (out, func);
&lt;br&gt;+	}
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;void
&lt;br&gt;&amp;nbsp;profile_caller_list_free	 &amp;nbsp; &amp;nbsp; (GPtrArray		 &amp;nbsp; &amp;nbsp; *caller_list)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;int i;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (i = 0; i &amp;lt; caller_list-&amp;gt;len; ++i)
&lt;br&gt;&amp;nbsp;	g_free (caller_list-&amp;gt;pdata[i]);
&lt;br&gt;- &amp;nbsp; &amp;nbsp;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;g_ptr_array_free (caller_list, TRUE);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;void
&lt;br&gt;&amp;nbsp;profile_write (Profile *profile, const gchar *outfile)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;- &amp;nbsp; &amp;nbsp;/* FIXME */
&lt;br&gt;+ &amp;nbsp; 	FILE *out;
&lt;br&gt;+	int i;
&lt;br&gt;+	GPtrArray *functions;
&lt;br&gt;+
&lt;br&gt;+	out = fopen (outfile, &amp;quot;w&amp;quot;);
&lt;br&gt;+	if (!out) {
&lt;br&gt;+		show_error (NULL, ERROR_MODAL, &amp;quot;Cannot open output file: %s\n&amp;quot;,
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;	g_strerror (errno));
&lt;br&gt;+		return;
&lt;br&gt;+	}
&lt;br&gt;+
&lt;br&gt;+	functions = create_sorted_profile_funcs (profile-&amp;gt;functions);
&lt;br&gt;+
&lt;br&gt;+	fprintf (out, &amp;quot;Total number of bytes profiled: %u\n&amp;quot;, profile-&amp;gt;n_bytes);
&lt;br&gt;+
&lt;br&gt;+	output_profile_summary (out, profile-&amp;gt;n_bytes, functions);
&lt;br&gt;+	output_profile_details (out, profile-&amp;gt;n_bytes, functions);
&lt;br&gt;+
&lt;br&gt;+	g_ptr_array_free (functions, 1);
&lt;br&gt;+	fclose (out);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;&lt;tt&gt;[func_names_on_trunk.patch]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: profile.c
&lt;br&gt;===================================================================
&lt;br&gt;--- profile.c	(revision 437)
&lt;br&gt;+++ profile.c	(working copy)
&lt;br&gt;@@ -593,8 +593,8 @@
&lt;br&gt;&amp;nbsp;		ProfileFunc *caller = callers-&amp;gt;pdata [i];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;		if (caller-&amp;gt;node) {
&lt;br&gt;-			if (caller-&amp;gt;node-&amp;gt;symbol)
&lt;br&gt;-				name = caller-&amp;gt;node-&amp;gt;symbol;
&lt;br&gt;+			if (caller-&amp;gt;node-&amp;gt;symbol &amp;&amp; caller-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+				name = caller-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;&amp;nbsp;			else
&lt;br&gt;&amp;nbsp;				name = &amp;quot;???&amp;quot;;
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;@@ -630,8 +630,8 @@
&lt;br&gt;&amp;nbsp;		unsigned int percent;
&lt;br&gt;&amp;nbsp;		ProfileDescendantTreeNode *child = children-&amp;gt;pdata [i];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		if (child-&amp;gt;symbol) {
&lt;br&gt;-			name = child-&amp;gt;symbol;
&lt;br&gt;+		if (child-&amp;gt;symbol &amp;&amp; child-&amp;gt;symbol-&amp;gt;name) {
&lt;br&gt;+			name = child-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;&amp;nbsp;		}
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			name = &amp;quot;???&amp;quot;;
&lt;br&gt;@@ -657,8 +657,8 @@
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; functions-&amp;gt;len; ++i) {
&lt;br&gt;&amp;nbsp;		const gchar *name;
&lt;br&gt;&amp;nbsp;		ProfileFunc *func = functions-&amp;gt;pdata [i];
&lt;br&gt;-		if (func-&amp;gt;node-&amp;gt;symbol)
&lt;br&gt;-			name = func-&amp;gt;node-&amp;gt;symbol;
&lt;br&gt;+		if (func-&amp;gt;node-&amp;gt;symbol &amp;&amp; func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+			name = func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			name = &amp;quot;???&amp;quot;;
&lt;br&gt;&amp;nbsp;		fprintf (out, &amp;quot;%10d %10d %5.2f %% %s\n&amp;quot;, 
&lt;br&gt;@@ -676,8 +676,8 @@
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; functions-&amp;gt;len; ++i) {
&lt;br&gt;&amp;nbsp;		const gchar *name;
&lt;br&gt;&amp;nbsp;		ProfileFunc *func = functions-&amp;gt;pdata [i];
&lt;br&gt;-		if (func-&amp;gt;node-&amp;gt;symbol)
&lt;br&gt;-			name = func-&amp;gt;node-&amp;gt;symbol;
&lt;br&gt;+		if (func-&amp;gt;node-&amp;gt;symbol &amp;&amp; func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name)
&lt;br&gt;+			name = func-&amp;gt;node-&amp;gt;symbol-&amp;gt;name;
&lt;br&gt;&amp;nbsp;		else
&lt;br&gt;&amp;nbsp;			name = &amp;quot;???&amp;quot;;
&lt;br&gt;&amp;nbsp;		fprintf (out, &amp;quot;########################\n&amp;quot;);
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18136957&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memprof----memory-profiler-patches-tp18136957p18136957.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15055115</id>
	<title>Announcing memprof-revived</title>
	<published>2008-01-23T15:10:15Z</published>
	<updated>2008-01-23T15:10:15Z</updated>
	<author>
		<name>Cristi Magherusan-3</name>
	</author>
	<content type="html">Hello,
&lt;br&gt;&lt;br&gt;&amp;nbsp; Considering the slow progress that memprof is having in the last
&lt;br&gt;years, I'm willing to start working on a memprof fork that aims to be
&lt;br&gt;made as portable as possible, and kept under active development.
&lt;br&gt;&lt;br&gt;&amp;nbsp; The sources are hosted on the Atheme.org infrastructure. Our mercurial
&lt;br&gt;repo is located at &lt;a href=&quot;http://hg.atheme.org/memprof-revived&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://hg.atheme.org/memprof-revived&lt;/a&gt;, and soon (I
&lt;br&gt;hope) we're going to setup a mailinglist and a basic website.
&lt;br&gt;&lt;br&gt;&amp;nbsp; Currently it consists only of memprof-0.6, with Timo Sirainen's patch
&lt;br&gt;applied. I'm willing to accept any pathches that may help its progress,
&lt;br&gt;and if anyone wants to join this effort, please contact me.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Best regards, 
&lt;br&gt;Cristi
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15055115&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Announcing-memprof-revived-tp15055115p15055115.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15021408</id>
	<title>open misses a param</title>
	<published>2008-01-22T01:46:17Z</published>
	<updated>2008-01-22T01:46:17Z</updated>
	<author>
		<name>Andreas Jaeger</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;&lt;br&gt;open with O_CREAT needs three parameter but I case in this case, you
&lt;br&gt;only want to open it for reading and not create it if it exists, so I
&lt;br&gt;propose the following patch.
&lt;br&gt;&lt;br&gt;Andreas
&lt;br&gt;&lt;br&gt;--- mi-perfctr.c
&lt;br&gt;+++ mi-perfctr.c
&lt;br&gt;@@ -94,7 +94,7 @@
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MI_DEBUG ((&amp;quot;Turning on performance monitoring timer support\n&amp;quot;));
&lt;br&gt;&lt;br&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((perfctr_fd = open (&amp;quot;/proc/self/perfctr&amp;quot;, O_RDONLY | O_CREAT)) &amp;lt; 0) {
&lt;br&gt;+ &amp;nbsp; &amp;nbsp; &amp;nbsp; if ((perfctr_fd = open (&amp;quot;/proc/self/perfctr&amp;quot;, O_RDONLY)) &amp;lt; 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; mi_perror (&amp;quot;Error opening /proc/self/perfctr&amp;quot;);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; goto bail;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;Andreas Jaeger, Director Platform / openSUSE, &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15021408&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;aj@...&lt;/a&gt;
&lt;br&gt;&amp;nbsp; SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
&lt;br&gt;&amp;nbsp; &amp;nbsp;Maxfeldstr. 5, 90409 Nürnberg, Germany
&lt;br&gt;&amp;nbsp; &amp;nbsp; GPG fingerprint = 93A3 365E CE47 B889 DF7F &amp;nbsp;FED1 389A 563C C272 A126
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15021408&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (199 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/15021408/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/open-misses-a-param-tp15021408p15021408.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-12336042</id>
	<title>Re: x86-64 support</title>
	<published>2007-08-26T10:17:30Z</published>
	<updated>2007-08-26T10:17:30Z</updated>
	<author>
		<name>Timo Sirainen</name>
	</author>
	<content type="html">On Tue, 2007-06-19 at 14:51 +0300, Timo Sirainen wrote:
&lt;br&gt;&amp;gt; I thought I'd try if memprof worked with x86-64, but looks like it
&lt;br&gt;&amp;gt; doesn't. Attached is a patch that fixes the obvious things in case
&lt;br&gt;&amp;gt; someone else wants to try to fix it to actually work. There are also
&lt;br&gt;&amp;gt; some other fixes for compiler warnings.
&lt;br&gt;&lt;br&gt;I just found a memprof version by Rasterman, which combined with the
&lt;br&gt;attached patch made it work in my Debian Unstable. Not tested much yet,
&lt;br&gt;but it did give correct looking profile and leaks.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.rasterman.com/index.php?page=Memprof&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rasterman.com/index.php?page=Memprof&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[memprof-x86-64.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -ru memprof-0.6/bfdutils.c memprof-0.6-64/bfdutils.c
&lt;br&gt;--- memprof-0.6/bfdutils.c	2006-07-28 04:26:41.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/bfdutils.c	2007-06-18 12:37:45.658732218 +0300
&lt;br&gt;@@ -183,7 +183,7 @@
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	unsigned long file_crc = 0;
&lt;br&gt;&amp;nbsp;	int fd;
&lt;br&gt;-	char buffer[8*1024];
&lt;br&gt;+	unsigned char buffer[8*1024];
&lt;br&gt;&amp;nbsp;	int count;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	fd = open (name, O_RDONLY);
&lt;br&gt;diff -ru memprof-0.6/intercept.c memprof-0.6-64/intercept.c
&lt;br&gt;--- memprof-0.6/intercept.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/intercept.c	2007-06-18 12:48:21.709250588 +0300
&lt;br&gt;@@ -346,7 +346,7 @@
&lt;br&gt;&amp;nbsp;	ThreadInfo *thread;
&lt;br&gt;&amp;nbsp;	int old_errno = errno;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (n_frames &amp;lt; 0)
&lt;br&gt;+	if (n_frames &amp;lt; 0 || n_frames &amp;gt; 10000)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;&amp;nbsp;			MI_DEBUG ((&amp;quot;mi_write_stack - elide bogus foo\n&amp;quot;));
&lt;br&gt;&amp;nbsp;			return;
&lt;br&gt;diff -ru memprof-0.6/leakdetect.c memprof-0.6-64/leakdetect.c
&lt;br&gt;--- memprof-0.6/leakdetect.c	2004-09-13 22:01:52.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/leakdetect.c	2007-06-18 12:40:45.169289643 +0300
&lt;br&gt;@@ -57,7 +57,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static gboolean
&lt;br&gt;-read_proc_stat (int pid, char *status, guint *start_stack, guint *end_stack)
&lt;br&gt;+read_proc_stat (int pid, char *status, gsize *start_stack, gsize *end_stack)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	gchar *fname;
&lt;br&gt;&amp;nbsp;	gulong tstart_stack;
&lt;br&gt;@@ -204,7 +204,7 @@
&lt;br&gt;&amp;nbsp;		GList *map_list)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	GList *tmp_list;
&lt;br&gt;-	guint start_stack, end_stack;
&lt;br&gt;+	gsize start_stack, end_stack;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	tmp_list = map_list;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -365,7 +365,7 @@
&lt;br&gt;&amp;nbsp;					 &amp;mem[i]);
&lt;br&gt;&amp;nbsp;		if (errno)
&lt;br&gt;&amp;nbsp;		{
&lt;br&gt;-			g_warning (&amp;quot;Cannot read word %d/%d in block %p: %s\n&amp;quot;,
&lt;br&gt;+			g_warning (&amp;quot;Cannot read word %d/%ld in block %p: %s\n&amp;quot;,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; i, length, block-&amp;gt;addr, g_strerror (errno));
&lt;br&gt;&amp;nbsp;			g_free (addr);
&lt;br&gt;&amp;nbsp;			return block_list;
&lt;br&gt;diff -ru memprof-0.6/memprof.h memprof-0.6-64/memprof.h
&lt;br&gt;--- memprof-0.6/memprof.h	2004-09-11 03:35:19.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/memprof.h	2007-06-18 12:38:27.324093705 +0300
&lt;br&gt;@@ -46,7 +46,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;typedef struct {
&lt;br&gt;&amp;nbsp; &amp;nbsp;/* Initial members of this struct must be identical to that of Symbol */
&lt;br&gt;- &amp;nbsp;guint addr;
&lt;br&gt;+ &amp;nbsp;gsize addr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;guint size;
&lt;br&gt;&amp;nbsp; &amp;nbsp;gchar *name;
&lt;br&gt;&amp;nbsp; &amp;nbsp;bfd *abfd;
&lt;br&gt;@@ -59,7 +59,7 @@
&lt;br&gt;&amp;nbsp;} Map;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;typedef struct {
&lt;br&gt;- &amp;nbsp;guint addr;
&lt;br&gt;+ &amp;nbsp;gsize addr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;guint size;
&lt;br&gt;&amp;nbsp; &amp;nbsp;gchar *name;
&lt;br&gt;&amp;nbsp;} Symbol;
&lt;br&gt;diff -ru memprof-0.6/mi-perfctr.c memprof-0.6-64/mi-perfctr.c
&lt;br&gt;--- memprof-0.6/mi-perfctr.c	2002-09-05 22:16:38.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/mi-perfctr.c	2007-06-18 12:32:30.886001384 +0300
&lt;br&gt;@@ -61,10 +61,14 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.old_ptr = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.new_ptr = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.size = 1;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;
&lt;br&gt;+
&lt;br&gt;+#ifdef __x86_64__
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;rip, (void *)ctx-&amp;gt;rbp, (void *)ctx-&amp;gt;rsp,
&lt;br&gt;+				 &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;+#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;eip, (void *)ctx-&amp;gt;ebp, (void *)ctx-&amp;gt;esp,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;-
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (ioctl (perfctr_fd, VPERFCTR_IRESUME) &amp;lt; 0)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;mi_perror (&amp;quot;Error restarting handler interrupt&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -ru memprof-0.6/process.c memprof-0.6-64/process.c
&lt;br&gt;--- memprof-0.6/process.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/process.c	2007-06-18 12:39:48.143794893 +0300
&lt;br&gt;@@ -176,7 +176,8 @@
&lt;br&gt;&amp;nbsp;	FILE *in;
&lt;br&gt;&amp;nbsp;	gchar perms[26];
&lt;br&gt;&amp;nbsp;	gchar file[256];
&lt;br&gt;-	guint start, end, major, minor, inode;
&lt;br&gt;+	gsize start, end;
&lt;br&gt;+	guint major, minor, inode;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;	snprintf (buffer, 1023, &amp;quot;/proc/%d/maps&amp;quot;, process-&amp;gt;pid);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -190,7 +191,7 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	while (fgets(buffer, 1023, in)) {
&lt;br&gt;-		int count = sscanf (buffer, &amp;quot;%x-%x %15s %*x %x:%x %u %255s&amp;quot;,
&lt;br&gt;+		int count = sscanf (buffer, &amp;quot;%lx-%lx %15s %*x %x:%x %u %255s&amp;quot;,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp;&amp;start, &amp;end, perms, &amp;major, &amp;minor, &amp;inode, file);
&lt;br&gt;&amp;nbsp;		if (count &amp;gt;= 6)	{
&lt;br&gt;&amp;nbsp;			if (strcmp (perms, &amp;quot;r-xp&amp;quot;) == 0) {
&lt;br&gt;@@ -242,7 +243,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static Map *
&lt;br&gt;-real_locate_map (MPProcess *process, guint addr)
&lt;br&gt;+real_locate_map (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	GList *tmp_list = process-&amp;gt;map_list;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -260,8 +261,8 @@
&lt;br&gt;&amp;nbsp;	return NULL;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-Map *
&lt;br&gt;-locate_map (MPProcess *process, guint addr)
&lt;br&gt;+static Map *
&lt;br&gt;+locate_map (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	Map *map = real_locate_map (process, addr);
&lt;br&gt;&amp;nbsp;	if (!map)
&lt;br&gt;@@ -287,12 +288,12 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;const Symbol *
&lt;br&gt;-process_locate_symbol (MPProcess *process, guint addr)
&lt;br&gt;+process_locate_symbol (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	Symbol *data;
&lt;br&gt;&amp;nbsp;	Map *map;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;-	guint first, middle, last;
&lt;br&gt;+	gsize first, middle, last;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	map = locate_map (process, addr);
&lt;br&gt;&amp;nbsp;	if (!map)
&lt;br&gt;@@ -348,7 +349,7 @@
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; const char **filename, char **functionname,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; unsigned int *line)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-	Map *map = locate_map (process, (guint)address);
&lt;br&gt;+	Map *map = locate_map (process, (gsize)address);
&lt;br&gt;&amp;nbsp;	if (map) {
&lt;br&gt;&amp;nbsp;		bfd_vma addr = (bfd_vma)address;
&lt;br&gt;&amp;nbsp;		if (map-&amp;gt;do_offset)
&lt;br&gt;@@ -595,7 +596,7 @@
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;gpointer &amp;nbsp; &amp;nbsp; data)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MIInfo info;
&lt;br&gt;-	guint count;
&lt;br&gt;+	gsize count;
&lt;br&gt;&amp;nbsp;	MPProcess *input_process = data;
&lt;br&gt;&amp;nbsp;	MPProcess *process = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;@@ -933,7 +934,7 @@
&lt;br&gt;&amp;nbsp;	char *fname;
&lt;br&gt;&amp;nbsp;	char *result;
&lt;br&gt;&amp;nbsp;	char *tmp = NULL;
&lt;br&gt;-	int n = 0;
&lt;br&gt;+	size_t n = 0;
&lt;br&gt;&amp;nbsp;	FILE *in = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (process-&amp;gt;status == MP_PROCESS_DEFUNCT)
&lt;br&gt;diff -ru memprof-0.6/process.h memprof-0.6-64/process.h
&lt;br&gt;--- memprof-0.6/process.h	2003-12-19 01:04:30.000000000 +0200
&lt;br&gt;+++ memprof-0.6-64/process.h	2007-06-18 12:35:08.244366542 +0300
&lt;br&gt;@@ -131,7 +131,7 @@
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; FILE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *out,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; StackElement &amp;nbsp; &amp;nbsp; &amp;nbsp; *stack);
&lt;br&gt;&amp;nbsp;const Symbol *process_locate_symbol (MPProcess &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*process,
&lt;br&gt;-				 &amp;nbsp; &amp;nbsp; guint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addr);
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; gsize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addr);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;char ** &amp;nbsp; &amp;nbsp; process_parse_exec &amp;nbsp; &amp;nbsp; &amp;nbsp;(const char &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *exec_string);
&lt;br&gt;&amp;nbsp;char * &amp;nbsp; &amp;nbsp; &amp;nbsp;process_find_exec &amp;nbsp; &amp;nbsp; &amp;nbsp; (char &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;**args);
&lt;br&gt;diff -ru memprof-0.6/profile.c memprof-0.6-64/profile.c
&lt;br&gt;--- memprof-0.6/profile.c	2004-01-23 13:22:01.000000000 +0200
&lt;br&gt;+++ memprof-0.6-64/profile.c	2007-06-18 12:41:03.706450472 +0300
&lt;br&gt;@@ -29,7 +29,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (element = block-&amp;gt;stack; !STACK_ELEMENT_IS_ROOT (element); element = element-&amp;gt;parent)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	const Symbol *symbol = process_locate_symbol (process, (guint)element-&amp;gt;address);
&lt;br&gt;+	const Symbol *symbol = process_locate_symbol (process, (gsize)element-&amp;gt;address);
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	if (symbol &amp;&amp; symbol-&amp;gt;name &amp;&amp; g_hash_table_lookup (skip_hash, symbol-&amp;gt;name))
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;@@ -54,7 +54,7 @@
&lt;br&gt;&amp;nbsp;	StackElement *element = list-&amp;gt;data;
&lt;br&gt;&amp;nbsp;	ProfileNode *match = NULL;
&lt;br&gt;&amp;nbsp;	const Symbol *symbol =
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;process_locate_symbol (profile-&amp;gt;process, (guint)element-&amp;gt;address);
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;process_locate_symbol (profile-&amp;gt;process, (gsize)element-&amp;gt;address);
&lt;br&gt;&amp;nbsp;	int i;
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; roots-&amp;gt;len; ++i)
&lt;br&gt;diff -ru memprof-0.6/server.c memprof-0.6-64/server.c
&lt;br&gt;--- memprof-0.6/server.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/server.c	2007-06-18 12:41:21.483604705 +0300
&lt;br&gt;@@ -182,7 +182,7 @@
&lt;br&gt;&amp;nbsp;		g_hash_table_destroy (server-&amp;gt;pid_table);
&lt;br&gt;&amp;nbsp;	close (server-&amp;gt;socket_fd);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	g_slist_remove (socket_paths, server-&amp;gt;socket_path);
&lt;br&gt;+	socket_paths = g_slist_remove (socket_paths, server-&amp;gt;socket_path);
&lt;br&gt;&amp;nbsp;	g_free (server-&amp;gt;socket_path);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;--- memprof-0.6/speedintercept.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/speedintercept.c	2007-06-18 12:54:49.524680864 +0300
&lt;br&gt;@@ -155,13 +155,10 @@
&lt;br&gt;&amp;nbsp;#define SIGHANDLER_FRAMES 2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;-#if defined (__linux__) &amp;&amp; defined (__i386__)
&lt;br&gt;-sigprof_handler (int unused, struct sigcontext ctx)
&lt;br&gt;-#else
&lt;br&gt;-sigprof_handler (int unused)
&lt;br&gt;-#endif
&lt;br&gt;+sigprof_handler (int unused, siginfo_t *si, ucontext_t *ucontext)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int saved_errno = errno;
&lt;br&gt;+	struct sigcontext *ctx = (struct sigcontext *)&amp;ucontext-&amp;gt;uc_mcontext;
&lt;br&gt;&amp;nbsp;	MIInfo info;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	info.alloc.operation = MI_TIME;
&lt;br&gt;@@ -169,11 +166,14 @@
&lt;br&gt;&amp;nbsp;	info.alloc.new_ptr = NULL;
&lt;br&gt;&amp;nbsp;	info.alloc.size = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;-#if defined (__linux__) &amp;&amp; defined (__i386__)
&lt;br&gt;-	mi_call_with_signal_backtrace ((void *)ctx.eip, (void *)ctx.ebp, (void *)ctx.esp,
&lt;br&gt;+#ifdef __x86_64__
&lt;br&gt;+	mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;rip, (void *)ctx-&amp;gt;rbp, (void *)ctx-&amp;gt;rsp,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;+#elif defined (__i386__)
&lt;br&gt;+	mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;eip, (void *)ctx-&amp;gt;ebp, (void *)ctx-&amp;gt;esp,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;-	mi_call_with_backtrace (SIGHANDLER_FRAMES, saved_pc, mi_write_stack, &amp;info);
&lt;br&gt;+	mi_call_with_backtrace (SIGHANDLER_FRAMES, mi_write_stack, &amp;info);
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (profile_type == SPEED_PROF_ITIMER)
&lt;br&gt;diff -ru memprof-0.6/stack-frame.c memprof-0.6-64/stack-frame.c
&lt;br&gt;--- memprof-0.6/stack-frame.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/stack-frame.c	2007-06-18 12:23:38.815385498 +0300
&lt;br&gt;@@ -72,7 +72,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define HAVE_FRAME_ACCESSORS
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if defined (__GNUC__) &amp;&amp; defined (__i386__)
&lt;br&gt;+#if defined (__GNUC__)
&lt;br&gt;&amp;nbsp;typedef struct stack_frame_struct stack_frame;
&lt;br&gt;&amp;nbsp;struct stack_frame_struct {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;stack_frame *next;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=12336042&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/12336042/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/x86-64-support-tp11193185p12336042.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-12289130</id>
	<title>Re: Is memprof only caring about unfreed memory?</title>
	<published>2007-08-23T01:56:51Z</published>
	<updated>2007-08-23T01:56:51Z</updated>
	<author>
		<name>John Berthels</name>
	</author>
	<content type="html">&amp;gt; Okay, so memprof just doesn't provide the feature that I need:
&lt;br&gt;&amp;gt; For this silly example, I'd like it to tell me that main() allocated
&lt;br&gt;&amp;gt; 1024 bytes in total.
&lt;br&gt;&lt;br&gt;If you're running on Linux, you might want to look at valgrind. If you run:
&lt;br&gt;&lt;br&gt;valgrind --tool=massif your_prog
&lt;br&gt;&lt;br&gt;then it generates a .txt and a postscript .ps describing memory use
&lt;br&gt;over the life of the program. Not sure if it gives the exact detail
&lt;br&gt;you're after, but it sounds closer.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;jb
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=12289130&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-memprof-only-caring-about-unfreed-memory--tp12262447p12289130.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-12282343</id>
	<title>Re: Is memprof only caring about unfreed memory?</title>
	<published>2007-08-22T14:28:15Z</published>
	<updated>2007-08-22T14:28:15Z</updated>
	<author>
		<name>Tilman Sauerbeck</name>
	</author>
	<content type="html">Owen Taylor [2007-08-22 14:57]:
&lt;br&gt;&lt;br&gt;Hi Owen,
&lt;br&gt;I CC'ed the list, since this information can probably be useful to
&lt;br&gt;others, too -- hope you don't mind :)
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On 8/21/07, Tilman Sauerbeck &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=12282343&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tilman@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;gt; Hi,
&lt;br&gt;&amp;gt; &amp;gt; I'm trying to use memprof to get some stats on which functions allocate
&lt;br&gt;&amp;gt; &amp;gt; how much memory etc.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The problem I'm having is that I can't get any profile at all for my
&lt;br&gt;&amp;gt; &amp;gt; program. It's being executed just fine, but I can't get memprof to
&lt;br&gt;&amp;gt; &amp;gt; generate a profile.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; That situation is reproducable with a program like this:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; int main() {
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; void *p = malloc(1024);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; free (p);
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Once I remove the free() call and introduce a leak, memprof gives me a
&lt;br&gt;&amp;gt; &amp;gt; profile. So it does seem as if memprof only keeps track of leaked memory.
&lt;br&gt;&amp;gt; &amp;gt; Is it supposed to work that way, or did I stumble upon a bug?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I can't really respond to your particular problem ... I haven't even
&lt;br&gt;&amp;gt; tried to compile memprof for years, much less use it. But to answer
&lt;br&gt;&amp;gt; the general question, profiling and leak detection are separate
&lt;br&gt;&amp;gt; functionality in memprof. When you create a profile, memprof shows you
&lt;br&gt;&amp;gt; all memory that has been allocated and not freed, whether or not it's
&lt;br&gt;&amp;gt; been leaked.
&lt;/div&gt;&lt;/div&gt;I was a bit sloppy with my language here. When I said &amp;quot;leaked&amp;quot; I
&lt;br&gt;meant &amp;quot;not freed&amp;quot;.
&lt;br&gt;&lt;br&gt;&amp;gt; Now, of course, in your example there is nothing to profile, so the
&lt;br&gt;&amp;gt; best you are going to get is an empty list. But I wouldn't be
&lt;br&gt;&lt;br&gt;Okay, so memprof just doesn't provide the feature that I need:
&lt;br&gt;For this silly example, I'd like it to tell me that main() allocated
&lt;br&gt;1024 bytes in total.
&lt;br&gt;&lt;br&gt;From the description on &lt;a href=&quot;http://www.gnome.org/projects/memprof/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnome.org/projects/memprof/&lt;/a&gt;&amp;nbsp;I
&lt;br&gt;understood that this was possible:
&lt;br&gt;&amp;quot;It can generate a profile how much memory was allocated by each
&lt;br&gt;function in your program.&amp;quot;
&lt;br&gt;&lt;br&gt;&amp;gt; surprised if there was some bug in that corner case. And I also
&lt;br&gt;&amp;gt; wouldn't be surprised if there was something wrong in general. My
&lt;br&gt;&amp;gt; general experience is that when I was working on it, memprof only kept
&lt;br&gt;&amp;gt; working until the next libc release, and then there was some new issue
&lt;br&gt;&amp;gt; to debug.
&lt;br&gt;&lt;br&gt;Trunk seems to work as expected if I don't free the memory, so I
&lt;br&gt;believe this is not what I'm seeing.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Tilman
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;A: Because it messes up the order in which people normally read text.
&lt;br&gt;Q: Why is top-posting such a bad thing?
&lt;br&gt;A: Top-posting.
&lt;br&gt;Q: What is the most annoying thing on usenet and in e-mail?
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=12282343&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/12282343/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-memprof-only-caring-about-unfreed-memory--tp12262447p12282343.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-12262447</id>
	<title>Is memprof only caring about unfreed memory?</title>
	<published>2007-08-21T14:17:44Z</published>
	<updated>2007-08-21T14:17:44Z</updated>
	<author>
		<name>Tilman Sauerbeck</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;I'm trying to use memprof to get some stats on which functions allocate
&lt;br&gt;how much memory etc.
&lt;br&gt;&lt;br&gt;The problem I'm having is that I can't get any profile at all for my
&lt;br&gt;program. It's being executed just fine, but I can't get memprof to
&lt;br&gt;generate a profile.
&lt;br&gt;&lt;br&gt;That situation is reproducable with a program like this:
&lt;br&gt;&lt;br&gt;&amp;nbsp; int main() {
&lt;br&gt;&amp;nbsp; &amp;nbsp; void *p = malloc(1024);
&lt;br&gt;&amp;nbsp; &amp;nbsp; free (p);
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;Once I remove the free() call and introduce a leak, memprof gives me a
&lt;br&gt;profile.
&lt;br&gt;So it does seem as if memprof only keeps track of leaked memory.
&lt;br&gt;Is it supposed to work that way, or did I stumble upon a bug?
&lt;br&gt;&lt;br&gt;FWIW, I'm using SVN trunk w/ binutils 2.17.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Tilman
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;A: Because it messes up the order in which people normally read text.
&lt;br&gt;Q: Why is top-posting such a bad thing?
&lt;br&gt;A: Top-posting.
&lt;br&gt;Q: What is the most annoying thing on usenet and in e-mail?
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=12262447&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/12262447/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-memprof-only-caring-about-unfreed-memory--tp12262447p12262447.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11276412</id>
	<title>Re: help with memprof, doesnt do anything !!</title>
	<published>2007-06-24T10:55:10Z</published>
	<updated>2007-06-24T10:55:10Z</updated>
	<author>
		<name>Mani Kishore Vajipeyajula</name>
	</author>
	<content type="html">I moved to Valigrind. It worked fine for me on Linux.&lt;br&gt;Cheers,&lt;br&gt;Mani.&lt;br&gt;&lt;br&gt;&lt;div&gt;&lt;span class=&quot;gmail_quote&quot;&gt;On 4/4/07, &lt;b class=&quot;gmail_sendername&quot;&gt;bsreddy&lt;/b&gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11276412&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bsreddys@...&lt;/a&gt;
&amp;gt; wrote:&lt;/span&gt;&lt;blockquote class=&quot;gmail_quote&quot; style=&quot;border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;&quot;&gt;&lt;br&gt;I am facing the same problem.&lt;br&gt;--&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/help-with-memprof%2C-doesnt-do-anything-%21%21-tf434212.html#a9841968&quot; target=&quot;_top&quot;&gt;
http://www.nabble.com/help-with-memprof%2C-doesnt-do-anything-%21%21-tf434212.html#a9841968&lt;/a&gt;&lt;br&gt;Sent from the Gnome - Memprof mailing list archive at &lt;a href=&quot;http://Nabble.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Nabble.com&lt;/a&gt;.&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11276412&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;
&lt;/blockquote&gt;&lt;/div&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11276412&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/help-with-memprof%2C-doesnt-do-anything-%21%21-tp1189392p11276412.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11193185</id>
	<title>x86-64 support</title>
	<published>2007-06-19T05:51:33Z</published>
	<updated>2007-06-19T05:51:33Z</updated>
	<author>
		<name>Timo Sirainen</name>
	</author>
	<content type="html">I thought I'd try if memprof worked with x86-64, but looks like it
&lt;br&gt;doesn't. Attached is a patch that fixes the obvious things in case
&lt;br&gt;someone else wants to try to fix it to actually work. There are also
&lt;br&gt;some other fixes for compiler warnings.
&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[memprof-x86-64.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;diff -ru memprof-0.6/bfdutils.c memprof-0.6-64/bfdutils.c
&lt;br&gt;--- memprof-0.6/bfdutils.c	2006-07-28 04:26:41.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/bfdutils.c	2007-06-18 12:37:45.658732218 +0300
&lt;br&gt;@@ -183,7 +183,7 @@
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	unsigned long file_crc = 0;
&lt;br&gt;&amp;nbsp;	int fd;
&lt;br&gt;-	char buffer[8*1024];
&lt;br&gt;+	unsigned char buffer[8*1024];
&lt;br&gt;&amp;nbsp;	int count;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	fd = open (name, O_RDONLY);
&lt;br&gt;diff -ru memprof-0.6/intercept.c memprof-0.6-64/intercept.c
&lt;br&gt;--- memprof-0.6/intercept.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/intercept.c	2007-06-18 12:48:21.709250588 +0300
&lt;br&gt;@@ -346,7 +346,7 @@
&lt;br&gt;&amp;nbsp;	ThreadInfo *thread;
&lt;br&gt;&amp;nbsp;	int old_errno = errno;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (n_frames &amp;lt; 0)
&lt;br&gt;+	if (n_frames &amp;lt; 0 || n_frames &amp;gt; 10000)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;&amp;nbsp;			MI_DEBUG ((&amp;quot;mi_write_stack - elide bogus foo\n&amp;quot;));
&lt;br&gt;&amp;nbsp;			return;
&lt;br&gt;diff -ru memprof-0.6/leakdetect.c memprof-0.6-64/leakdetect.c
&lt;br&gt;--- memprof-0.6/leakdetect.c	2004-09-13 22:01:52.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/leakdetect.c	2007-06-18 12:40:45.169289643 +0300
&lt;br&gt;@@ -57,7 +57,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static gboolean
&lt;br&gt;-read_proc_stat (int pid, char *status, guint *start_stack, guint *end_stack)
&lt;br&gt;+read_proc_stat (int pid, char *status, gsize *start_stack, gsize *end_stack)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	gchar *fname;
&lt;br&gt;&amp;nbsp;	gulong tstart_stack;
&lt;br&gt;@@ -204,7 +204,7 @@
&lt;br&gt;&amp;nbsp;		GList *map_list)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	GList *tmp_list;
&lt;br&gt;-	guint start_stack, end_stack;
&lt;br&gt;+	gsize start_stack, end_stack;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	tmp_list = map_list;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -365,7 +365,7 @@
&lt;br&gt;&amp;nbsp;					 &amp;mem[i]);
&lt;br&gt;&amp;nbsp;		if (errno)
&lt;br&gt;&amp;nbsp;		{
&lt;br&gt;-			g_warning (&amp;quot;Cannot read word %d/%d in block %p: %s\n&amp;quot;,
&lt;br&gt;+			g_warning (&amp;quot;Cannot read word %d/%ld in block %p: %s\n&amp;quot;,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; i, length, block-&amp;gt;addr, g_strerror (errno));
&lt;br&gt;&amp;nbsp;			g_free (addr);
&lt;br&gt;&amp;nbsp;			return block_list;
&lt;br&gt;diff -ru memprof-0.6/memprof.h memprof-0.6-64/memprof.h
&lt;br&gt;--- memprof-0.6/memprof.h	2004-09-11 03:35:19.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/memprof.h	2007-06-18 12:38:27.324093705 +0300
&lt;br&gt;@@ -46,7 +46,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;typedef struct {
&lt;br&gt;&amp;nbsp; &amp;nbsp;/* Initial members of this struct must be identical to that of Symbol */
&lt;br&gt;- &amp;nbsp;guint addr;
&lt;br&gt;+ &amp;nbsp;gsize addr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;guint size;
&lt;br&gt;&amp;nbsp; &amp;nbsp;gchar *name;
&lt;br&gt;&amp;nbsp; &amp;nbsp;bfd *abfd;
&lt;br&gt;@@ -59,7 +59,7 @@
&lt;br&gt;&amp;nbsp;} Map;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;typedef struct {
&lt;br&gt;- &amp;nbsp;guint addr;
&lt;br&gt;+ &amp;nbsp;gsize addr;
&lt;br&gt;&amp;nbsp; &amp;nbsp;guint size;
&lt;br&gt;&amp;nbsp; &amp;nbsp;gchar *name;
&lt;br&gt;&amp;nbsp;} Symbol;
&lt;br&gt;diff -ru memprof-0.6/mi-perfctr.c memprof-0.6-64/mi-perfctr.c
&lt;br&gt;--- memprof-0.6/mi-perfctr.c	2002-09-05 22:16:38.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/mi-perfctr.c	2007-06-18 12:32:30.886001384 +0300
&lt;br&gt;@@ -61,10 +61,14 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.old_ptr = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.new_ptr = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;info.alloc.size = 1;
&lt;br&gt;- &amp;nbsp; &amp;nbsp;
&lt;br&gt;+
&lt;br&gt;+#ifdef __x86_64__
&lt;br&gt;+ &amp;nbsp; &amp;nbsp;mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;rip, (void *)ctx-&amp;gt;rbp, (void *)ctx-&amp;gt;rsp,
&lt;br&gt;+				 &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;+#else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;eip, (void *)ctx-&amp;gt;ebp, (void *)ctx-&amp;gt;esp,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;-
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (ioctl (perfctr_fd, VPERFCTR_IRESUME) &amp;lt; 0)
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;mi_perror (&amp;quot;Error restarting handler interrupt&amp;quot;);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;diff -ru memprof-0.6/process.c memprof-0.6-64/process.c
&lt;br&gt;--- memprof-0.6/process.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/process.c	2007-06-18 12:39:48.143794893 +0300
&lt;br&gt;@@ -176,7 +176,8 @@
&lt;br&gt;&amp;nbsp;	FILE *in;
&lt;br&gt;&amp;nbsp;	gchar perms[26];
&lt;br&gt;&amp;nbsp;	gchar file[256];
&lt;br&gt;-	guint start, end, major, minor, inode;
&lt;br&gt;+	gsize start, end;
&lt;br&gt;+	guint major, minor, inode;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp;	snprintf (buffer, 1023, &amp;quot;/proc/%d/maps&amp;quot;, process-&amp;gt;pid);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -190,7 +191,7 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	while (fgets(buffer, 1023, in)) {
&lt;br&gt;-		int count = sscanf (buffer, &amp;quot;%x-%x %15s %*x %x:%x %u %255s&amp;quot;,
&lt;br&gt;+		int count = sscanf (buffer, &amp;quot;%lx-%lx %15s %*x %x:%x %u %255s&amp;quot;,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp;&amp;start, &amp;end, perms, &amp;major, &amp;minor, &amp;inode, file);
&lt;br&gt;&amp;nbsp;		if (count &amp;gt;= 6)	{
&lt;br&gt;&amp;nbsp;			if (strcmp (perms, &amp;quot;r-xp&amp;quot;) == 0) {
&lt;br&gt;@@ -242,7 +243,7 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static Map *
&lt;br&gt;-real_locate_map (MPProcess *process, guint addr)
&lt;br&gt;+real_locate_map (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	GList *tmp_list = process-&amp;gt;map_list;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -260,8 +261,8 @@
&lt;br&gt;&amp;nbsp;	return NULL;
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-Map *
&lt;br&gt;-locate_map (MPProcess *process, guint addr)
&lt;br&gt;+static Map *
&lt;br&gt;+locate_map (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	Map *map = real_locate_map (process, addr);
&lt;br&gt;&amp;nbsp;	if (!map)
&lt;br&gt;@@ -287,12 +288,12 @@
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;const Symbol *
&lt;br&gt;-process_locate_symbol (MPProcess *process, guint addr)
&lt;br&gt;+process_locate_symbol (MPProcess *process, gsize addr)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	Symbol *data;
&lt;br&gt;&amp;nbsp;	Map *map;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;-	guint first, middle, last;
&lt;br&gt;+	gsize first, middle, last;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	map = locate_map (process, addr);
&lt;br&gt;&amp;nbsp;	if (!map)
&lt;br&gt;@@ -348,7 +349,7 @@
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; const char **filename, char **functionname,
&lt;br&gt;&amp;nbsp;		 &amp;nbsp; unsigned int *line)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;-	Map *map = locate_map (process, (guint)address);
&lt;br&gt;+	Map *map = locate_map (process, (gsize)address);
&lt;br&gt;&amp;nbsp;	if (map) {
&lt;br&gt;&amp;nbsp;		bfd_vma addr = (bfd_vma)address;
&lt;br&gt;&amp;nbsp;		if (map-&amp;gt;do_offset)
&lt;br&gt;@@ -595,7 +596,7 @@
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;gpointer &amp;nbsp; &amp;nbsp; data)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MIInfo info;
&lt;br&gt;-	guint count;
&lt;br&gt;+	gsize count;
&lt;br&gt;&amp;nbsp;	MPProcess *input_process = data;
&lt;br&gt;&amp;nbsp;	MPProcess *process = NULL;
&lt;br&gt;&amp;nbsp; &amp;nbsp;
&lt;br&gt;@@ -933,7 +934,7 @@
&lt;br&gt;&amp;nbsp;	char *fname;
&lt;br&gt;&amp;nbsp;	char *result;
&lt;br&gt;&amp;nbsp;	char *tmp = NULL;
&lt;br&gt;-	int n = 0;
&lt;br&gt;+	size_t n = 0;
&lt;br&gt;&amp;nbsp;	FILE *in = NULL;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (process-&amp;gt;status == MP_PROCESS_DEFUNCT)
&lt;br&gt;diff -ru memprof-0.6/process.h memprof-0.6-64/process.h
&lt;br&gt;--- memprof-0.6/process.h	2003-12-19 01:04:30.000000000 +0200
&lt;br&gt;+++ memprof-0.6-64/process.h	2007-06-18 12:35:08.244366542 +0300
&lt;br&gt;@@ -131,7 +131,7 @@
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; FILE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *out,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; StackElement &amp;nbsp; &amp;nbsp; &amp;nbsp; *stack);
&lt;br&gt;&amp;nbsp;const Symbol *process_locate_symbol (MPProcess &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*process,
&lt;br&gt;-				 &amp;nbsp; &amp;nbsp; guint &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addr);
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; gsize &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; addr);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;char ** &amp;nbsp; &amp;nbsp; process_parse_exec &amp;nbsp; &amp;nbsp; &amp;nbsp;(const char &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; *exec_string);
&lt;br&gt;&amp;nbsp;char * &amp;nbsp; &amp;nbsp; &amp;nbsp;process_find_exec &amp;nbsp; &amp;nbsp; &amp;nbsp; (char &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;**args);
&lt;br&gt;diff -ru memprof-0.6/profile.c memprof-0.6-64/profile.c
&lt;br&gt;--- memprof-0.6/profile.c	2004-01-23 13:22:01.000000000 +0200
&lt;br&gt;+++ memprof-0.6-64/profile.c	2007-06-18 12:41:03.706450472 +0300
&lt;br&gt;@@ -29,7 +29,7 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;for (element = block-&amp;gt;stack; !STACK_ELEMENT_IS_ROOT (element); element = element-&amp;gt;parent)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{
&lt;br&gt;-	const Symbol *symbol = process_locate_symbol (process, (guint)element-&amp;gt;address);
&lt;br&gt;+	const Symbol *symbol = process_locate_symbol (process, (gsize)element-&amp;gt;address);
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	if (symbol &amp;&amp; symbol-&amp;gt;name &amp;&amp; g_hash_table_lookup (skip_hash, symbol-&amp;gt;name))
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;continue;
&lt;br&gt;@@ -54,7 +54,7 @@
&lt;br&gt;&amp;nbsp;	StackElement *element = list-&amp;gt;data;
&lt;br&gt;&amp;nbsp;	ProfileNode *match = NULL;
&lt;br&gt;&amp;nbsp;	const Symbol *symbol =
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;process_locate_symbol (profile-&amp;gt;process, (guint)element-&amp;gt;address);
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;process_locate_symbol (profile-&amp;gt;process, (gsize)element-&amp;gt;address);
&lt;br&gt;&amp;nbsp;	int i;
&lt;br&gt;&amp;nbsp;	
&lt;br&gt;&amp;nbsp;	for (i = 0; i &amp;lt; roots-&amp;gt;len; ++i)
&lt;br&gt;diff -ru memprof-0.6/server.c memprof-0.6-64/server.c
&lt;br&gt;--- memprof-0.6/server.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/server.c	2007-06-18 12:41:21.483604705 +0300
&lt;br&gt;@@ -182,7 +182,7 @@
&lt;br&gt;&amp;nbsp;		g_hash_table_destroy (server-&amp;gt;pid_table);
&lt;br&gt;&amp;nbsp;	close (server-&amp;gt;socket_fd);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	g_slist_remove (socket_paths, server-&amp;gt;socket_path);
&lt;br&gt;+	socket_paths = g_slist_remove (socket_paths, server-&amp;gt;socket_path);
&lt;br&gt;&amp;nbsp;	g_free (server-&amp;gt;socket_path);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;--- memprof-0.6/speedintercept.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/speedintercept.c	2007-06-18 12:54:49.524680864 +0300
&lt;br&gt;@@ -155,13 +155,10 @@
&lt;br&gt;&amp;nbsp;#define SIGHANDLER_FRAMES 2
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;-#if defined (__linux__) &amp;&amp; defined (__i386__)
&lt;br&gt;-sigprof_handler (int unused, struct sigcontext ctx)
&lt;br&gt;-#else
&lt;br&gt;-sigprof_handler (int unused)
&lt;br&gt;-#endif
&lt;br&gt;+sigprof_handler (int unused, siginfo_t *si, ucontext_t *ucontext)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	int saved_errno = errno;
&lt;br&gt;+	struct sigcontext *ctx = (struct sigcontext *)&amp;ucontext-&amp;gt;uc_mcontext;
&lt;br&gt;&amp;nbsp;	MIInfo info;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	info.alloc.operation = MI_TIME;
&lt;br&gt;@@ -169,11 +166,14 @@
&lt;br&gt;&amp;nbsp;	info.alloc.new_ptr = NULL;
&lt;br&gt;&amp;nbsp;	info.alloc.size = 1;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;-#if defined (__linux__) &amp;&amp; defined (__i386__)
&lt;br&gt;-	mi_call_with_signal_backtrace ((void *)ctx.eip, (void *)ctx.ebp, (void *)ctx.esp,
&lt;br&gt;+#ifdef __x86_64__
&lt;br&gt;+	mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;rip, (void *)ctx-&amp;gt;rbp, (void *)ctx-&amp;gt;rsp,
&lt;br&gt;+				 &amp;nbsp; &amp;nbsp; &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;+#elif defined (__i386__)
&lt;br&gt;+	mi_call_with_signal_backtrace ((void *)ctx-&amp;gt;eip, (void *)ctx-&amp;gt;ebp, (void *)ctx-&amp;gt;esp,
&lt;br&gt;&amp;nbsp;				 &amp;nbsp; &amp;nbsp; &amp;nbsp; mi_write_stack, &amp;info);
&lt;br&gt;&amp;nbsp;#else
&lt;br&gt;-	mi_call_with_backtrace (SIGHANDLER_FRAMES, saved_pc, mi_write_stack, &amp;info);
&lt;br&gt;+	mi_call_with_backtrace (SIGHANDLER_FRAMES, mi_write_stack, &amp;info);
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (profile_type == SPEED_PROF_ITIMER)
&lt;br&gt;diff -ru memprof-0.6/stack-frame.c memprof-0.6-64/stack-frame.c
&lt;br&gt;--- memprof-0.6/stack-frame.c	2006-07-28 04:26:10.000000000 +0300
&lt;br&gt;+++ memprof-0.6-64/stack-frame.c	2007-06-18 12:23:38.815385498 +0300
&lt;br&gt;@@ -72,7 +72,7 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#define HAVE_FRAME_ACCESSORS
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-#if defined (__GNUC__) &amp;&amp; defined (__i386__)
&lt;br&gt;+#if defined (__GNUC__)
&lt;br&gt;&amp;nbsp;typedef struct stack_frame_struct stack_frame;
&lt;br&gt;&amp;nbsp;struct stack_frame_struct {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;stack_frame *next;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11193185&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;signature.asc&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/11193185/0/signature.asc&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/x86-64-support-tp11193185p11193185.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9841968</id>
	<title>Re: help with memprof, doesnt do anything !!</title>
	<published>2007-04-04T11:43:26Z</published>
	<updated>2007-04-04T11:43:26Z</updated>
	<author>
		<name>bsreddy</name>
	</author>
	<content type="html">I am facing the same problem.</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/help-with-memprof%2C-doesnt-do-anything-%21%21-tp1189392p9841968.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9459142</id>
	<title>No result at all in v0.6</title>
	<published>2007-03-13T11:13:11Z</published>
	<updated>2007-03-13T11:13:11Z</updated>
	<author>
		<name>Christian Brolin</name>
	</author>
	<content type="html">&lt;table cellpadding=&quot;10&quot; cellspacing=&quot;0&quot;&gt;
&lt;tbody&gt;&lt;tr&gt;
&lt;td&gt;
&lt;tt&gt;Memprof starts with its GUI, but it is completely empty. Nothing happens&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;when I press the Profile and Leak buttons! I have tried with different&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;test programs inclusive testmemprof. However, I noticed some error&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;messages when memprof was starting up: mi_write error &amp;lt;number&amp;gt;. Where&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;number was different for different runs. These messages are printed by&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;the function:&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;&amp;nbsp; int mi_write (int fd, const void *buf, int total)&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;defined in the file memintercept-utils.c:255.&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;I changed this line from:&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp; mi_debug (&amp;quot;mi_write error %d\n&amp;quot;, errno);&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;to:&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp; mi_perror (&amp;quot;mi_write error&amp;quot;);&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;To get better error messages. Now I got something about Bad Address or&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;Broken Pipe and Bad File Descriptor.&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;Then I printed out the total parameter to the above function and I got&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;some eight-nine figures numbers, i.e. it tried to write very large&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;buffers! I tracked these calls to the function:&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;&amp;nbsp; void mi_write_stack (int n_frames, void **frames, void&amp;nbsp; *data)&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;in the file intercept.c:365.&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;It turned out to be some requests to write very large stacks of about 3&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;millions frames! This only occurred early in the run and just a few (5?)&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;times. There is in this function a test to avoid writing stacks with a&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;negative number of frames. I changed this test so it only writes&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;reasonable sized stacks (less than 10000 frames) and now memprof seems&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;to work, at least most of the times. I guess these bad request are a bit&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;random and sometimes they are reasonable sized so they slip through the&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;test, but still bad.&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;Change the first line of:&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp; if (n_frames &amp;lt; 0) {&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; MI_DEBUG ((&amp;quot;mi_write_stack - elide bogus foo\n&amp;quot;));&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return;&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp; }&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;To:&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;&amp;nbsp; if (n_frames &amp;lt; 0 || n_frames&amp;gt;10000) {&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;Maybe this can be some help for others trying to use memprof and&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;hopefully for someone to do a real analysis and fix of the problem. I&amp;#39;m&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;not sure if the results produced, when available, are correct! But at&lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;least the test program seems to give correct results.&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;tt&gt;-- &lt;/tt&gt;&lt;br&gt;
&lt;tt&gt;chb&lt;/tt&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9459142&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/No-result-at-all-in-v0.6-tp9459142p9459142.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-11274082</id>
	<title>No result at all in v0.6</title>
	<published>2007-03-13T11:09:43Z</published>
	<updated>2007-03-13T11:09:43Z</updated>
	<author>
		<name>Christian Brolin-2</name>
	</author>
	<content type="html">Memprof starts with its GUI, but it is completely empty. Nothing happens
&lt;br&gt;when I press the Profile and Leak buttons! I have tried with different
&lt;br&gt;test programs inclusive testmemprof. However, I noticed some error
&lt;br&gt;messages when memprof was starting up: mi_write error &amp;lt;number&amp;gt;. Where
&lt;br&gt;number was different for different runs. These messages are printed by
&lt;br&gt;the function:
&lt;br&gt;&lt;br&gt;&amp;nbsp; int mi_write (int fd, const void *buf, int total)
&lt;br&gt;&lt;br&gt;defined in the file memintercept-utils.c:255.
&lt;br&gt;&lt;br&gt;I changed this line from:
&lt;br&gt;&amp;nbsp; mi_debug (&amp;quot;mi_write error %d\n&amp;quot;, errno);
&lt;br&gt;to:
&lt;br&gt;&amp;nbsp; mi_perror (&amp;quot;mi_write error&amp;quot;);
&lt;br&gt;To get better error messages. Now I got something about Bad Address or
&lt;br&gt;Broken Pipe and Bad File Descriptor.
&lt;br&gt;&lt;br&gt;Then I printed out the total parameter to the above function and I got
&lt;br&gt;some eight-nine figures numbers, i.e. it tried to write very large
&lt;br&gt;buffers! I tracked these calls to the function:
&lt;br&gt;&lt;br&gt;&amp;nbsp; void mi_write_stack (int n_frames, void **frames, void &amp;nbsp;*data)
&lt;br&gt;&lt;br&gt;in the file intercept.c:365.
&lt;br&gt;&lt;br&gt;It turned out to be some requests to write very large stacks of about 3
&lt;br&gt;millions frames! This only occurred early in the run and just a few (5?)
&lt;br&gt;times. There is in this function a test to avoid writing stacks with a
&lt;br&gt;negative number of frames. I changed this test so it only writes
&lt;br&gt;reasonable sized stacks (less than 10000 frames) and now memprof seems
&lt;br&gt;to work, at least most of the times. I guess these bad request are a bit
&lt;br&gt;random and sometimes they are reasonable sized so they slip through the
&lt;br&gt;test, but still bad.
&lt;br&gt;&lt;br&gt;Change the first line of:
&lt;br&gt;&amp;nbsp; if (n_frames &amp;lt; 0) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; MI_DEBUG ((&amp;quot;mi_write_stack - elide bogus foo\n&amp;quot;));
&lt;br&gt;&amp;nbsp; &amp;nbsp; return;
&lt;br&gt;&amp;nbsp; }
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;&amp;nbsp; if (n_frames &amp;lt; 0 || n_frames&amp;gt;10000) {
&lt;br&gt;&lt;br&gt;Maybe this can be some help for others trying to use memprof and
&lt;br&gt;hopefully for someone to do a real analysis and fix of the problem. I'm
&lt;br&gt;not sure if the results produced, when available, are correct! But at
&lt;br&gt;least the test program seems to give correct results.
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;chb
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=11274082&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/No-result-at-all-in-v0.6-tp11274082p11274082.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-7110397</id>
	<title>memprof does not work</title>
	<published>2006-11-01T01:36:34Z</published>
	<updated>2006-11-01T01:36:34Z</updated>
	<author>
		<name>Sabra Gargouri</name>
	</author>
	<content type="html">Hi for everyone,&lt;br&gt; &lt;br&gt; I tried to execute memprof. I installed a memprof-0.5.1-3mdk.i586.rpm knowing that I have a Mandriva 2006. but when i execute it does not work. I have the window of the memprof opened but without any results. So tried once more with installing the memprof-0.5.1.tar.gz but when i execute ./configure i have this erreor:&lt;br&gt; &lt;br&gt; &lt;br&gt; checking for pkg-config... /usr/bin/pkg-config&lt;br&gt; checking for&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gtk+-2.0 &amp;gt;= 2.0.0&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gconf-2.0 &amp;gt;= 1.1.8&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libgnomeui-2.0 &amp;gt;= 1.112.1&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libglade-2.0 &amp;gt;= 1.99.9&lt;br&gt; ... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found&lt;br&gt; configure: error: Library requirements (&lt;br&gt;
 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gtk+-2.0 &amp;gt;= 2.0.0&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gconf-2.0 &amp;gt;= 1.1.8&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libgnomeui-2.0 &amp;gt;= 1.112.1&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libglade-2.0 &amp;gt;= 1.99.9&lt;br&gt; ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.&lt;br&gt; &lt;br&gt; knowing that i have alredy the gtk+2.0 installed&lt;br&gt; &lt;br&gt; How to procede?&lt;br&gt; &lt;br&gt; thanks for your help&lt;br&gt; Sabra&lt;br&gt; &lt;p&gt;&amp;#32;
		&lt;hr size=&quot;1&quot;&gt; 
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! 
Profitez des connaissances, des opinions et des expériences des internautes sur &lt;a href=&quot;http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Yahoo! Questions/Réponses&lt;/a&gt;.&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=7110397&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memprof-does-not-work-tp7110397p7110397.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-6207657</id>
	<title>Can anyone explain these error for me?</title>
	<published>2006-08-09T23:12:01Z</published>
	<updated>2006-08-09T23:12:01Z</updated>
	<author>
		<name>b113669</name>
	</author>
	<content type="html">&lt;br&gt;I run the memprof on the ubuntu. But I get the following message:
&lt;br&gt;&lt;br&gt;(memprof:19618): GnomeUI-WARNING **: While connecting to session manager:
&lt;br&gt;Authentication Rejected, reason : None of the authentication protocols specified
&lt;br&gt;are supported and host-based authentication failed.
&lt;br&gt;memintercept (19625): _MEMPROF_SOCKET = /tmp/memprof.eriBIF
&lt;br&gt;memintercept (19625): New process, operation = NEW, old_pid = 0
&lt;br&gt;&lt;br&gt;Is there anyone can explain that for me? Thanks.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------
&lt;br&gt;This e-mail is sent by CUHK WebMail &lt;a href=&quot;http://webmail.cuhk.edu.hk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://webmail.cuhk.edu.hk&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=6207657&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Can-anyone-explain-these-error-for-me--tp6207657p6207657.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-5697970</id>
	<title>Memprof 0.6</title>
	<published>2006-08-07T17:37:51Z</published>
	<updated>2006-08-07T17:37:51Z</updated>
	<author>
		<name>Soeren Sandmann-2</name>
	</author>
	<content type="html">Main attraction of this release: MemProf now works again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;What is MemProf? 
&lt;br&gt;================ 
&lt;br&gt;&lt;br&gt;MemProf is a tool for profiling memory usage and finding memory leaks.
&lt;br&gt;Its two major features are: 
&lt;br&gt;&lt;br&gt;- It can generate a profile of which functions in your program have
&lt;br&gt;allocated memory, and how much was allocated by each function and by
&lt;br&gt;the
&lt;br&gt;functions it calls. 
&lt;br&gt;&lt;br&gt;- It can scan memory and find memory blocks that you've allocated but
&lt;br&gt;are no longer referenced anywhere. 
&lt;br&gt;&lt;br&gt;MemProf works by pre-loading a library to override the C library's
&lt;br&gt;memory allocation functions and does not require you to recompile your
&lt;br&gt;program. 
&lt;br&gt;&lt;br&gt;One advantage MemProf has over some other similar tools that are
&lt;br&gt;available is that it has a nice GUI frontend and is relatively easy to
&lt;br&gt;use. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;Availability 
&lt;br&gt;============ 
&lt;br&gt;&lt;br&gt;You can download MemProf at: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://ftp.gnome.org/pub/GNOME/sources/memprof/0.6/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://ftp.gnome.org/pub/GNOME/sources/memprof/0.6/&lt;/a&gt;&lt;br&gt;&lt;br&gt;For more information, visit the MemProf website: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnome.org/projects/memprof/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnome.org/projects/memprof/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Overview of changes in MemProf 0.6
&lt;br&gt;==================================
&lt;br&gt;&lt;br&gt;* It works again [Michael Meeks]
&lt;br&gt;* Rewritten profiling module that handles recursion better [Soren Sandmann]
&lt;br&gt;* Display the call tree of functions [Soren]
&lt;br&gt;* Many bug fixes [John Gardiner Myers, Owen Taylor, James Henstridge, Soren]
&lt;br&gt;* New and updated translations:
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - am (Daniel Yacob)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - az (Metin Amiroff)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - be (Dmitry G. Mastrukov)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ca (Jordi Mallach)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - cs (Miloslav Trmac, Stanislav Brabec)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - da (Ole Laursen)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - de (Christian Meyer, Christian Neumair, Frank Arnold,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hendrik Richter)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - el (Kostas Papadimas)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - en_CA (Adam Weinberger)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - en_GB (David Lodge, Gareth Owen)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - es (Francisco Javier F. Serrador, Pablo Gonzalo del Campo)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - fi (Ilkka Tuohela, Christophe Merlet)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - hr (Robert Sedak)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - hu (Andras Timar)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - it (Alessio Frusciante)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ja (Takeshi AIHANA, Yukihiro Nakai)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - lv (Artis Trops)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ml (Guntupalli Karunakar)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ms (Hasbullah Bin Pit)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - nb (Kjartan Maraas)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ne (Pawan Chitrakar)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - nl (Vincent van Adrighem)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - no (Kjartan Maraas)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - pl (Artur Flinta, Zbigniew Chyla)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - pt_BR (Evandro Fernandes Giovanini, Gustavo Maciel Dias
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Vieira, Gustavo Noronha Silva, Raphael Higino)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - pt (Duarte Loreto)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ru (Nickolay V. Shmyrev, Valek Filippov)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - rw (Steve Murphy)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - sk (Marcel Telka, Stanislav Visnovsky)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - sr (Danilo Šegan)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - sv (Christian Rose, Daniel Nylander)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - ta (Abel Cheung, Fatih Demir)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - tr (Baris Cicek)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - uk (Yuriy Syrota)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - vi (Clytie Siddall, Pablo Saratxaga)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - zh_CN (Wang Jian)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; - zh_TW (Abel Cheung, Wei-Lun Chao)
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=5697970&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Memprof-0.6-tp5697970p5697970.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-4190729</id>
	<title>Re: speedprof 'Record' button ...</title>
	<published>2006-05-02T07:02:59Z</published>
	<updated>2006-05-02T07:02:59Z</updated>
	<author>
		<name>John Berthels</name>
	</author>
	<content type="html">On 29/04/06, michael meeks &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=4190729&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.meeks@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What's happened to memprof ? is there any real development ongoing,we
&lt;br&gt;&amp;gt; have a number of outstanding fixes to make stuff work, pwrt. threading
&lt;br&gt;&amp;gt; etc. Is this maintained ? and/or can one tag
&lt;br&gt;&amp;gt; 'last-hope-before-meeks-mangles-it' and commit stuff ? :-)
&lt;br&gt;&lt;br&gt;I don't know. I asked on #gnome-love and people seemed to think it was
&lt;br&gt;effectively unmaintained. Various people (including me) have done
&lt;br&gt;fixups and produced patches which seem to be floating around, some of
&lt;br&gt;which have been posted to this list.
&lt;br&gt;&lt;br&gt;Rasterman did some fixups and has posted a tree:
&lt;br&gt;&lt;a href=&quot;http://www.rasterman.com/index.php?page=Memprof&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rasterman.com/index.php?page=Memprof&lt;/a&gt;&lt;br&gt;(version 0.5.9!?)
&lt;br&gt;&lt;br&gt;&lt;br&gt;I would guess that the GNOME cvs is the primary repository:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://cvs.gnome.org/viewcvs/memprof/?sortby=date#dirlist&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cvs.gnome.org/viewcvs/memprof/?sortby=date#dirlist&lt;/a&gt;&lt;br&gt;&lt;br&gt;It doesn't look as though it has received significant change for 19 months.
&lt;br&gt;&lt;br&gt;When I asked around, I got the impression that people had moved to
&lt;br&gt;other tools (valgrind/massif mainly). If there was demand, I'd be
&lt;br&gt;interested in helping improve/maintain memprof.
&lt;br&gt;&lt;br&gt;There are various interesting things which could be done - e.g. allow
&lt;br&gt;the comms with the traced process to flow over a TCP socket instead of
&lt;br&gt;a Unix domain socket to allow tracing of processes on systems which
&lt;br&gt;can't easily host gtk+ (e.g. embedded systems).
&lt;br&gt;&lt;br&gt;&lt;br&gt;I recall reading somewhere that it suffered more than most programs
&lt;br&gt;from bitrot because of its close relationship with system internals -
&lt;br&gt;perhaps those who have maintained it have written it off for this, or
&lt;br&gt;another, reason.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;jb
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=4190729&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/speedprof-%27Record%27-button-...-tp4158109p4190729.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-4158109</id>
	<title>speedprof 'Record' button ...</title>
	<published>2006-04-29T13:49:36Z</published>
	<updated>2006-04-29T13:49:36Z</updated>
	<author>
		<name>michael meeks</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; When I use speedprof - which (it seems) is perhaps the nicest profiling
&lt;br&gt;tool I've seen for quick &amp; easy profiling of OO.o - having got what I
&lt;br&gt;need, I run the profile &amp; then get increasingly paranoid while thousands
&lt;br&gt;of samples stack up while I analyse the results ;-)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; This (very) simple patch adds a 'Record' button that well - just
&lt;br&gt;stops / starts the event logging process (and hence blocks the remote
&lt;br&gt;app) on the toolbar. It also fixes a crash with the tree view selection
&lt;br&gt;API (changed behavior in the GtkTreeView apprently).
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; What's happened to memprof ? is there any real development ongoing, we
&lt;br&gt;have a number of outstanding fixes to make stuff work, pwrt. threading
&lt;br&gt;etc. Is this maintained ? and/or can one tag
&lt;br&gt;'last-hope-before-meeks-mangles-it' and commit stuff ? :-)
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Thanks,
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Michael. 
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&amp;nbsp;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=4158109&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;michael.meeks@...&lt;/a&gt; &amp;nbsp;&amp;lt;&amp;gt;&amp;lt;, Pseudo Engineer, itinerant idiot
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[memprof.diff]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;Index: main.c
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /cvs/gnome/memprof/main.c,v
&lt;br&gt;retrieving revision 1.36
&lt;br&gt;diff -u -p -u -r1.36 main.c
&lt;br&gt;--- main.c	11 Sep 2004 00:35:19 -0000	1.36
&lt;br&gt;+++ main.c	29 Apr 2006 19:43:50 -0000
&lt;br&gt;@@ -410,7 +410,8 @@ profile_selection_changed (GtkTreeSelect
&lt;br&gt;&amp;nbsp;	GtkSortType old_sort_type;
&lt;br&gt;&amp;nbsp;	gboolean was_sorted;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	gtk_tree_selection_get_selected (selection, (GtkTreeModel **)&amp;store, &amp;selected);
&lt;br&gt;+	if (!gtk_tree_selection_get_selected (selection, (GtkTreeModel **)&amp;store, &amp;selected))
&lt;br&gt;+		return;
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gtk_tree_model_get (GTK_TREE_MODEL (store), &amp;selected,
&lt;br&gt;&amp;nbsp;			 &amp;nbsp; &amp;nbsp;PROFILE_FUNC_FUNC, &amp;func,
&lt;br&gt;@@ -1226,6 +1230,18 @@ reset_profile_cb (GtkWidget *widget)
&lt;br&gt;&amp;nbsp;		process_clear_input (pwin-&amp;gt;process);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+void
&lt;br&gt;+record_button_toggled_cb (GtkWidget *widget)
&lt;br&gt;+{
&lt;br&gt;+	ProcessWindow *pwin = pwin_from_widget (widget);
&lt;br&gt;+
&lt;br&gt;+	if (gtk_toggle_tool_button_get_active
&lt;br&gt;+			(GTK_TOGGLE_TOOL_BUTTON (widget)))
&lt;br&gt;+		process_start_input (pwin-&amp;gt;process);
&lt;br&gt;+	else
&lt;br&gt;+		process_stop_input (pwin-&amp;gt;process);
&lt;br&gt;+}
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;&amp;nbsp;string_view_init (GtkTreeView *tree_view)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;Index: memprof.glade
&lt;br&gt;===================================================================
&lt;br&gt;RCS file: /cvs/gnome/memprof/memprof.glade,v
&lt;br&gt;retrieving revision 1.21
&lt;br&gt;diff -u -p -u -r1.21 memprof.glade
&lt;br&gt;--- memprof.glade	20 Sep 2003 20:33:44 -0000	1.21
&lt;br&gt;+++ memprof.glade	29 Apr 2006 19:43:50 -0000
&lt;br&gt;@@ -326,68 +335,120 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;property name=&amp;quot;stock_pixmap&amp;quot;&amp;gt;gtk-clear&amp;lt;/property&amp;gt;
&lt;br&gt;&amp;nbsp;		 &amp;nbsp;&amp;lt;signal name=&amp;quot;clicked&amp;quot; handler=&amp;quot;reset_profile_cb&amp;quot; last_modification_time=&amp;quot;Sat, 21 Jun 2003 20:02:39 GMT&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp;		&amp;lt;/widget&amp;gt;
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;+
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;child&amp;gt;
&lt;br&gt;+		&amp;lt;widget class=&amp;quot;GtkToggleToolButton&amp;quot; id=&amp;quot;record-button&amp;quot;&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;visible&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;label&amp;quot; translatable=&amp;quot;yes&amp;quot;&amp;gt;Record&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;use_underline&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;stock_id&amp;quot;&amp;gt;gtk-media-record&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;visible_horizontal&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;visible_vertical&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;is_important&amp;quot;&amp;gt;False&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;property name=&amp;quot;active&amp;quot;&amp;gt;True&amp;lt;/property&amp;gt;
&lt;br&gt;+		 &amp;nbsp;&amp;lt;signal name=&amp;quot;toggled&amp;quot; handler=&amp;quot;record_button_toggled_cb&amp;quot; last_modification_time=&amp;quot;Sat, 29 Apr 2006 19:36:29 GMT&amp;quot;/&amp;gt;
&lt;br&gt;+		&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;&amp;lt;/widget&amp;gt;
&lt;br&gt;&amp;nbsp;	 &amp;nbsp;&amp;lt;/child&amp;gt;
&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=4158109&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/speedprof-%27Record%27-button-...-tp4158109p4158109.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-2836609</id>
	<title>how to use memprof in non gui mode</title>
	<published>2006-02-08T20:51:17Z</published>
	<updated>2006-02-08T20:51:17Z</updated>
	<author>
		<name>rama krishna kusanapudi</name>
	</author>
	<content type="html">&lt;div&gt;Hi,&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I want to use memprof in non gui mode,&amp;nbsp;since i dont have xwindows&amp;nbsp;environment ..it is giving&amp;nbsp;gtk warning when i try to run it using command line&amp;nbsp;.. please specify the way to do it ..&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;thanking you,&lt;/div&gt;
&lt;div&gt;Rama krishna&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=2836609&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-use-memprof-in-non-gui-mode-tp2836609p2836609.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-2777554</id>
	<title>Re: how to use memprof 0.5.1 with out gui mode</title>
	<published>2006-02-06T00:43:10Z</published>
	<updated>2006-02-06T00:43:10Z</updated>
	<author>
		<name>John Berthels</name>
	</author>
	<content type="html">On 25/01/06, kusanapudi rama krishna &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=2777554&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;k_rk79@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp;i want to use memprof tool with out the gui mode, how to do that, since
&lt;br&gt;&amp;gt; we are using text console please help me.
&lt;br&gt;&lt;br&gt;I don't know of a way to do that. In theory it should be possible to
&lt;br&gt;write a non-gui client for the memprof intercept lib. (Just as, in
&lt;br&gt;theory, the memprof intercept protocol could go over a network socket
&lt;br&gt;rather than a unix domain socket, to allow &amp;quot;memprof on embedded&amp;quot;).
&lt;br&gt;&lt;br&gt;But are people still using memprof?
&lt;br&gt;&lt;br&gt;It seems many people are now using valgrind with 'massif'. This will
&lt;br&gt;generate a .txt summary file and a postscipt graph, suitable for
&lt;br&gt;viewing offline.
&lt;br&gt;&lt;br&gt;jb
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=2777554&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-use--memprof-0.5.1-with-out-gui-mode-tp2755796p2777554.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-2755796</id>
	<title>how to use  memprof 0.5.1 with out gui mode</title>
	<published>2006-01-25T00:43:02Z</published>
	<updated>2006-01-25T00:43:02Z</updated>
	<author>
		<name>kusanapudi rama krishna</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp;i want to use memprof tool with out the gui mode, how to do that, since 
&lt;br&gt;we are using text console please help me.
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks and regards
&lt;br&gt;ramakrishna
&lt;br&gt;&lt;br&gt;_________________________________________________________________
&lt;br&gt;How good are you in a Formula One car? Play now 
&lt;br&gt;&lt;a href=&quot;http://server1.msn.co.in/sp05/tataracing/onlinegame.asp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://server1.msn.co.in/sp05/tataracing/onlinegame.asp&lt;/a&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=2755796&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/how-to-use--memprof-0.5.1-with-out-gui-mode-tp2755796p2755796.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1936915</id>
	<title>Re: patches for memprof on current glibc</title>
	<published>2005-12-14T01:22:13Z</published>
	<updated>2005-12-14T01:22:13Z</updated>
	<author>
		<name>John Berthels</name>
	</author>
	<content type="html">&amp;gt; hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; iam really interested in a working memprof. this app is really great.
&lt;br&gt;&amp;gt; can you upload the patches/motified version somewhere ? or sent it to me
&lt;br&gt;&amp;gt; or to the list.
&lt;br&gt;&lt;br&gt;OK. This is a &amp;quot;works for me&amp;quot; patch against current GNOME CVS. Also
&lt;br&gt;profiling seems to work if I build against my installed gnome libs
&lt;br&gt;rather than gnome cvs libs. I've not tested multi-threaded or
&lt;br&gt;multi-process scenarios.
&lt;br&gt;&lt;br&gt;&amp;gt;From the changelog:
&lt;br&gt;&lt;br&gt;* Pull in bfdutils.c compilation fix for new binutils from the
&lt;br&gt;ubuntu 5.10/debian patchset (?from Matej Vela)
&lt;br&gt;&lt;br&gt;* Pull in mi_atomic_increment() changes in intercept.c from
&lt;br&gt;Michael Meeks
&lt;br&gt;&lt;br&gt;* Use a dumb 'bozo allocator' during initialisation instead of
&lt;br&gt;returning NULL and force a backtrace during initialisation so we
&lt;br&gt;successfully init backtrace() in new glibc (2.3.5).
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;jb
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1936915&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;memprof.patch.gz&lt;/strong&gt; (2K) &lt;a href=&quot;http://old.nabble.com/attachment/1936915/0/memprof.patch.gz&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patches-for-memprof-on-current-glibc-tp1926681p1936915.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1927812</id>
	<title>Re: patches for memprof on current glibc</title>
	<published>2005-12-13T10:39:17Z</published>
	<updated>2005-12-13T10:39:17Z</updated>
	<author>
		<name>Jochen Baier</name>
	</author>
	<content type="html">John Berthels wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;Hi folks,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;I've been trying to get GNOME cvs memprof building and running on ubuntu 5.10.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;There was a compilation issue with newer binutils (already fixed in
&lt;br&gt;&amp;gt;the ubuntu patchset) and also a problem caused by the fact that
&lt;br&gt;&amp;gt;backtrace() in glibc 2.3.5 calls dlopen(), which calls malloc and
&lt;br&gt;&amp;gt;hence recurses.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;By sticking in a simple-minded malloc for use during startup (and
&lt;br&gt;&amp;gt;forcing initialisation of backtrace() at init time), I can get memprof
&lt;br&gt;&amp;gt;running (with the colour display working) and the 'leaks' button
&lt;br&gt;&amp;gt;working.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;The 'profile' button currently causes a segv (looks like it might be
&lt;br&gt;&amp;gt;gtk_list_store related at the moment) and I haven't tested on anything
&lt;br&gt;&amp;gt;apart from simple single-threaded apps.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;Would patches along these lines be welcome? Sent to this list or the
&lt;br&gt;&amp;gt;current maintainer (I'm afraid I'm not sure who that is). I don't have
&lt;br&gt;&amp;gt;&amp;quot;production quality&amp;quot; patches yet, but I can clean up + post what I
&lt;br&gt;&amp;gt;have if there is any interest.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;regards,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;jb
&lt;br&gt;&amp;gt;_______________________________________________
&lt;br&gt;&amp;gt;memprof-list mailing list
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1927812&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;
&lt;br&gt;&amp;gt;
&lt;/div&gt;hi,
&lt;br&gt;&lt;br&gt;iam really interested in a working memprof. this app is really great.
&lt;br&gt;can you upload the patches/motified version somewhere ? or sent it to me 
&lt;br&gt;or to the list.
&lt;br&gt;&lt;br&gt;&lt;br&gt;thanks for your work, jochen
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1927812&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patches-for-memprof-on-current-glibc-tp1926681p1927812.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1926681</id>
	<title>patches for memprof on current glibc</title>
	<published>2005-12-13T09:35:20Z</published>
	<updated>2005-12-13T09:35:20Z</updated>
	<author>
		<name>John Berthels</name>
	</author>
	<content type="html">Hi folks,
&lt;br&gt;&lt;br&gt;I've been trying to get GNOME cvs memprof building and running on ubuntu 5.10.
&lt;br&gt;&lt;br&gt;There was a compilation issue with newer binutils (already fixed in
&lt;br&gt;the ubuntu patchset) and also a problem caused by the fact that
&lt;br&gt;backtrace() in glibc 2.3.5 calls dlopen(), which calls malloc and
&lt;br&gt;hence recurses.
&lt;br&gt;&lt;br&gt;By sticking in a simple-minded malloc for use during startup (and
&lt;br&gt;forcing initialisation of backtrace() at init time), I can get memprof
&lt;br&gt;running (with the colour display working) and the 'leaks' button
&lt;br&gt;working.
&lt;br&gt;&lt;br&gt;The 'profile' button currently causes a segv (looks like it might be
&lt;br&gt;gtk_list_store related at the moment) and I haven't tested on anything
&lt;br&gt;apart from simple single-threaded apps.
&lt;br&gt;&lt;br&gt;Would patches along these lines be welcome? Sent to this list or the
&lt;br&gt;current maintainer (I'm afraid I'm not sure who that is). I don't have
&lt;br&gt;&amp;quot;production quality&amp;quot; patches yet, but I can clean up + post what I
&lt;br&gt;have if there is any interest.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;&lt;br&gt;jb
&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1926681&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/patches-for-memprof-on-current-glibc-tp1926681p1926681.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-1335127</id>
	<title>memprof</title>
	<published>2005-11-03T03:21:39Z</published>
	<updated>2005-11-03T03:21:39Z</updated>
	<author>
		<name>Tres Melton</name>
	</author>
	<content type="html">I was just reading random stuff on the net and ended up seeing something
&lt;br&gt;that Owen Taylor wrote 14 Jun 2005 11:33:54 -0400:
&lt;br&gt;&lt;br&gt;Otherwise, you can just go ahead and commit. Memprof hasn't been working
&lt;br&gt;in recent quick tests I've done even for single threaded apps, but I
&lt;br&gt;haven't had time to try and figure out why. I think it's libc changes,
&lt;br&gt;as usual.
&lt;br&gt;&lt;br&gt;I started this quest (and you might be interested in) here:
&lt;br&gt;&lt;a href=&quot;http://www.rasterman.com/index.php?page=Memprof&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.rasterman.com/index.php?page=Memprof&lt;/a&gt;&lt;br&gt;&lt;br&gt;Where Raster said &amp;quot;(Hey - I'm just fixing it to work for me)&amp;quot; and goes
&lt;br&gt;on to note various libc changes.
&lt;br&gt;&lt;br&gt;Just thought you might be interested...cheers,
&lt;br&gt;-- 
&lt;br&gt;Tres Melton
&lt;br&gt;IRC &amp; Gentoo: RiverRat
&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;memprof-list mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=1335127&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;memprof-list@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://mail.gnome.org/mailman/listinfo/memprof-list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://mail.gnome.org/mailman/listinfo/memprof-list&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/memprof-tp1335127p1335127.html" />
</entry>

</feed>
