Hey, > Anyways, if you can encapsulate what you've done in a patch, we'd all > appreciate it.
Here is no magic involved. As I mentioned, I just added calls to the two functions. I did not add runtime options or any fancy stuff. However, if you prefer a patch, you will get one :-) --- pfmon-3.5/pfmon/pfmon_task.c 2008-07-30 23:38:23.000000000 +0200 +++ ../pfmon-3.5/pfmon/pfmon_task.c 2008-09-24 09:44:17.000000000 +0200 @@ -1564,6 +1564,8 @@ tid = sdesc->tid; pfmon_stop(sdesc->ctxid, &error); + read_incremental_results(sdesc); + show_incr_results(sdesc, 0); vbprintf("[%d] stopping monitoring at trigger stop\n", tid); return 0; } [..] > > > On the first glance this seems to do what I want. Any objections? :-) > Did I miss anything? > > > > > If that works for you, I am fine with it. You can modify your copy of > > pfmon anyway you like. @Stephane: Actually the question was more like: Do I break the code in a way I do not understand, or do you think this is valid. However, I assume it's valid, because no one had an objection .... yet :-) Ciao Marc -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel