Don't include the ':' in smaps keys.

Regenerate the hashtable.
This commit is contained in:
Benoit Dejean
2015-07-20 23:42:23 +02:00
committed by Benoît Dejean
parent 45c8452140
commit d3a247a60f
3 changed files with 60 additions and 62 deletions

View File

@@ -98,7 +98,7 @@ parse_smaps(glibtop_map_entry *entry, const char* line)
if ((colon = is_smap_value(line)) == NULL)
return FALSE;
len = colon - line + 1;
len = colon - line;
smap = _glibtop_find_smap(line, len);
// g_debug("smap %s -> %p", line, smap);