A new lockstat command (v1.4.10) is now available, replacing v1.4.9 of the
command, with a one-line fix to a bug in handling multiple symbol names for
a common virtual address, as found in the System.map or module name files.
http://oss.sgi.com/projects/lockmeter/download/lockstat-1.4.10.tar.gz
--- symbols.c.old Tue Jul 31 07:53:36 2001
+++ symbols.c Fri Oct 12 11:06:12 2001
@@ -113,8 +113,7 @@
} else if (func_addr == namespace[numNamespaceEntries-1].addr) {
/* duplicates the last entry; use this latter sym name
*/
- namespace[numNamespaceEntries-1].name
- = namespace[numNamespaceEntries].name;
+ strcpy(namespace[numNamespaceEntries-1].name,
func_name);
} else {
/*
* This address preceeds the previous last address, so
insert.
(Contributed by Jun'ichi Nomura (j-nomura@xxxxxxxxxxxxx)
John Hawkes
hawkes@xxxxxxx
|