From: <wenzong.fan@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 0/1] procps: fix that top will quit after cpu offline
Date: Tue, 18 Jun 2013 23:21:10 -0400 [thread overview]
Message-ID: <cover.1371611649.git.wenzong.fan@windriver.com> (raw)
From: Wenzong Fan <wenzong.fan@windriver.com>
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
The following changes since commit 590010a6525b0e1bc1de73e794764e23404591df:
core-image-weston: add weston-examples to the image (2013-06-18 17:33:17 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/procps
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/procps
Wenzong Fan (1):
procps: fix that top will quit after cpu offline
.../procps-3.2.8/procps-3.2.7-top-remcpu.patch | 111 ++++++++++++++++++++
meta/recipes-extended/procps/procps_3.2.8.bb | 1 +
2 files changed, 112 insertions(+)
create mode 100644 meta/recipes-extended/procps/procps-3.2.8/procps-3.2.7-top-remcpu.patch
--
1.7.9.5
next reply other threads:[~2013-06-19 3:21 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-19 3:21 wenzong.fan [this message]
2013-06-19 3:21 ` [PATCH 1/1] procps: fix that top will quit after cpu offline wenzong.fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1371611649.git.wenzong.fan@windriver.com \
--to=wenzong.fan@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox