Commit e77a16f4 authored by Hisham Muhammad's avatar Hisham Muhammad
Browse files

Linux: proper sorting of CMAJFILT and CMINFILT

parent a4985354
......@@ -525,6 +525,10 @@ long LinuxProcess_compare(const void* v1, const void* v2) {
}
long long diff;
switch ((int)settings->ss->sortKey) {
case CMAJFLT:
return (p2->cmajflt - p1->cmajflt);
case CMINFLT:
return (p2->cminflt - p1->cminflt);
case M_DRS:
return (p2->m_drs - p1->m_drs);
case M_DT:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment