Created
December 9, 2014 19:24
-
-
Save postwait/7c9372685a7126c8ce49 to your computer and use it in GitHub Desktop.
diff usr/src/cmd/mdb/common/modules/libumem/umem.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- umem.c Wed Nov 27 16:09:41 2013 | |
+++ /var/tmp/umem.c Tue Dec 9 19:22:36 2014 | |
@@ -2363,7 +2363,7 @@ | |
else | |
mdb_printf("%3d", i); | |
- mdb_printf(" %0?p %0?p %16llx %0?p\n", addr, b->bc_addr, | |
+ mdb_printf(" %0?p %0?p %16llx %0?l#r\n", addr, b->bc_addr, | |
b->bc_timestamp, b->bc_thread); | |
return (WALK_NEXT); | |
@@ -2618,7 +2618,7 @@ | |
if (verbose) { | |
mdb_printf( | |
- "%<b>%16p%</b> %16p %16llx %16d\n" | |
+ "%<b>%16p%</b> %16p %16llx %16l#r\n" | |
"%16s %16p %16p %16p\n", | |
addr, bcp->bc_addr, bcp->bc_timestamp, bcp->bc_thread, | |
"", bcp->bc_cache, bcp->bc_lastlog, bcp->bc_contents); | |
@@ -2629,7 +2629,7 @@ | |
mdb_dec_indent(17); | |
mdb_printf("\n"); | |
} else { | |
- mdb_printf("%0?p %0?p %12llx %5d", addr, bcp->bc_addr, | |
+ mdb_printf("%0?p %0?p %12llx %5l#r", addr, bcp->bc_addr, | |
bcp->bc_timestamp, bcp->bc_thread); | |
for (i = 0; i < depth; i++) { | |
@@ -3448,7 +3448,7 @@ | |
if (no_debug) | |
return (DCMD_OK); | |
- mdb_printf("%16s %4s %16d %16llx\n", | |
+ mdb_printf("%16s %4s %16l#r %16llx\n", | |
"", "", vs.vs_thread, vs.vs_timestamp); | |
mdb_inc_indent(17); | |
@@ -3725,7 +3725,7 @@ | |
int i, depth = MIN(bcp->bc_depth, umem_stack_depth); | |
const umem_cache_t *cp = umu->umu_cache; | |
- mdb_printf("size %d, addr %p, thread %p, cache %s\n", | |
+ mdb_printf("size %d, addr %p, thread %l#r, cache %s\n", | |
cp->cache_bufsize, addr, bcp->bc_thread, cp->cache_name); | |
for (i = 0; i < depth; i++) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment