diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2013-06-18 23:21:11 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-19 18:03:34 +0100 |
commit | 3a06eb6f530f2c4bad073ce8bd58e0e0157255fc (patch) | |
tree | a01c14dc076825860533fb42ba5652e7a0837f10 /meta/recipes-extended/procps/procps_3.2.8.bb | |
parent | 590010a6525b0e1bc1de73e794764e23404591df (diff) | |
download | poky-3a06eb6f530f2c4bad073ce8bd58e0e0157255fc.tar.gz |
procps: fix that top will quit after cpu offline
top utiliy fails to read /proc/stat after cpu offline, because Cpu_tot
is still the original cpu numbers when calling cpus_refresh, in which
it is trying to read and sscanf Cpu_tot times /proc/stat.
The patch is from procps-3.2.8-2.fc12.src.rpm
(From OE-Core rev: f24aed8d7e41cce277c6eff4ff5ab07b8e39ffff)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/procps/procps_3.2.8.bb')
-rw-r--r-- | meta/recipes-extended/procps/procps_3.2.8.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/procps/procps_3.2.8.bb b/meta/recipes-extended/procps/procps_3.2.8.bb index 7533859518..8436d4ace4 100644 --- a/meta/recipes-extended/procps/procps_3.2.8.bb +++ b/meta/recipes-extended/procps/procps_3.2.8.bb | |||
@@ -9,6 +9,7 @@ SRC_URI += "file://procmodule.patch \ | |||
9 | file://procps-3.2.8+gmake-3.82.patch \ | 9 | file://procps-3.2.8+gmake-3.82.patch \ |
10 | file://gnu-kbsd-version.patch \ | 10 | file://gnu-kbsd-version.patch \ |
11 | file://60_linux_version_init.patch \ | 11 | file://60_linux_version_init.patch \ |
12 | file://procps-3.2.7-top-remcpu.patch \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" | 15 | SRC_URI[md5sum] = "9532714b6846013ca9898984ba4cd7e0" |