From 58351b5023c2d87c22e21a27fd238212040dab8b Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Wed, 25 Mar 2009 15:11:30 +0000 Subject: trace: Number calls. --- src/gallium/drivers/trace/tr_dump.c | 10 +++++++++- src/gallium/drivers/trace/trace.xsl | 3 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/trace/tr_dump.c b/src/gallium/drivers/trace/tr_dump.c index 5fb020538ee..97872be784d 100644 --- a/src/gallium/drivers/trace/tr_dump.c +++ b/src/gallium/drivers/trace/tr_dump.c @@ -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(""); trace_dump_newline(); } diff --git a/src/gallium/drivers/trace/trace.xsl b/src/gallium/drivers/trace/trace.xsl index 9cd621e7ab9..7be95e0e753 100644 --- a/src/gallium/drivers/trace/trace.xsl +++ b/src/gallium/drivers/trace/trace.xsl @@ -68,6 +68,9 @@ along with this program. If not, see .
  • + + + :: -- cgit v1.2.3