mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
trace: Number calls.
This commit is contained in:
parent
710bcc8050
commit
58351b5023
2 changed files with 12 additions and 1 deletions
|
|
@ -265,8 +265,16 @@ void trace_dump_trace_end(void)
|
|||
|
||||
void trace_dump_call_begin(const char *klass, const char *method)
|
||||
{
|
||||
static long unsigned no = 0;
|
||||
++no;
|
||||
trace_dump_indent(1);
|
||||
trace_dump_tag_begin2("call", "class", klass, "method", method);
|
||||
trace_dump_writes("<call no=\'");
|
||||
trace_dump_writef("%lu", no);
|
||||
trace_dump_writes("\' class =\'");
|
||||
trace_dump_escape(klass);
|
||||
trace_dump_writes("\' method=\'");
|
||||
trace_dump_escape(method);
|
||||
trace_dump_writes("\'>");
|
||||
trace_dump_newline();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -68,6 +68,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
<xsl:template match="call">
|
||||
<li>
|
||||
<xsl:attribute name="value">
|
||||
<xsl:apply-templates select="@no"/>
|
||||
</xsl:attribute>
|
||||
<span class="fun">
|
||||
<xsl:value-of select="@class"/>
|
||||
<xsl:text>::</xsl:text>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue