Skip to content
Tcl Source Code Attachment Details
Login

Attachment Details

Overview

Artifact ID: d2a810e90ee2a68d78635dad9e26070953014cff
Ticket: cd82cec7ce46a55af099b32b798398a78a505ef4
Date: 2014-08-02 00:20:51
User: mi
Artifact Attached: 1016e6076d3e1ac56961df32ea07fa5074aab3d9
Filename:tclXprofile.diff
Description:This patch converts the TclX profiling code to usage of Tcl_{G,S}etCommandInfoFromToken instead of manipulating the data-structures directly. With it, all but two of the TclX' profile tests pass (cleanly under valgrind). There are no crashes. The two tests, that fail, do so because ::error is no longer being profiled. I think, that's acceptable. If this patch is alright in your opinion, I'll try to have it committed into TclX tree. The offered profiling may not be complete, but it retains the functionality people may be used to... Thank you.
Content:
(file is 0 bytes of binary data)