|
From: <gup...@ne...> - 2010-06-07 17:29:13
|
Josef, Thank you very much for your response. I saw that the function new_dumpfile(..) generates a file descriptor that is used by the function my_write(..) to write to the current output file. If I were to replace the line fd = (Int) sr_Res(res); with fd = VG_(connect_via_socket)(log_fsname_unexpanded) then would all subequent writes be to the network socket instead? Thanks in anticipation. SVG ---------- Original Message ---------- From: Josef Weidendorfer <Jos...@gm...> To: val...@li... Cc: "gup...@ne..." <gup...@ne...> Subject: Re: [Valgrind-developers] Need to change where Valgrind writes logs for callgrind Date: Mon, 7 Jun 2010 18:34:47 +0200 On Monday 07 June 2010, gup...@ne... wrote: > I am using callgrind on hardware with very small disk space. I'd like to know where should I begin making changes so that the callgrind logs (basic blocks, function before, function after) are written to a network socket instead of a log-file. Could someone be of help? I suppose you would need to replace the VG_(open) calls in callgrind/dump.c into something opening a socket. For that, you can check how the --log-socket option is implemented. Josef > > SVG > > ____________________________________________________________ > Project Management > 100% Online. Project Management certificate from Villanova. Free info. > http://thirdpartyoffers.netzero.net/TGL3241/4c0cff6029c7223d6eest04vuc > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Valgrind-developers mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-developers > ____________________________________________________________ Get Free Email with Video Mail & Video Chat! http://www.netzero.net/freeemail?refcd=NZTAGOUT1FREM0210 |