r4293 - branches/2.0/varnish-cache/bin/varnishtop
tfheen at projects.linpro.no
tfheen at projects.linpro.no
Thu Oct 8 13:49:01 CEST 2009
Author: tfheen
Date: 2009-10-08 13:49:01 +0200 (Thu, 08 Oct 2009)
New Revision: 4293
Modified:
branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c
Log:
Merge r4131: Add the tag to run once mode
Previously, we did not print out the tag in -1 mode, just the value.
This has been changed so we now print both.
Modified: branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c 2009-10-08 11:44:18 UTC (rev 4292)
+++ branches/2.0/varnish-cache/bin/varnishtop/varnishtop.c 2009-10-08 11:49:01 UTC (rev 4293)
@@ -268,7 +268,7 @@
if (tp->count <= 1.0)
break;
len = SHMLOG_LEN(tp->rec);
- printf("%9.2f %*.*s\n", tp->count, len, len, tp->rec + SHMLOG_DATA);
+ printf("%9.2f %s %*.*s\n", tp->count, VSL_tags[tp->rec[SHMLOG_TAG]], len, len, tp->rec + SHMLOG_DATA);
}
}
More information about the varnish-commit
mailing list