From a9a29a17bcb1c58b5ad72cd6538a1f17490a1bc2 Mon Sep 17 00:00:00 2001
From: Kevin Pouget <kevin.pouget@imag.fr>
Date: Wed, 18 Jan 2017 14:49:52 +0100
Subject: [PATCH] change the fault count to major, instead of minor

---
 model/profiling/info/proc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/model/profiling/info/proc.py b/model/profiling/info/proc.py
index 8a25252..eea372b 100644
--- a/model/profiling/info/proc.py
+++ b/model/profiling/info/proc.py
@@ -108,7 +108,7 @@ class proc_stat_info(proc_info):
     def __init__(self):
         proc_info.__init__(self)
         self.filename = "/proc/{}/stat"
-        self.results = {"utime":0, "stime":0, "min_flt":0}
+        self.results = {"utime":0, "stime":0, "maj_flt":0}
         
     def parse(self):
         KEYS = ["pid", "tcomm", "state", "ppid", "pgid", "sid",
-- 
GitLab