diff --git a/tools/smaps_show/src/main.rs b/tools/smaps_show/src/main.rs index 62cde785c..75260868f 100644 --- a/tools/smaps_show/src/main.rs +++ b/tools/smaps_show/src/main.rs @@ -121,7 +121,7 @@ fn print_smaps_verbose(infos: Vec) { ("Size", "d"), ("Rss", "d"), ("Pss", "d"), - ("Shared\nClean","d"), + ("Shared\nClean", "d"), ("Shared\nDirty", "d"), ("Private\nClean","d"), ("Private\nDirty","d"), @@ -131,7 +131,8 @@ fn print_smaps_verbose(infos: Vec) { let info_keys = vec![ ("Start", ""), ("End", ""), - ("Name", ""), + ("Perm", ""), + ("Name", "") ]; print_smaps_core(infos, &value_keys, &info_keys); }