Changeset: e5fc6643697a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e5fc6643697a
Modified Files:
        clients/mapiclient/stethoscope.c
Branch: default
Log Message:

Dot files need both function and pc for correlation.


diffs (17 lines):

diff --git a/clients/mapiclient/stethoscope.c b/clients/mapiclient/stethoscope.c
--- a/clients/mapiclient/stethoscope.c
+++ b/clients/mapiclient/stethoscope.c
@@ -410,9 +410,11 @@ main(int argc, char **argv)
        } else
                k= setCounter("TtesDSI");
 
-       /* DOT needs PC */
-       if( profileCounter[32].status )
+       /* DOT needs function id and PC to correlate */
+       if( profileCounter[32].status ) {
+               profileCounter[3].status= k++;
                profileCounter[4].status= k;
+       }
 
        if (user == NULL || password == NULL) {
                fprintf(stderr, "%s: need -u and -P arguments\n", argv[0]);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to