Index: generic/nsfAPI.h =================================================================== diff -u -N -rf31c1a01c6a389f693b8db0f2204cbb46180fef1 -r55c89d7890cc910efd0909b70b074ebf896ce55f --- generic/nsfAPI.h (.../nsfAPI.h) (revision f31c1a01c6a389f693b8db0f2204cbb46180fef1) +++ generic/nsfAPI.h (.../nsfAPI.h) (revision 55c89d7890cc910efd0909b70b074ebf896ce55f) @@ -646,7 +646,7 @@ NSF_nonnull(1); static int NsfProfileGetDataStub(Tcl_Interp *interp) NSF_nonnull(1); -static int NsfProfileTraceStub(Tcl_Interp *interp, int withEnable, int withVerbose) +static int NsfProfileTraceStub(Tcl_Interp *interp, int withEnable, int withVerbose, int withDontsave) NSF_nonnull(1); static int NsfRelationGetCmd(Tcl_Interp *interp, NsfObject *object, int type) NSF_nonnull(1) NSF_nonnull(2); @@ -2300,9 +2300,10 @@ &pc) == TCL_OK)) { int withEnable = (int )PTR2INT(pc.clientData[0]); int withVerbose = (int )PTR2INT(pc.clientData[1]); + int withDontsave = (int )PTR2INT(pc.clientData[2]); assert(pc.status == 0); - return NsfProfileTraceStub(interp, withEnable, withVerbose); + return NsfProfileTraceStub(interp, withEnable, withVerbose, withDontsave); } else { @@ -3735,9 +3736,10 @@ {"::nsf::__profile_get", NsfProfileGetDataStubStub, 0, { {NULL, 0, 0, NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}} }, -{"::nsf::__profile_trace", NsfProfileTraceStubStub, 2, { +{"::nsf::__profile_trace", NsfProfileTraceStubStub, 3, { {"-enable", NSF_ARG_REQUIRED, 1, Nsf_ConvertTo_Boolean, NULL,NULL,"boolean",NULL,NULL,NULL,NULL,NULL}, - {"-verbose", 0, 1, Nsf_ConvertTo_Boolean, NULL,NULL,"boolean",NULL,NULL,NULL,NULL,NULL}} + {"-verbose", 0, 1, Nsf_ConvertTo_Boolean, NULL,NULL,"boolean",NULL,NULL,NULL,NULL,NULL}, + {"-dontsave", 0, 1, Nsf_ConvertTo_Boolean, NULL,NULL,"boolean",NULL,NULL,NULL,NULL,NULL}} }, {"::nsf::relation::get", NsfRelationGetCmdStub, 2, { {"object", NSF_ARG_REQUIRED, 1, Nsf_ConvertTo_Object, NULL,NULL,"object",NULL,NULL,NULL,NULL,NULL},