Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Thomas Rast
Andrew Clinton ajcli...@gmail.com writes:

 I've been working on a new valgrind tool and graphical front end for
 visualizing memory traces and graphically representing program address
 space.  It's becoming fairly complete - so I thought I'd post here to see
 if any valgrind users/developers are interested in testing.  The source is
 hosted on github:

 https://github.com/ajclinto/memview

Thanks a lot!  This is great fun to watch!

I suppose to make actual use of it, I would need ways to slow
down/pause/rewind execution of the trace, but even so it makes for good
entertainment :-)

-- 
Thomas Rast
trast@{inf,student}.ethz.ch

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Andrew Clinton
Slow down / pause is something that's planned.  Rewind is difficult since
this would require actually logging the trace data (currently it's
transient), which would take up a huge amount of space - though this may be
useful for short-lived programs.



On Thu, Apr 11, 2013 at 5:49 AM, Thomas Rast tr...@student.ethz.ch wrote:

 Andrew Clinton ajcli...@gmail.com writes:

  I've been working on a new valgrind tool and graphical front end for
  visualizing memory traces and graphically representing program address
  space.  It's becoming fairly complete - so I thought I'd post here to see
  if any valgrind users/developers are interested in testing.  The source
 is
  hosted on github:
 
  https://github.com/ajclinto/memview

 Thanks a lot!  This is great fun to watch!

 I suppose to make actual use of it, I would need ways to slow
 down/pause/rewind execution of the trace, but even so it makes for good
 entertainment :-)

 --
 Thomas Rast
 trast@{inf,student}.ethz.ch

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Dave Goodell
On Apr 11, 2013, at 9:00 AM CDT, Andrew Clinton ajcli...@gmail.com wrote:

 Slow down / pause is something that's planned.  Rewind is difficult since 
 this would require actually logging the trace data (currently it's 
 transient), which would take up a huge amount of space - though this may be 
 useful for short-lived programs.

You could use client requests or some other mechanism to allow user programs to 
place calipers around a particular region of the code that are deemed 
interesting.  Then you would only need to track current state (no tracing) 
until the measured region begins and you could stop emitting trace data as soon 
as the region ends.

-Dave


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread paulf
- Original Message -
 
 Slow down / pause is something that's planned. Rewind is difficult
 since this would require actually logging the trace data (currently
 it's transient), which would take up a huge amount of space - though
 this may be useful for short-lived programs.

Hi

Is it possible to turn logging on and off (either internally or externally)?

Would it be possible to detect patterns of activity (e.g. from loops) and store 
only the X most common patterns?

A+
Paul

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-11 Thread Andrew Clinton
For logging, perhaps a record button that would record up to some fixed
cache size and then auto-pause the program. To continue, the cache would
need to be cleared.

Data mining the trace is a great idea, a simple use case I was considering
was to detect data stride / structure size to better layout arrays of
structures.



On Thu, Apr 11, 2013 at 10:16 AM, pa...@free.fr wrote:

 - Original Message -
 
  Slow down / pause is something that's planned. Rewind is difficult
  since this would require actually logging the trace data (currently
  it's transient), which would take up a huge amount of space - though
  this may be useful for short-lived programs.

 Hi

 Is it possible to turn logging on and off (either internally or
 externally)?

 Would it be possible to detect patterns of activity (e.g. from loops) and
 store only the X most common patterns?

 A+
 Paul


 --
 Precog is a next-generation analytics platform capable of advanced
 analytics on semi-structured data. The platform includes APIs for building
 apps and a phenomenal toolset for data science. Developers can use
 our toolset for easy data analysis  visualization. Get a free account!
 http://www2.precog.com/precogplatform/slashdotnewsletter
 ___
 Valgrind-users mailing list
 Valgrind-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/valgrind-users

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users


Re: [Valgrind-users] Visualizing memory traces using valgrind

2013-04-10 Thread John Reiser
On 04/09/2013 09:42 PM, Andrew Clinton wrote:
 I've been working on a new valgrind tool and graphical front end for 
 visualizing memory traces and graphically representing program address space.

Welcome to the club.

John F Reiser, Static Initializers: Reducing the Value-Added Tax on Programs,
USENIX C++ Technical Conference Proceedings, Portland, Oregon, August 10-13, 
1992,
p171-180.  ISBN 1-880446-45-6.

-- 


--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users